1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 14:31:06 +02:00
Andrea Faulds 61538ebadc Fixed bug #75097 (gethostname fails if your host name is 64 chars long)
PHP contained two different off-by-one errors, which are fixed here. First,
it created a buffer of size HOST_NAME_MAX, not adding space for a null
terminator. Second, it subtracted 1 from the size of that buffer when passing
its size to gethostname(), despite gethostname() expecting it to be a buffer
size including space for a terminating null byte, not a string length.
2017-08-19 20:31:54 +01:00
2017-01-06 16:18:24 +00:00
2017-08-15 09:33:30 +02:00
2017-01-04 11:14:55 -06:00
2017-08-02 11:59:41 -04:00
2017-07-24 17:23:57 +01:00
2015-12-05 22:48:29 +01:00
2017-04-15 18:19:33 +02:00
2017-08-19 00:31:04 +02:00
2017-08-02 08:35:27 +01:00
2016-09-05 14:22:13 +02:00
2017-01-18 21:19:48 +01:00
2015-01-17 18:26:45 +01:00
2016-09-11 13:26:30 +02:00
2017-06-22 14:01:18 +01:00
2014-12-04 17:56:20 +00:00
2017-08-15 09:33:30 +02:00
2017-01-04 11:14:55 -06:00
2016-04-05 12:13:38 +02:00
2017-01-04 11:14:55 -06:00
2009-11-23 21:53:30 +00:00
2017-02-22 06:47:23 +00:00
2015-01-29 14:24:20 +08:00
2015-07-29 10:05:19 +02:00
MFH
2008-01-17 14:38:16 +00:00
2016-12-17 00:13:01 +01:00
2014-06-05 17:45:22 +02:00
2017-01-17 20:33:25 +00:00
2015-02-07 10:35:52 -06:00
2017-01-07 12:43:56 +01:00
2016-08-11 08:08:26 +09:00

The PHP Interpreter

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

Build Status 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 BSD-3-Clause 912 MiB
Languages
C 66.1%
PHP 31.2%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%