|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-05-10 12:18 UTC] scottmac@php.net
[2007-05-10 13:17 UTC] scottmac@php.net
[2007-05-18 01:00 UTC] php-bugs at lists dot php dot net
[2007-05-23 13:49 UTC] spheroid@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 15:00:01 2025 UTC |
Description: ------------ checkdnsrr() should return FALSE on error, but it segfaults if host argument is an empty string. Reproduce code: --------------- php -r 'var_dump(checkdnsrr("", "A"));' Expected result: ---------------- bool(false) Actual result: -------------- zsh: bus error php -r 'var_dump(checkdnsrr("", "A"));' --- (gdb) run -r 'var_dump(checkdnsrr("", "A"));' Starting program: /usr/local/bin/php -r 'var_dump(checkdnsrr("", "A"));' Reading symbols for shared libraries .+++..+++++..++++.. done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x901174ed in res_send ()