[fpc-pascal] Bug 37080 -- StrToHostAddr accepts all Pascal number notations
Joost van der Sluis
joost at cnoc.nl
Mon May 18 23:24:47 CEST 2020
Op 15-05-2020 om 12:48 schreef Michael Van Canneyt:
> On Fri, 15 May 2020, Noel Duffy via fpc-pascal wrote:
>> As a consequence, StrToHostAddr will happily parse addresses like these:
>>
>> 0xa.3.4.5
>> 9.$c.4.5
>> %1111.%11001110.30.4
>> &7.&5.30.4
>> 12.+4.1.1
>
> Fixed.
Ahh.. why.. 😢
An ip-address of 0xa.&5.%11001110.3 is just funny. 😀
Regards,
Joost.
More information about the fpc-pascal
mailing list