mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 03:42:01 +02:00
Debugger: fixed range check in watch expression parsing
This commit is contained in:
parent
8d4b429879
commit
ec1e775ac1
@ -697,6 +697,8 @@ begin
|
|||||||
|
|
||||||
while (l > 0) and (Result[l] in [' ', #9])
|
while (l > 0) and (Result[l] in [' ', #9])
|
||||||
do dec(l);
|
do dec(l);
|
||||||
|
if l <= 0 then
|
||||||
|
exit;
|
||||||
|
|
||||||
if Result[l] <> '}' then
|
if Result[l] <> '}' then
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user