Browse Source

* some security check added

pierre 24 năm trước cách đây
mục cha
commit
4b384ec92e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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;