mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 23:21:57 +02:00
* fixed bug in xsdTryParseBoolean (segfault on null string)
git-svn-id: trunk@14215 -
This commit is contained in:
parent
671f8a1d30
commit
6941020524
@ -882,6 +882,9 @@ var
|
||||
P: PChar;
|
||||
Num: QWord;
|
||||
begin
|
||||
if not Assigned(Chars) then
|
||||
Exit(False);
|
||||
|
||||
if Len < 0 then
|
||||
begin
|
||||
P := PChar(Chars);
|
||||
|
Loading…
Reference in New Issue
Block a user