php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65923 ext/socket assumes AI_V4MAPPED is defined
Submitted: 2013-10-17 09:06 UTC Modified: 2013-11-03 11:49 UTC
From: taca at back-street dot net Assigned: felipe (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.5.4 OS: NetBSD 6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 + 35 = ?
Subscribe to this entry?

 
 [2013-10-17 09:06 UTC] taca at back-street dot net
Description:
------------
php_set_inet6_addr() in ext/sockets/sockaddr_conv.c, it always assumes AI_V4MAPPED is defined but it isn't true.

Build php 5.5.4 on NetBSD 6.1 cause this problem and below file is a workaround.

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/php55/patches/patch-ext_sockets_sockaddr__conv.c

Best way is checking AI_V4MAPPED is defined or not at configure phase.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-03 11:49 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: felipe
 [2013-11-30 13:40 UTC] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=78f69a2b4f368058e9798c7ef1f733e783bfd220
Log: - Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined)
 [2013-11-30 13:40 UTC] felipe@php.net
-Status: Assigned +Status: Closed
 [2013-11-30 13:42 UTC] felipe@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=78f69a2b4f368058e9798c7ef1f733e783bfd220
Log: - Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined)
 [2013-12-01 11:32 UTC] ab@php.net
Automatic comment on behalf of felipensp@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=78f69a2b4f368058e9798c7ef1f733e783bfd220
Log: - Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC