Go to file
Christoph M. Becker 7f3bdda29b Properly fix #80220
The original fix for that bug[1] broke the formerly working composition
of message/rfc822 messages, which results in a segfault when freeing
the message body now.  While `imap_mail_compose()` does not really
support composition of meaningful message/rfc822 messages (although
libc-client appears to support that), some code may still use this to
compose partial messages, and using string manipulation to create the
final message.

The point is that libc-client expects `TYPEMESSAGE` with an explicit
subtype of `RFC822` to have a `nested.msg` (otherwise there will be a
segfault during free), but not to have any `contents.text.data` (this
will leak otherwise).

[1] <http://git.php.net/?p=php-src.git;a=commit;h=0d022ddf03c5fabaaa22e486d1e4a367ed9170a7>

Closes GH-6343.
2020-10-20 13:32:53 +02:00
appveyor Merge branch 'PHP-7.2' into PHP-7.3 2019-05-31 20:50:17 +02:00
build Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
ext Properly fix #80220 2020-10-20 13:32:53 +02:00
main 7.3.25 is next 2020-10-13 09:52:46 +02:00
pear Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
sapi Make sure string is NUL byte terminated. 2020-08-10 19:11:03 -04:00
scripts Merge branch 'PHP-7.2' into PHP-7.3 2018-10-19 00:10:22 +02:00
tests Do not decode cookie names anymore 2020-09-28 21:43:11 -07:00
travis set -ex on travis/compile.sh 2020-08-03 14:48:00 +02:00
TSRM Fix #79566: Private SHM is not private on Windows 2020-05-05 11:38:29 +02:00
win32 Fix #79884: PHP_CONFIG_FILE_PATH is meaningless 2020-07-23 15:39:22 +02:00
Zend 7.3.25 is next 2020-10-13 09:52:46 +02:00
.appveyor.yml Merge branch 'PHP-7.2' into PHP-7.3 2019-08-27 13:35:05 +02:00
.editorconfig Extend wildcard files section in EditorConfig [ci skip] 2019-06-09 22:53:58 +02:00
.gdbinit Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
.gitattributes Remove Git ident attribute from the iconv extension 2018-06-16 12:49:55 +02:00
.gitignore Merge branch 'PHP-7.2' into PHP-7.3 2018-10-19 00:10:22 +02:00
.travis.yml Add a dl() test to Travis 2019-04-18 12:57:54 +02:00
acinclude.m4 Fix -Wimplicit-function-declaration in configure 2020-10-05 10:43:58 +02:00
buildconf Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
buildconf.bat Fix #79146: cscript can fail to run on some systems 2020-01-21 11:53:11 +01:00
CODING_STANDARDS Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
config.guess Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
config.sub Fix #76137: config.guess/config.sub do not recognize RISC-V 2018-05-25 15:20:25 +02:00
configure.ac 7.3.25 is next 2020-10-13 09:52:46 +02:00
CONTRIBUTING.md PHP 7.1 is the new hotness 2018-01-06 21:12:12 +01:00
CREDITS Update http to https 2018-06-25 08:31:32 +02:00
EXTENSIONS List me in the openssl maintainers 2019-01-17 20:04:44 +00:00
footer Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
genfiles Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
header Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
INSTALL Update http to https 2018-06-25 08:31:32 +02:00
LICENSE Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
ltmain.sh
makedist Merge branch 'PHP-7.2' into PHP-7.3 2018-10-20 09:54:00 +02:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
Makefile.gcov Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
Makefile.global Merge branch 'PHP-7.2' into PHP-7.3 2019-03-20 11:55:06 +01:00
NEWS Properly fix #80220 2020-10-20 13:32:53 +02:00
php7.spec.in
php.gif
php.ini-development Clarify session.cookie_samesite="None" 2020-03-18 15:59:30 +01:00
php.ini-production Clarify session.cookie_samesite="None" 2020-03-18 15:59:30 +01:00
README.EXT_SKEL Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.GIT-RULES Update README.GIT-RULES 2018-02-08 17:52:51 +01:00
README.input_filter Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.MAILINGLIST_RULES
README.md Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.NEW-OUTPUT-API Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.PARAMETER_PARSING_API Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.REDIST.BINS Update README.REDIST.BINS 2018-06-02 18:58:46 +02:00
README.RELEASE_PROCESS Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.SELF-CONTAINED-EXTENSIONS Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
README.STREAMS Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.SUBMITTING_PATCH Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
README.TESTING Fix SKIPIF section 2018-02-08 17:18:26 +01:00
README.UNIX-BUILD-SYSTEM
README.WIN32-BUILD-SYSTEM Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
run-tests.php Put Xdebug 3 into 'off' mode for run-tests.php 2020-05-18 13:49:12 +01:00
server-tests-config.php Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
server-tests.php Fix typos in code 2018-07-27 16:27:41 +02:00
snapshot
stamp-h.in
UPGRADING [ci skip] Fix version 2020-09-29 12:10:51 +02:00
UPGRADING.INTERNALS Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
vcsclean Support "git worktree" 2016-08-11 08:08:26 +09:00

The PHP Interpreter

This is the github mirror of the official PHP repository located at https://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 mailing list 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 https://git.php.net.

Guidelines for contributors