[uClibc 0001468]: Couple more bugs in gethostbyname() (patch attached)
bugs at busybox.net
bugs at busybox.net
Tue Aug 21 04:03:13 PDT 2007
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1468
======================================================================
Reported By: vvv
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 1468
Category: Networking Support
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 08-21-2007 04:03 PDT
Last Modified: 08-21-2007 04:03 PDT
======================================================================
Summary: Couple more bugs in gethostbyname() (patch attached)
Description:
The following bugs have been observed in gethostbyname():
1. gethostbyname() fails if DNS server returns more than 23 addresses
(reported by me as 0001361)
2. gethostbyname() fails if the response from DNS server is truncated
(i.e. the full response would contain more than 512 bytes). Such situation
existed for a couple days for vpn.corbina.net - DNS was returning 29
addresses.
3. The h_aliases[0] field of struct hostent points to a corrupted buffer
(the buffer is always overwritten by h_addr_list[0]).
The attached patch fixes the issue for uClibc-0.9.29. Note: this patch
makes my fixes of 0001361 redundant.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
08-21-07 04:03 vvv New Issue
08-21-07 04:03 vvv Status new => assigned
08-21-07 04:03 vvv Assigned To => uClibc
08-21-07 04:03 vvv File Added: resolv.patch
======================================================================
More information about the uClibc-cvs
mailing list