summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.h
diff options
context:
space:
mode:
authorMichael Orlitzky <michael@orlitzky.com>2015-11-09 10:49:10 -0500
committerNikita Popov <nikic@php.net>2016-03-03 17:12:57 +0100
commit08fce8e2c5de358b9552adf94302f0f798a48d89 (patch)
tree185511ecd3e1beea40860d030296308982f95673 /sapi/cli/php_http_parser.h
parentbdd578fcbbd0d75f76a2775dea8c8db1cc47b1f5 (diff)
downloadphp-git-08fce8e2c5de358b9552adf94302f0f798a48d89.tar.gz
ext/standard/config.m4: fix crypt() test segfaults in >=glibc-2.17.
Starting with glibc-2.17, the crypt() function will report an EINVAL and return NULL when the format of the "salt" parameter is invalid. The current tests for crypt() pass its result to strcmp(), causing segfaults when the value returned from crypt() is NULL. This commit modifies the test programs to exit with failure when crypt() returns NULL. Reference: https://bugs.gentoo.org/show_bug.cgi?id=518964
Diffstat (limited to 'sapi/cli/php_http_parser.h')
0 files changed, 0 insertions, 0 deletions