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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: taca at back-street dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Apr 01 03:01:29 2025 UTC