[389-devel] Please review: [389 Project] #307: htmladmin keeps segfaulting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/307

https://fedorahosted.org/389/attachment/ticket/307/0001-Trac-Ticket-307-htmladmin-keeps-segfaulting.patch

Fix Description:
 PR_GetHostByName was used to get PRHostEnt in htmladmin, but it
 was called only when the first character of host was not digit.
 The direct cause of the crash was the PRHostEnt variable to fill
 in in PR_GetHostByName was not initialized, thus if the hostname
 started with digit, the uninitialized, garbage address in the
 variable was accessed, which crashed htmladmin.

 This patch removes the hostname check and replaces PR_GetHostByName
 with PR_GetAddrInfoByName to support IPv6 environment.  Also, to
 support numerical address, PR_StringToNetAddr is added before
 trying PR_GetAddrInfoByName.

 Another cgi statpingserv has the same coding style.  It is being
 fixed, too.

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel



[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux