mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-02 22:39:26 +01:00
* ppudump: Deref index -1 is valid for absolute symbols. Handle this.
git-svn-id: trunk@26270 -
This commit is contained in:
parent
90b8e051cb
commit
bc14407ffe
@ -936,6 +936,11 @@ begin
|
||||
exit;
|
||||
first:=true;
|
||||
idx:=ppufile.getlongint;
|
||||
if idx = -1 then
|
||||
begin
|
||||
writeln('Nil');
|
||||
exit;
|
||||
end;
|
||||
if (idx>derefdatalen) then
|
||||
begin
|
||||
WriteError('!! Error: Deref idx '+IntToStr(idx)+' > '+IntToStr(derefdatalen));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user