[uClibc 0000669]: gethostbyaddr null pointer in he->h_aliases

bugs at busybox.net bugs at busybox.net
Tue Jan 31 03:04:37 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=669 
====================================================================== 
Reported By:                rfelker
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   669
Category:                   Math Library
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             01-30-2006 19:04 PST
Last Modified:              01-30-2006 19:04 PST
====================================================================== 
Summary:                    gethostbyaddr null pointer in he->h_aliases
Description: 
uClibc puts a null pointer in he->h_aliases on gethostbyaddr. POSIX is
unclear on what should be done, but since the he->h_aliases list is
supposed to be null-terminated it seems that he->h_aliases itself
should not be a null pointer.

Other implementations seem to put a zero-length list of pointers.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-30-06 19:04  rfelker        New Issue                                    
01-30-06 19:04  rfelker        Status                   new => assigned     
01-30-06 19:04  rfelker        Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list