]> granicus.if.org Git - php/log
php
10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Wed, 19 Mar 2014 06:24:09 +0000 (23:24 -0700)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  prep for 5.4.27 rc1

Conflicts:
configure.in
main/php_version.h

10 years agoprep for 5.4.27 rc1
Stanislav Malyshev [Wed, 19 Mar 2014 06:14:18 +0000 (23:14 -0700)]
prep for 5.4.27 rc1

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Derick Rethans [Tue, 18 Mar 2014 14:48:56 +0000 (14:48 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years ago- Updated to version 2014.1 (2014a)
Derick Rethans [Tue, 18 Mar 2014 14:48:55 +0000 (14:48 +0000)]
- Updated to version 2014.1 (2014a)

10 years agoAdd a test
Andrey Hristov [Tue, 18 Mar 2014 13:42:38 +0000 (15:42 +0200)]
Add a test

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Mateusz Kocielski [Tue, 18 Mar 2014 07:57:30 +0000 (08:57 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed off-by-one in php_url_parse_ex

10 years agoMerge branch 'PHP-5.3' into PHP-5.4
Mateusz Kocielski [Tue, 18 Mar 2014 07:54:57 +0000 (08:54 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed off-by-one in php_url_parse_ex

Conflicts:
ext/standard/url.c

10 years agoFixed off-by-one in php_url_parse_ex
Mateusz Kocielski [Tue, 18 Mar 2014 07:48:41 +0000 (08:48 +0100)]
Fixed off-by-one in php_url_parse_ex

Change order of condition, previously pointer could be derefrenced before
bound check was done.

10 years agoFix bug #66873: check if obj->src is set
Stanislav Malyshev [Mon, 17 Mar 2014 08:17:09 +0000 (01:17 -0700)]
Fix bug #66873: check if obj->src is set

10 years agoNEWS
Remi Collet [Fri, 14 Mar 2014 08:52:37 +0000 (09:52 +0100)]
NEWS

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Fri, 14 Mar 2014 08:52:02 +0000 (09:52 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  Fixed Bug #66833 Default digest algo is still MD5

10 years agoNEWS
Remi Collet [Fri, 14 Mar 2014 08:51:53 +0000 (09:51 +0100)]
NEWS

10 years agoFixed Bug #66833 Default digest algo is still MD5
Remi Collet [Fri, 14 Mar 2014 08:50:15 +0000 (09:50 +0100)]
Fixed Bug #66833 Default digest algo is still MD5

Switch to SHA1, which match internal openssl hardcoded algo.

In most case, won't even be noticed
- priority on user input (default_md)
- fallback on system config
- fallback on this default value

Recent system reject MD5 digest, noticed in bug36732.phpt failure.

While SHA1 is better than MD5, SHA256 is recommenced,
and defined as default algo in provided configuration on
recent system (Fedora 21, RHEL-7, ...). But the idea is to
keep in sync with openssl internal value for PHP internal value.

10 years agoFix 5.5.10 NEWS
David Zülke [Thu, 13 Mar 2014 15:51:44 +0000 (16:51 +0100)]
Fix 5.5.10 NEWS

The FPM change didn't make it into 5.5.10 but will instead be in 5.5.11; http://php.net/Changelog-5.php, the release and the NEWS file in the release accurately reflect this, but the 5.5 branch NEWS doesn't (as the release was made and tagged from the last RC, which didn't contain that change yet).

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Lior Kaplan [Thu, 13 Mar 2014 10:40:14 +0000 (12:40 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Typo fix: sicret -> secret

10 years agoTypo fix: sicret -> secret
Michael Meyer [Thu, 13 Mar 2014 10:37:25 +0000 (12:37 +0200)]
Typo fix: sicret -> secret

10 years agoupdated libs_version.txt
Anatol Belski [Thu, 13 Mar 2014 09:28:04 +0000 (10:28 +0100)]
updated libs_version.txt

10 years agomade libgd recognize the 9 version series
Anatol Belski [Wed, 12 Mar 2014 18:30:27 +0000 (19:30 +0100)]
made libgd recognize the 9 version series

10 years agoNEWS
Remi Collet [Wed, 12 Mar 2014 16:13:24 +0000 (17:13 +0100)]
NEWS

10 years agoFix bug #66887 imagescale - poor quality of scaled image
Remi Collet [Wed, 12 Mar 2014 16:10:51 +0000 (17:10 +0100)]
Fix bug  #66887 imagescale - poor quality of scaled image

Issue with signed char overflow.

Upstream fix:
https://bitbucket.org/libgd/gd-libgd/commits/4b86e06937bc5ff116be969137f8da9d1a7869d5

10 years agoFixed Bug #66893i imagescale ignore method argument
Remi Collet [Wed, 12 Mar 2014 14:33:41 +0000 (15:33 +0100)]
Fixed Bug #66893i imagescale ignore method argument

We also have our goto fail; bug.

Upstream fix for libgd
https://bitbucket.org/libgd/gd-libgd/commits/5b42b1178c37ffd30c9a15733058656be0277da0

10 years agoFix hash_pbkdf2() with missing $length argument
Nikita Popov [Wed, 12 Mar 2014 13:09:34 +0000 (14:09 +0100)]
Fix hash_pbkdf2() with missing $length argument

Also change the type of some string length variables to ensure
that the zpp call works correctly on platforms where sizeof(int)
!= sizeof(long).

10 years agotypo in NEWS
Remi Collet [Wed, 12 Mar 2014 13:08:02 +0000 (14:08 +0100)]
typo in NEWS

10 years agoNEWS
Remi Collet [Wed, 12 Mar 2014 12:46:29 +0000 (13:46 +0100)]
NEWS

10 years agoFixed Bug #66890 imagescale segfault
Remi Collet [Wed, 12 Mar 2014 12:44:58 +0000 (13:44 +0100)]
Fixed Bug #66890 imagescale segfault

zend_parse_parameters "l" expect long, not int

10 years agoFix compile error with theoretically supported versions of libcurl < 7.12.3.
Adam Harvey [Tue, 11 Mar 2014 18:04:26 +0000 (11:04 -0700)]
Fix compile error with theoretically supported versions of libcurl < 7.12.3.

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Tjerk Meesters [Tue, 11 Mar 2014 11:14:43 +0000 (19:14 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoRemoved bogus loops
Tjerk Meesters [Tue, 11 Mar 2014 09:52:20 +0000 (17:52 +0800)]
Removed bogus loops

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 11 Mar 2014 10:51:35 +0000 (11:51 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  restored the old code in 5.4/5 related to bug #66872

10 years agorestored the old code in 5.4/5 related to bug #66872
Anatol Belski [Tue, 11 Mar 2014 10:50:14 +0000 (11:50 +0100)]
restored the old code in 5.4/5 related to bug #66872

The crash is reproducable in 5.6+ only, so 5.4 and 5.5 are fine
with the old code.

10 years agoMerge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
Christopher Jones [Mon, 10 Mar 2014 23:46:40 +0000 (16:46 -0700)]
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5

# By Pierre Joye (7) and Anatol Belski (1)
# Via Pierre Joye (7) and Anatol Belski (1)
* 'PHP-5.5' of https://git.php.net/repository/php-src:
  updated libsqlite to 3.8.3.1 in 5.5 branch, too
  update NEWS
  fix #66872, invalid argument crashes gmp_testbit
  fix #66872, invalid argument crashes gmp_testbit
  update news
  - fix #66869, Invalid 2nd argument crashes imageaffinematrixget
  add vc12 (2013)
  add vc12 (2013)

10 years agoMerge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
Christopher Jones [Mon, 10 Mar 2014 23:46:39 +0000 (16:46 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4

# By Pierre Joye
# Via Pierre Joye
* 'PHP-5.4' of https://git.php.net/repository/php-src:
  fix #66872, invalid argument crashes gmp_testbit
  fix #66872, invalid argument crashes gmp_testbit
  add vc12 (2013)

10 years agoupdated libsqlite to 3.8.3.1 in 5.5 branch, too
Anatol Belski [Mon, 10 Mar 2014 16:49:35 +0000 (17:49 +0100)]
updated libsqlite to 3.8.3.1 in 5.5 branch, too

10 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Pierre Joye [Mon, 10 Mar 2014 15:31:09 +0000 (16:31 +0100)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

# By Anatol Belski
# Via Anatol Belski
* 'PHP-5.4' of git.php.net:php-src:
  updated libmagic.patch

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Pierre Joye [Mon, 10 Mar 2014 15:30:05 +0000 (16:30 +0100)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

# By Anatol Belski (1) and others
# Via Anatol Belski
* 'PHP-5.5' of git.php.net:php-src:
  updated libmagic.patch
  Fix indentation
  Do not remove *.1, it's not generated by make but configure

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Mon, 10 Mar 2014 13:13:15 +0000 (14:13 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  updated libmagic.patch

10 years agoupdated libmagic.patch
Anatol Belski [Mon, 10 Mar 2014 13:12:20 +0000 (14:12 +0100)]
updated libmagic.patch

10 years agoupdate NEWS
Pierre Joye [Mon, 10 Mar 2014 11:12:46 +0000 (12:12 +0100)]
update NEWS

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Pierre Joye [Mon, 10 Mar 2014 11:10:57 +0000 (12:10 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix #66872, invalid argument crashes gmp_testbit
  fix #66872, invalid argument crashes gmp_testbit
  add vc12 (2013)

Conflicts:
win32/build/confutils.js

10 years agofix #66872, invalid argument crashes gmp_testbit
Pierre Joye [Mon, 10 Mar 2014 11:07:58 +0000 (12:07 +0100)]
fix #66872, invalid argument crashes gmp_testbit

10 years agofix #66872, invalid argument crashes gmp_testbit
Pierre Joye [Mon, 10 Mar 2014 11:06:40 +0000 (12:06 +0100)]
fix #66872, invalid argument crashes gmp_testbit

10 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Pierre Joye [Mon, 10 Mar 2014 11:04:04 +0000 (12:04 +0100)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

# By Dmitry Panin (1) and Remi Collet (1)
# Via Nikita Popov
* 'PHP-5.4' of git.php.net:php-src:
  Fix HTML entity table generation
  Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.

10 years agoFix indentation
Andrey Hristov [Mon, 10 Mar 2014 10:52:56 +0000 (12:52 +0200)]
Fix indentation

10 years agoDo not remove *.1, it's not generated by make but configure
Xinchen Hui [Mon, 10 Mar 2014 07:54:20 +0000 (15:54 +0800)]
Do not remove *.1, it's not generated by make but configure

10 years agoupdate news
Pierre Joye [Sun, 9 Mar 2014 20:13:15 +0000 (21:13 +0100)]
update news

10 years ago- fix #66869, Invalid 2nd argument crashes imageaffinematrixget
Pierre Joye [Sun, 9 Mar 2014 20:12:19 +0000 (21:12 +0100)]
- fix #66869, Invalid 2nd argument crashes imageaffinematrixget

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Pierre Joye [Sun, 9 Mar 2014 20:11:19 +0000 (21:11 +0100)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

# By Remi Collet (6) and others
# Via Nikita Popov (1) and others
* 'PHP-5.5' of git.php.net:php-src:
  Fixed null termination
  Updated NEWS for #65545
  Add fread(length) method
  Fix HTML entity table generation
  Fix order in NEWS
  Add CVE ref (not known at release time)
  Fix NEWS for 5.5.11 fix (really not in 5.5.10)
  5.5.10 release date for NEWS
  Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.
  NEWS
  Fixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327

10 years agoFixed null termination
Tjerk Meesters [Fri, 7 Mar 2014 11:23:46 +0000 (19:23 +0800)]
Fixed null termination

10 years agoUpdated NEWS for #65545
Tjerk Meesters [Fri, 7 Mar 2014 10:51:16 +0000 (18:51 +0800)]
Updated NEWS for #65545

10 years agoAdd fread(length) method
datibbaw [Wed, 12 Feb 2014 06:06:29 +0000 (14:06 +0800)]
Add fread(length) method

Fixed off-by-one write bug

Added test

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Nikita Popov [Thu, 6 Mar 2014 22:12:41 +0000 (23:12 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoFix HTML entity table generation
Dmitry Panin [Wed, 12 Feb 2014 00:39:27 +0000 (16:39 -0800)]
Fix HTML entity table generation

10 years agoFix order in NEWS
Remi Collet [Thu, 6 Mar 2014 09:55:10 +0000 (10:55 +0100)]
Fix order in NEWS

10 years agoAdd CVE ref (not known at release time)
Remi Collet [Thu, 6 Mar 2014 09:54:18 +0000 (10:54 +0100)]
Add CVE ref (not known at release time)

10 years agoFix NEWS for 5.5.11 fix (really not in 5.5.10)
Remi Collet [Thu, 6 Mar 2014 09:53:07 +0000 (10:53 +0100)]
Fix NEWS for 5.5.11 fix (really not in 5.5.10)

10 years ago5.5.10 release date for NEWS
Julien Pauli [Thu, 6 Mar 2014 09:18:10 +0000 (10:18 +0100)]
5.5.10 release date for NEWS

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Thu, 6 Mar 2014 09:16:16 +0000 (10:16 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.

10 years agoSet default Digest Message to use SHA1 instead of MD5 in openssl tests
Remi Collet [Thu, 6 Mar 2014 09:14:08 +0000 (10:14 +0100)]
Set default Digest Message to use SHA1 instead of MD5 in openssl tests
as MD5 signature are now rejected by newer openssl Version.

Noticed in RHEL-7 and Fedora 21 build.

10 years agoNEWS
Remi Collet [Wed, 5 Mar 2014 09:43:45 +0000 (10:43 +0100)]
NEWS

10 years agoFixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327
Remi Collet [Wed, 5 Mar 2014 09:40:36 +0000 (10:40 +0100)]
Fixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327

This amends commit 8f4a537, which aimed to correct NULL dereference because of
missing check of gdImageCreateTrueColor() / gdImageCreate() return value.  That
commit checks for negative crop rectangle width and height, but
gdImageCreate*() can also return NULL when width * height overflows.  Hence
NULL deref is still possible, as gdImageSaveAlpha() and gdImagePaletteCopy()
is called before dst == NULL check.

This moves NULL check to happen right after gdImageCreate*().  It also removes
width and height check before gdImageCreate*(), as the same check is done by
image create functions (with an extra warning).

From thoger redhat com

10 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Pierre Joye [Wed, 5 Mar 2014 09:37:04 +0000 (10:37 +0100)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

# By Anatol Belski (38) and others
# Via Anatol Belski (23) and others
* 'PHP-5.5' of git.php.net:php-src: (325 commits)
  NEWS
  NEWS
  Fixed Bug #66820 out-of-bounds memory access in fileinfo
  Improves fix for memory leak, keep in sync with upstream.
  Fixed news for #60602
  Updated news for #60602
  proc_open(): separate environment values that aren't strings
  Fixed NEWS.
  Updated news for #66535 and #66109
  Updated NEWS for #66535
  don't compare constants on run time
  substr_compare(): Allow zero length comparison
  Fixed test case title
  [bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
  Fixed expected output of a few cURL test cases
  Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
  man page: long option name is --strip, not --stripped
  --global have be removed in 5.2
  typo spotted by Lajos Veres
  update libs_version.txt
  ...

10 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Pierre Joye [Wed, 5 Mar 2014 09:32:42 +0000 (10:32 +0100)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

# By Anatol Belski (22) and others
# Via Derick Rethans (5) and others
* 'PHP-5.4' of git.php.net:php-src: (176 commits)
  NEWS
  Fixed Bug #66820 out-of-bounds memory access in fileinfo
  Improves fix for memory leak, keep in sync with upstream.
  Updated news for #60602
  proc_open(): separate environment values that aren't strings
  Updated NEWS for #66535
  Fixed test case title
  [bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
  man page: long option name is --strip, not --stripped
  --global have be removed in 5.2
  NEWS
  test for bug #66762
  Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
  fix tests broken by 633f898f1520253d3530fe91fc82f68bca7c4627
  add news entry
  add clear_env option to FPM config
  Reduce test noise on cross Oracle client <-> server version tests. This fix is already in PHP 5.6+
  Reduce test noise in cross Oracle client <-> server version testing. This change is already in PHP 5.6+
  fixed macro
  Make sure value is initialized
  ...

10 years agoNEWS
Remi Collet [Tue, 4 Mar 2014 19:36:31 +0000 (20:36 +0100)]
NEWS

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Tue, 4 Mar 2014 19:36:08 +0000 (20:36 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  Fixed Bug #66820 out-of-bounds memory access in fileinfo

10 years agoNEWS
Remi Collet [Tue, 4 Mar 2014 19:35:56 +0000 (20:35 +0100)]
NEWS

10 years agoFixed Bug #66820 out-of-bounds memory access in fileinfo
Remi Collet [Tue, 4 Mar 2014 19:32:52 +0000 (20:32 +0100)]
Fixed Bug #66820 out-of-bounds memory access in fileinfo

Upstream fix:
https://github.com/glensc/file/commit/447558595a3650db2886cd2f416ad0beba965801

Notice, test changed, with upstream agreement:
-define OFFSET_OOB(n, o, i) ((n) < (o) || (i) >= ((n) - (o)))
+define OFFSET_OOB(n, o, i) ((n) < (o) || (i) >  ((n) - (o)))

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Tue, 4 Mar 2014 12:43:42 +0000 (13:43 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Improves fix for memory leak, keep in sync with upstream.

10 years agoImproves fix for memory leak, keep in sync with upstream.
Remi Collet [Tue, 4 Mar 2014 12:41:37 +0000 (13:41 +0100)]
Improves fix for memory leak, keep in sync with upstream.

Previous fix:
http://git.php.net/?p=php-src.git;a=commitdiff;h=10eb0070700382f966bf260e44135e1f724a15d2

Upstream fix:
https://github.com/glensc/file/commit/c0c0032b9e9eb57b91fefef905a3b018bab492d9

10 years agoFixed news for #60602
Tjerk Meesters [Sun, 2 Mar 2014 21:57:36 +0000 (05:57 +0800)]
Fixed news for #60602

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Tjerk Meesters [Sun, 2 Mar 2014 21:56:22 +0000 (05:56 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoUpdated news for #60602
Tjerk Meesters [Sun, 2 Mar 2014 21:54:09 +0000 (05:54 +0800)]
Updated news for #60602

10 years agoproc_open(): separate environment values that aren't strings
Tjerk Meesters [Thu, 10 Oct 2013 12:21:14 +0000 (20:21 +0800)]
proc_open(): separate environment values that aren't strings

Added a test case

10 years agoFixed NEWS.
Derick Rethans [Sun, 2 Mar 2014 18:27:35 +0000 (13:27 -0500)]
Fixed NEWS.

10 years agoUpdated news for #66535 and #66109
Tjerk Meesters [Sat, 1 Mar 2014 04:27:22 +0000 (12:27 +0800)]
Updated news for #66535 and #66109

10 years agoUpdated NEWS for #66535
Tjerk Meesters [Sat, 1 Mar 2014 00:47:32 +0000 (08:47 +0800)]
Updated NEWS for #66535

10 years agodon't compare constants on run time
Anatol Belski [Fri, 28 Feb 2014 18:38:32 +0000 (19:38 +0100)]
don't compare constants on run time

10 years agosubstr_compare(): Allow zero length comparison
datibbaw [Fri, 21 Feb 2014 02:24:52 +0000 (10:24 +0800)]
substr_compare(): Allow zero length comparison

Treat zero length comparison as always equal.

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Tjerk Meesters [Fri, 28 Feb 2014 14:30:21 +0000 (22:30 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed test case title
  [bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given

10 years agoFixed test case title
Tjerk Meesters [Fri, 28 Feb 2014 14:27:32 +0000 (22:27 +0800)]
Fixed test case title

10 years ago[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
Tjerk Meesters [Fri, 28 Feb 2014 14:22:07 +0000 (22:22 +0800)]
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given

A newline is added to the mail headers when mail.add_x_header is used and no other headers are passed to mail().

The scenario in which custom headers are used was already fixed in #48620, back in 2009.

10 years agoFixed expected output of a few cURL test cases
Tjerk Meesters [Fri, 28 Feb 2014 10:59:06 +0000 (18:59 +0800)]
Fixed expected output of a few cURL test cases

10 years agoAllow NULL as value for CURLOPT_CUSTOMREQUEST option.
datibbaw [Mon, 18 Nov 2013 04:06:27 +0000 (12:06 +0800)]
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.

Added test case.

Refactored the code to isolate the string handling. Fixed return values to use SUCCESS and FAILURE.

Removed unused error variable.

Indentation fix.
Removed the ugly goto.

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Fri, 28 Feb 2014 07:12:16 +0000 (08:12 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  man page: long option name is --strip, not --stripped
  --global have be removed in 5.2

10 years agoman page: long option name is --strip, not --stripped
Remi Collet [Fri, 28 Feb 2014 07:12:03 +0000 (08:12 +0100)]
man page: long option name is --strip, not --stripped

10 years ago--global have be removed in 5.2
Remi Collet [Fri, 28 Feb 2014 07:10:01 +0000 (08:10 +0100)]
--global have be removed in 5.2

10 years agotypo spotted by Lajos Veres
Ferenc Kovacs [Thu, 27 Feb 2014 10:28:46 +0000 (11:28 +0100)]
typo spotted by Lajos Veres

10 years agoupdate libs_version.txt
Anatol Belski [Thu, 27 Feb 2014 08:23:48 +0000 (09:23 +0100)]
update libs_version.txt

10 years agoNEWS
Remi Collet [Thu, 27 Feb 2014 07:49:56 +0000 (08:49 +0100)]
NEWS

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Thu, 27 Feb 2014 07:49:33 +0000 (08:49 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  test for bug #66762
  Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed

10 years agoNEWS
Remi Collet [Thu, 27 Feb 2014 07:49:08 +0000 (08:49 +0100)]
NEWS

10 years agotest for bug #66762
Remi Collet [Thu, 27 Feb 2014 07:48:01 +0000 (08:48 +0100)]
test for bug #66762

10 years agoFixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
Remi Collet [Thu, 27 Feb 2014 07:45:16 +0000 (08:45 +0100)]
Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed

Each new mysqli_stmt now increase the refcount of the link object.
So the link is really destroy after all statements.

Only implemented with libmysqlclient, as mysqlnd already implement
this internally.

So, libmysqlclient and mysqlnd have the same behavior.

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Thu, 27 Feb 2014 01:32:07 +0000 (02:32 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix tests broken by 633f898f1520253d3530fe91fc82f68bca7c4627

10 years agofix tests broken by 633f898f1520253d3530fe91fc82f68bca7c4627
Ferenc Kovacs [Thu, 27 Feb 2014 01:31:42 +0000 (02:31 +0100)]
fix tests broken by 633f898f1520253d3530fe91fc82f68bca7c4627

10 years agoadd missing NEWS entry
Ferenc Kovacs [Thu, 27 Feb 2014 00:18:11 +0000 (01:18 +0100)]
add missing NEWS entry

10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Wed, 26 Feb 2014 14:10:23 +0000 (15:10 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  add news entry
  add clear_env option to FPM config

10 years agoadd news entry
Antony Dovgal [Tue, 25 Feb 2014 08:15:35 +0000 (12:15 +0400)]
add news entry

10 years agoadd news entry
Antony Dovgal [Tue, 25 Feb 2014 08:14:50 +0000 (12:14 +0400)]
add news entry

10 years agoadd clear_env option to FPM config
Paul Annesley [Wed, 19 Feb 2014 19:48:40 +0000 (11:48 -0800)]
add clear_env option to FPM config

This makes it possible to leave the envoronment as is on startup and
pass all the variables to the workers.
The default value of clear_env is "yes", preserving previous behaviour.
Patch by Paul Annesley.

10 years agoadd clear_env option to FPM config
Paul Annesley [Wed, 19 Feb 2014 19:48:40 +0000 (11:48 -0800)]
add clear_env option to FPM config

This makes it possible to leave the envoronment as is on startup and
pass all the variables to the workers.
The default value of clear_env is "yes", preserving previous behaviour.
Patch by Paul Annesley.