Explorar o código

* some security check added

pierre %!s(int64=24) %!d(string=hai) anos
pai
achega
4b384ec92e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      ide/woahelp.pas

+ 1 - 0
ide/woahelp.pas

@@ -268,6 +268,7 @@ type pword = ^word;
 begin
   if IndexTableRead then OK:=true else
  begin
+  FillChar(R, SizeOf(R), 0);
   LastTag:=''; CurPtr:=0;
   OK:=(IndexTablePos<>0);
   if OK then begin F^.Seek(IndexTablePos); OK:=F^.Status=stOK; end;