1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 00:53:30 +02:00
Michael Orlitzky 08fce8e2c5 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
2016-03-03 17:12:57 +01:00
2010-04-26 23:53:30 +00:00
2016-03-03 16:35:45 +01:00
2016-01-11 20:37:46 +01:00
2016-02-02 09:02:12 +01:00
2014-11-23 17:14:32 -08:00
2013-02-26 14:35:47 +01:00
2016-02-18 01:26:18 +01:00
2014-10-08 21:48:44 +04:00
2009-11-23 21:53:30 +00:00
2014-01-21 13:25:23 -08:00
2004-02-08 22:49:47 +00:00
2016-03-01 22:42:16 -08:00
2015-07-29 10:02:39 +02:00
MFH
2008-01-17 14:38:16 +00:00
2013-10-27 16:40:37 -07:00
2014-06-05 17:45:22 +02:00
2014-08-17 15:44:02 +03:00
2014-06-08 19:27:58 -07:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at http://git.php.net.

Build Status

Pull Requests

PHP accepts pull requests via github. Discussions are done on github, but depending on the topic can also be relayed to the official PHP developer mailinglist internals@lists.php.net.

New features require an RFC and must be accepted by the developers. See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more information on the process.

Bug fixes do not require an RFC, but require a bugtracker ticket. Always open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

After removing magic quotes, the get_magic_quotes_gpc function caused
a deprecate warning. get_magic_quotes_gpc can be used to detected
the magic_quotes behavior and therefore should not raise a warning at any
time. The patch removes this warning

We do not merge pull requests directly on github. All PRs will be pulled and pushed through http://git.php.net.

Guidelines for contributors

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme 989 MiB
Languages
C 66%
PHP 31.3%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%