mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 05:21:27 +02:00
FpDebug: PascalParser, missing nil check
This commit is contained in:
parent
8f683d316c
commit
7e274a48e7
@ -5990,6 +5990,7 @@ begin
|
||||
end;
|
||||
|
||||
tmp := Items[0].ResultValue;
|
||||
if (tmp = nil) then exit;
|
||||
ff := tmp.FieldFlags;
|
||||
if (ff * [svfBoolean] <> []) then b := tmp.AsBool
|
||||
else if (ff * [svfCardinal, svfOrdinal] <> []) then b := tmp.AsCardinal <> 0
|
||||
|
Loading…
Reference in New Issue
Block a user