[fpc-pascal] StrToHostAddr in sockets unit accepts negative octets
Michael Van Canneyt
michael at freepascal.org
Mon Apr 20 09:20:00 CEST 2020
On Sun, 19 Apr 2020, Karoly Balogh (Charlie/SGR) wrote:
> On Sun, 19 Apr 2020, Michael Van Canneyt wrote:
>> > The StrToHostAddr function in the sockets unit accepts negative octets
>> > in the source ip address. Consider this program:
>> This should indeed be ckecked.
>> Please report this in the bugtracker, so we don't forget to look at it!
> I have already fixed it, with a simplistic fix, I think. Committed as SVN
Patch looks good indeed.
More information about the fpc-pascal