Browse Source

* some security check added

pierre 24 years ago
parent
commit
4b384ec92e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ide/woahelp.pas

+ 1 - 0
ide/woahelp.pas

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