mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 00:19:19 +02:00
parent
0d87df71a9
commit
437aab34de
@ -266,7 +266,7 @@ begin
|
||||
// Extract the port number
|
||||
|
||||
i := LastDelimiter(':@', Authority);
|
||||
if (i > 0) and (Authority[i] = ':') then
|
||||
if (i > 0) and (i < Length(Authority)) and (Authority[i] = ':') then
|
||||
begin
|
||||
PortValid := true;
|
||||
for j:=i+1 to Length(Authority) do
|
||||
|
Loading…
Reference in New Issue
Block a user