mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 16:29:31 +02:00
* TXMLConfig.ResetKey: Don't access memory beyond allocated array length, resolves #20098.
git-svn-id: trunk@18913 -
This commit is contained in:
parent
4b24a58871
commit
3ad7552fc4
@ -431,7 +431,7 @@ procedure TXMLConfig.ResetKey;
|
|||||||
var
|
var
|
||||||
I: Integer;
|
I: Integer;
|
||||||
begin
|
begin
|
||||||
for I := Length(FPathStack) downto 0 do
|
for I := Length(FPathStack)-1 downto 0 do
|
||||||
FPathStack[I] := '';
|
FPathStack[I] := '';
|
||||||
FElement := nil;
|
FElement := nil;
|
||||||
FPathDirty := False;
|
FPathDirty := False;
|
||||||
|
Loading…
Reference in New Issue
Block a user