[Python-bugs-list] [ python-Bugs-669859 ] socket.inet_aton() succeeds on invalid input
SourceForge.net
noreply@sourceforge.net
Fri, 17 Jan 2003 09:49:26 -0800
Bugs item #669859, was opened at 2003-01-17 09:49
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=669859&group_id=5470
Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt Beaumont (mbeaumon)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket.inet_aton() succeeds on invalid input
Initial Comment:
Given a string such as "5.6.7", inet_aton() returns
'\x05\x06\x00\x07'. In C (using libraries installed
with RedHat 7.2), the equivalent call returns 0,
indicating that the address is invalid.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=669859&group_id=5470