From:             [EMAIL PROTECTED]
Operating system: Linux RedHat 7.0
PHP version:      4.0.4pl1
PHP Bug Type:     Network related
Bug description:  gethostbyaddr returns a 15 chars string IP when an error occurs

gethostbyaddr returns the original IP when an error occurs, but this string is always 
15 chars long. This means that if the original IP was shorter than that, garbage will 
appear at the end of the line. I've temporarily fixed it by passing an IP with 15 
blanks added to its end.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to