mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 15:42:31 +02:00
* some security check added
This commit is contained in:
parent
60dc4bf0a9
commit
4b384ec92e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user