1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Gustavo Lopes e2744f1aa3 socket: fix bug #65260 (SCM_RIGHTS)
The data for messages of type SOL_SOCKET/SCM_RIGHTS was not being
passed correctly. There were actually two bugs: (1) the number of file
descriptors being passed was being read incorrectly (the length of the
cmsg array was being read instead of that of its 'data' element), as a
result it was generally being reported as always three elements
('level', 'type' and 'data') and (2) the allocated block for writing
the file descriptors was being acessed incorrectly because a 1-based
counter was being used as if it was 0-based.

Any of these two bugs would probably be enough to cause heap
corruption.
2013-07-15 23:57:49 +02:00
2013-07-15 00:23:03 -07:00
2013-07-15 23:57:49 +02:00
2013-07-15 17:35:29 +02:00
2013-06-16 18:13:49 -07:00
2010-04-26 23:53:30 +00:00
2013-07-15 00:23:03 -07:00
2013-07-15 00:23:03 -07:00
2013-07-15 00:23:03 -07:00
2012-08-26 17:46:01 +02:00
2013-01-01 16:37:09 +08:00
2013-07-15 00:23:03 -07:00
2012-10-02 00:02:08 +08:00
2013-07-15 00:18:57 -07:00
2013-02-26 14:35:47 +01:00
2013-06-19 22:11:52 +02:00
2013-05-21 13:27:45 +02:00
2013-01-01 16:37:09 +08:00
2012-03-20 11:14:59 +01:00
2009-11-23 21:53:30 +00:00
2008-06-19 17:59:35 +00:00
MFH
2008-01-17 14:38:16 +00:00
2012-06-03 18:49:47 +02:00
2013-06-10 14:30:59 -07:00
2013-06-10 14:30:59 -07:00
2009-07-13 16:10:29 +00:00
2013-07-01 16:48:18 -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 http://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.

S
Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme BSD-3-Clause 969 MiB
Languages
C 66.1%
PHP 31.2%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%