mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 23:30:29 +02:00
* Patch from Andrey Zubarev to fix uninitialized result in EncodeURLElement (Bug ID 32409)
git-svn-id: trunk@37196 -
This commit is contained in:
parent
0fae0cb389
commit
ea1677f244
@ -383,6 +383,7 @@ var
|
||||
P : PChar;
|
||||
c: AnsiChar;
|
||||
begin
|
||||
result:='';
|
||||
l:=Length(S);
|
||||
If (l=0) then Exit;
|
||||
SetLength(Result,l*3);
|
||||
|
Loading…
Reference in New Issue
Block a user