--- parser3/src/classes/hash.C 2003/04/03 10:48:24 1.54.2.13.2.14 +++ parser3/src/classes/hash.C 2003/07/24 11:31:20 1.57 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_HASH_C="$Date: 2003/04/03 10:48:24 $"; +static const char* IDENT_HASH_C="$Date: 2003/07/24 11:31:20 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -82,7 +82,7 @@ public: try { String& cell=*new String; if(length) - cell.append_help_length(ptr, length, String::L_TAINTED); + cell.append_know_length(ptr, length, String::L_TAINTED); if(column_index==0) { VHash* row_vhash=new VHash; row_hash=&row_vhash->hash(); @@ -307,7 +307,7 @@ static void one_foreach_cycle( info->r->write_pass_lang(sv_processed); } static void _foreach(Request& r, MethodParams& params) { - Foreach_info info; + Foreach_info info={0}; info.r=&r; info.key_var_name=¶ms.as_string(0, "key-var name must be string"); info.value_var_name=¶ms.as_string(1, "value-var name must be string");