]> granicus.if.org Git - php/log
php
9 years agoFixed #68790 (Missing return)
George Wang [Sat, 7 Feb 2015 17:16:54 +0000 (12:16 -0500)]
Fixed #68790 (Missing return)

9 years agoUpdate header handling to RFC 7230
Stanislav Malyshev [Wed, 4 Feb 2015 09:11:00 +0000 (01:11 -0800)]
Update header handling to RFC 7230

9 years agofix sizeof size
Stanislav Malyshev [Sun, 1 Feb 2015 20:40:38 +0000 (12:40 -0800)]
fix sizeof size

9 years agofix TSRM
Stanislav Malyshev [Sun, 1 Feb 2015 07:34:14 +0000 (23:34 -0800)]
fix TSRM

9 years agoUse better constant since MAXHOSTNAMELEN may mean shorter name
Stanislav Malyshev [Sun, 1 Feb 2015 05:46:56 +0000 (21:46 -0800)]
Use better constant since MAXHOSTNAMELEN may mean shorter name

9 years agouse right sizeof for memset
Stanislav Malyshev [Sun, 1 Feb 2015 05:30:58 +0000 (21:30 -0800)]
use right sizeof for memset

9 years agoAdd mitigation for CVE-2015-0235 (bug #68925)
Stanislav Malyshev [Sun, 1 Feb 2015 02:59:18 +0000 (18:59 -0800)]
Add mitigation for CVE-2015-0235 (bug #68925)

9 years agofix some factual errors in the process
Ferenc Kovacs [Thu, 22 Jan 2015 20:27:38 +0000 (21:27 +0100)]
fix some factual errors in the process

9 years agoformat
Stanislav Malyshev [Tue, 20 Jan 2015 19:57:17 +0000 (11:57 -0800)]
format

9 years agoadd CVE
Stanislav Malyshev [Tue, 20 Jan 2015 19:54:45 +0000 (11:54 -0800)]
add CVE

9 years agoadd protection against nulls
Stanislav Malyshev [Tue, 20 Jan 2015 19:46:10 +0000 (11:46 -0800)]
add protection against nulls

9 years ago5.4.38 next
Stanislav Malyshev [Tue, 20 Jan 2015 18:38:33 +0000 (10:38 -0800)]
5.4.38 next

9 years agoMerge branch 'bug68710' into PHP-5.4
Stanislav Malyshev [Tue, 20 Jan 2015 09:00:52 +0000 (01:00 -0800)]
Merge branch 'bug68710' into PHP-5.4

* bug68710:
  Fix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())

9 years agoMerge branch 'bug68799' into PHP-5.4
Stanislav Malyshev [Tue, 20 Jan 2015 08:57:55 +0000 (00:57 -0800)]
Merge branch 'bug68799' into PHP-5.4

* bug68799:
  Fix bug #68799: Free called on unitialized pointer

9 years agoUpdate NEWS
Daniel Lowrey [Wed, 14 Jan 2015 17:03:27 +0000 (18:03 +0100)]
Update NEWS

9 years agoFixed bug #55618 (use case-insensitive cert name matching)
Daniel Lowrey [Wed, 14 Jan 2015 17:02:50 +0000 (18:02 +0100)]
Fixed bug #55618 (use case-insensitive cert name matching)

10 years agoFix bug #68799: Free called on unitialized pointer
Stanislav Malyshev [Sun, 11 Jan 2015 08:51:05 +0000 (00:51 -0800)]
Fix bug #68799: Free called on unitialized pointer

10 years agoupdated libmagic.patch in 5.4
Anatol Belski [Sun, 4 Jan 2015 16:04:13 +0000 (17:04 +0100)]
updated libmagic.patch in 5.4

10 years agoFixed bug #68735 fileinfo out-of-bounds memory access
Anatol Belski [Sun, 4 Jan 2015 13:20:21 +0000 (14:20 +0100)]
Fixed bug #68735 fileinfo out-of-bounds memory access

10 years agoremoved dead code
Remi Collet [Sun, 4 Jan 2015 08:40:19 +0000 (09:40 +0100)]
removed dead code

10 years agoFix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())
Stanislav Malyshev [Fri, 2 Jan 2015 00:19:05 +0000 (16:19 -0800)]
Fix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())

10 years agoFIx bug #68618 (out of bounds read crashes php-cgi)
Stanislav Malyshev [Tue, 30 Dec 2014 09:23:05 +0000 (01:23 -0800)]
FIx bug #68618 (out of bounds read crashes php-cgi)

10 years agoadd missing NEWS entry
Ferenc Kovacs [Wed, 17 Dec 2014 01:10:36 +0000 (02:10 +0100)]
add missing NEWS entry

10 years ago5.4.37
Stanislav Malyshev [Tue, 16 Dec 2014 19:44:41 +0000 (11:44 -0800)]
5.4.37

10 years agoadd CVE
Stanislav Malyshev [Tue, 16 Dec 2014 18:16:31 +0000 (10:16 -0800)]
add CVE

10 years agoadd missing test file
Stanislav Malyshev [Fri, 12 Dec 2014 04:52:08 +0000 (20:52 -0800)]
add missing test file

10 years agoFix bug #68594 - Use after free vulnerability in unserialize()
Stanislav Malyshev [Fri, 12 Dec 2014 03:28:32 +0000 (19:28 -0800)]
Fix bug #68594 - Use after free vulnerability in unserialize()

10 years agoFix undefined behaviour in strnatcmp
Andrea Faulds [Sat, 13 Dec 2014 22:06:27 +0000 (22:06 +0000)]
Fix undefined behaviour in strnatcmp

10 years agoupdate NEWS
Stanislav Malyshev [Thu, 11 Dec 2014 18:41:17 +0000 (10:41 -0800)]
update NEWS

10 years agomove the test to the right place
Anatol Belski [Wed, 10 Dec 2014 12:19:51 +0000 (13:19 +0100)]
move the test to the right place

10 years agoFixed bug #68545 NULL pointer dereference in unserialize.c
Anatol Belski [Wed, 10 Dec 2014 10:43:33 +0000 (11:43 +0100)]
Fixed bug #68545 NULL pointer dereference in unserialize.c

10 years agoFixed possible read after end of buffer and use after free.
Dmitry Stogov [Mon, 8 Dec 2014 09:18:27 +0000 (12:18 +0300)]
Fixed possible read after end of buffer and use after free.

10 years agoRevert unintentional docblock change
Chris Christoff [Fri, 5 Dec 2014 20:59:46 +0000 (15:59 -0500)]
Revert unintentional docblock change

Revert unintentional docblock change

It looks like commit dd8e59da8f5aafd9d77a0f1f17e5e272d09f643f
introduced an unintended docbloc change. I have reverted this
change in this commit.

10 years agomake sure that we don't truncate the stack trace and cause false test failures when...
Ferenc Kovacs [Tue, 2 Dec 2014 18:17:58 +0000 (19:17 +0100)]
make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path

10 years agoupdate news
Stanislav Malyshev [Mon, 1 Dec 2014 05:12:03 +0000 (21:12 -0800)]
update news

10 years agoApply error-code-salt fix to Windows too
Leigh [Tue, 7 Oct 2014 12:12:38 +0000 (13:12 +0100)]
Apply error-code-salt fix to Windows too

Conflicts:
ext/standard/crypt.c

10 years agoBug fixes in light of failing bcrypt tests
Leigh [Tue, 7 Oct 2014 11:27:57 +0000 (12:27 +0100)]
Bug fixes in light of failing bcrypt tests

Conflicts:
ext/standard/crypt.c

10 years agoAdd tests from 1.3. Add missing tests.
Leigh [Tue, 7 Oct 2014 10:50:36 +0000 (11:50 +0100)]
Add tests from 1.3. Add missing tests.

3 of the missing tests fail. // TODO

10 years agoUpgrade crypt_blowfish to version 1.3
Leigh [Tue, 7 Oct 2014 10:23:24 +0000 (11:23 +0100)]
Upgrade crypt_blowfish to version 1.3

10 years agoupdate for LiteSpeed
Stanislav Malyshev [Mon, 24 Nov 2014 02:05:26 +0000 (18:05 -0800)]
update for LiteSpeed

10 years agoRevert "made lsapi_main.c compatible with PHP7/phpng ."
Stanislav Malyshev [Sat, 22 Nov 2014 08:38:04 +0000 (00:38 -0800)]
Revert "made lsapi_main.c compatible with PHP7/phpng ."

This reverts commit 9fb816f45ad9baa46b91514e70f755eb88539e85.
Not a security-related fix.

10 years agomade lsapi_main.c compatible with PHP7/phpng .
George Wang [Thu, 20 Nov 2014 21:49:01 +0000 (16:49 -0500)]
made lsapi_main.c compatible with PHP7/phpng .

10 years ago5.4.36-dev
Stanislav Malyshev [Wed, 12 Nov 2014 00:31:38 +0000 (16:31 -0800)]
5.4.36-dev

10 years agoFixed bug #66584 Segmentation fault on statement deallocation
Matteo Beccati [Sat, 1 Nov 2014 18:11:43 +0000 (19:11 +0100)]
Fixed bug #66584 Segmentation fault on statement deallocation

10 years agoupdate NEWS
Ferenc Kovacs [Tue, 11 Nov 2014 23:18:13 +0000 (00:18 +0100)]
update NEWS

10 years agoPartial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash...
Dmitry Stogov [Fri, 7 Nov 2014 06:46:49 +0000 (09:46 +0300)]
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 3 Nov 2014 19:43:15 +0000 (11:43 -0800)]
update NEWS

10 years agoFix bug #63595 GMP memory management conflicts with other libraries using GMP
Remi Collet [Mon, 27 Oct 2014 06:45:34 +0000 (07:45 +0100)]
Fix bug #63595 GMP memory management conflicts with other libraries using GMP

Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.

No other solution found.
We cannot for ensure correct use of allocator with shared lib.

Some memory can allocated before php init
Some memory can be freed after php shutdown

Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp

10 years agoInitialize the offset table - PCRE may sometimes miss offsets
Stanislav Malyshev [Mon, 3 Nov 2014 00:04:00 +0000 (16:04 -0800)]
Initialize the offset table - PCRE may sometimes miss offsets

10 years agoset default response code to 200
George Wang [Mon, 3 Nov 2014 16:42:01 +0000 (11:42 -0500)]
set default response code to 200

10 years agofix NEWS & version
Stanislav Malyshev [Wed, 22 Oct 2014 20:16:29 +0000 (13:16 -0700)]
fix NEWS & version

10 years agoNEWS
Remi Collet [Wed, 22 Oct 2014 13:39:49 +0000 (15:39 +0200)]
NEWS

10 years agoFix bug #68283: fileinfo: out-of-bounds read in elf note headers
Remi Collet [Wed, 22 Oct 2014 13:37:04 +0000 (15:37 +0200)]
Fix bug #68283: fileinfo: out-of-bounds read in elf note headers

Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0

CVE -2014-3710

10 years agoFix bug #68113 (Heap corruption in exif_thumbnail())
Stanislav Malyshev [Sun, 28 Sep 2014 23:57:42 +0000 (16:57 -0700)]
Fix bug #68113 (Heap corruption in exif_thumbnail())

10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:40:07 +0000 (11:40 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoFixed a bug that causes crash when environment variable is access while parsing php.ini
George Wang [Fri, 3 Oct 2014 20:41:32 +0000 (16:41 -0400)]
Fixed a bug that causes crash when environment variable is access while parsing php.ini

10 years agoAdd hash to EXTENSIONS file
Sara Golemon [Fri, 3 Oct 2014 01:54:46 +0000 (18:54 -0700)]
Add hash to EXTENSIONS file

10 years agoSet an LDAP error code when failing ldap_bind due to null bytes
Matthew Daley [Sun, 28 Sep 2014 04:49:35 +0000 (17:49 +1300)]
Set an LDAP error code when failing ldap_bind due to null bytes

Some applications check a LDAP link's error code after seeing ldap_bind
fail due to a null byte bind attempt and hence incorrectly receive the
last set error code.

Fix by setting an LDAP error code before returning in this case.

10 years agoThis test should pass
Johannes Schlüter [Sat, 27 Sep 2014 00:17:26 +0000 (02:17 +0200)]
This test should pass

10 years ago- Updated to version 2014.8 (2014h)
Derick Rethans [Fri, 26 Sep 2014 15:26:59 +0000 (16:26 +0100)]
- Updated to version 2014.8 (2014h)

10 years agoupdate NEWS
Stanislav Malyshev [Fri, 26 Sep 2014 07:55:49 +0000 (00:55 -0700)]
update NEWS

10 years agoRevert xp_ssl.c to the state of 5.4.32 due to regressions
Stanislav Malyshev [Fri, 26 Sep 2014 07:44:24 +0000 (00:44 -0700)]
Revert xp_ssl.c to the state of 5.4.32 due to regressions

10 years agoFixed bug #66242 (don't assume char is signed)
Ard Biesheuvel [Sat, 20 Sep 2014 23:32:31 +0000 (16:32 -0700)]
Fixed bug #66242 (don't assume char is signed)

This fixes a bug in libmagic where a cast to 'char' is assumed to result
in sign extension to occur. However, unqualified 'char' is unsigned on
architectures such as ARM, so the cast needs to be to 'signed char'
explicitly.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoFixed freetype test on multiple environments
Matteo Beccati [Tue, 16 Sep 2014 08:17:25 +0000 (10:17 +0200)]
Fixed freetype test on multiple environments

Some environments, apparently regardless to the freetype version, output 155, while others 156. I guess we can accept both ;)

This reverts commit 592df890276604c790d02be26b1b3c3710b3b888.

10 years agoFix NEWS
Remi Collet [Mon, 15 Sep 2014 06:23:25 +0000 (08:23 +0200)]
Fix NEWS
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in ee275e34c8b303945945c650d4bc90dcc2ac0b17

10 years agoBug #41631: Fix regression from first attempt (6569db8)
Daniel Lowrey [Tue, 9 Sep 2014 13:50:15 +0000 (07:50 -0600)]
Bug #41631: Fix regression from first attempt (6569db8)

10 years agoBug #67965: Fix blocking behavior in non-blocking crypto streams
Daniel Lowrey [Tue, 9 Sep 2014 13:37:57 +0000 (07:37 -0600)]
Bug #67965: Fix blocking behavior in non-blocking crypto streams

10 years agoFixed #67985 - Incorrect last used array index copied to new array after unset
Tjerk Meesters [Tue, 9 Sep 2014 09:58:45 +0000 (17:58 +0800)]
Fixed #67985 - Incorrect last used array index copied to new array after unset

In master zend_array_dup() is used to do this properly; this is a workaround.

10 years agoFine tuned the order of adding request variables.
George Wang [Tue, 9 Sep 2014 03:58:05 +0000 (23:58 -0400)]
Fine tuned the order of adding request variables.

10 years agoUpdate LSAPI to 6.7, added support for 'filter_input'.
George Wang [Wed, 3 Sep 2014 15:24:45 +0000 (11:24 -0400)]
Update LSAPI to 6.7, added support for 'filter_input'.
Fixed a crash in CLI mode.

10 years agoFixed test with freetype >= 2.4.12
Matteo Beccati [Wed, 3 Sep 2014 07:43:29 +0000 (09:43 +0200)]
Fixed test with freetype >= 2.4.12

10 years ago5.4.34 is next
Stanislav Malyshev [Tue, 2 Sep 2014 22:03:04 +0000 (15:03 -0700)]
5.4.34 is next

10 years agoRevert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
Stanislav Malyshev [Tue, 2 Sep 2014 21:15:39 +0000 (14:15 -0700)]
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"

This reverts commit 53fa6c5b6b5b09059ba54c8912d0c0aef57aa4ff.
The change breaks tests, so not putting it into 5.4.

10 years agoFix bug #67644 - Memory corruption & crash during ob_start function callback
Stanislav Malyshev [Sun, 31 Aug 2014 01:32:12 +0000 (18:32 -0700)]
Fix bug #67644 - Memory corruption & crash during ob_start function callback

10 years agoupdate NEWS
Stanislav Malyshev [Mon, 1 Sep 2014 19:13:43 +0000 (12:13 -0700)]
update NEWS

10 years agoMerge branch 'pull-request/770' into PHP-5.4
Stanislav Malyshev [Mon, 1 Sep 2014 19:11:42 +0000 (12:11 -0700)]
Merge branch 'pull-request/770' into PHP-5.4

* pull-request/770:
  Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
  Fix typo from commit 32314f6b6
  Fix destruction order in zend_shutdown (bug #65463, #66036)

10 years ago- Updated to version 2014.7 (2014g)
Derick Rethans [Mon, 1 Sep 2014 15:40:49 +0000 (16:40 +0100)]
- Updated to version 2014.7 (2014g)

10 years agofix NEWS for fcgi fix merge
Stanislav Malyshev [Fri, 29 Aug 2014 06:10:32 +0000 (23:10 -0700)]
fix NEWS for fcgi fix merge

10 years agorestore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
David Zuelke [Sat, 9 Aug 2014 06:26:33 +0000 (08:26 +0200)]
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606

10 years agoFix stream_select() issue with OpenSSL buffer
Chris Wright [Sat, 23 Aug 2014 00:40:19 +0000 (01:40 +0100)]
Fix stream_select() issue with OpenSSL buffer

Ensure data from OpenSSL internal buffer has been
transfered to PHP stream buffer before a select()
emulation operation is performed

Addresses bug #65137
https://bugs.php.net/bug.php?id=65137

Conflicts:
ext/openssl/xp_ssl.c

10 years agoupdate the GIT-RULES with the 5.6 and the release branches
Ferenc Kovacs [Tue, 26 Aug 2014 22:47:09 +0000 (00:47 +0200)]
update the GIT-RULES with the 5.6 and the release branches

10 years agoBug #67730: Add tests by Ryan Mauger <ryan@rmauger.co.uk>
Lior Kaplan [Sun, 24 Aug 2014 21:29:05 +0000 (00:29 +0300)]
Bug #67730: Add tests by Ryan Mauger <ryan@rmauger.co.uk>

10 years agothis test depends on the simplexml ext, not just on xml
Ferenc Kovacs [Sat, 23 Aug 2014 22:08:09 +0000 (00:08 +0200)]
this test depends on the simplexml ext, not just on xml

10 years agoOnly destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)
Keyur Govande [Sat, 23 Aug 2014 14:17:37 +0000 (14:17 +0000)]
Only destruct if EG(active) in zend_shutdown(). (bug #65463, #66036)

10 years agofix bug #67865
Michael Wallner [Thu, 21 Aug 2014 20:41:36 +0000 (22:41 +0200)]
fix bug #67865

10 years agoNEWS
Remi Collet [Wed, 20 Aug 2014 13:16:53 +0000 (15:16 +0200)]
NEWS

10 years agofixed variable corruption under win x64
Anatol Belski [Sat, 11 May 2013 00:47:48 +0000 (02:47 +0200)]
fixed variable corruption under win x64

10 years agoAdd NEWS entry for bug #67730
Lior Kaplan [Tue, 19 Aug 2014 21:54:19 +0000 (00:54 +0300)]
Add NEWS entry for bug #67730

Included in 5.4.32 with commit 706aefb

10 years agoAdd CVE ID for bug #67539
Lior Kaplan [Tue, 19 Aug 2014 21:51:37 +0000 (00:51 +0300)]
Add CVE ID for bug #67539

10 years agoSwitch use of strtok() to gd_strtok_r()
Sara Golemon [Tue, 19 Aug 2014 19:46:53 +0000 (12:46 -0700)]
Switch use of strtok() to gd_strtok_r()

strtok() is not thread safe, so this will potentially break in
very bad ways if used in ZTS mode.

I'm not sure why gd_strtok_r() exists since it seems to do the
same thing as strtok_r(), but I'll assume it's a portability
decision and do as the Romans do.

10 years agoMerge tag 'PHP-5.4.32' into PHP-5.4
Stanislav Malyshev [Tue, 19 Aug 2014 08:33:45 +0000 (01:33 -0700)]
Merge tag 'PHP-5.4.32' into PHP-5.4

5.4.32

* tag 'PHP-5.4.32':
  5.4.32
  fix potentially missing NUL termination
  Fix bug #67730 - Null byte injection possible with imagexxx functions
  Fixed bug #67717 - segfault in dns_get_record
  Fix bug #67716 - Segfault in cdf.c
  5.4.32 RC1

Conflicts:
configure.in
main/php_version.h

10 years ago5.4.32
Stanislav Malyshev [Tue, 19 Aug 2014 07:40:27 +0000 (00:40 -0700)]
5.4.32

10 years agoNEWS
Remi Collet [Tue, 19 Aug 2014 06:40:18 +0000 (08:40 +0200)]
NEWS

10 years agoFixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597
Remi Collet [Tue, 19 Aug 2014 06:33:49 +0000 (08:33 +0200)]
Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597

Incomplete fix for CVE-2014-4049

Check possible buffer overflow
- pass real buffer end to dn_expand calls
- check buffer len before each read

10 years agofix potentially missing NUL termination
Stanislav Malyshev [Tue, 19 Aug 2014 06:04:24 +0000 (23:04 -0700)]
fix potentially missing NUL termination

10 years agoFix bug #67730 - Null byte injection possible with imagexxx functions
Stanislav Malyshev [Tue, 19 Aug 2014 05:49:10 +0000 (22:49 -0700)]
Fix bug #67730 - Null byte injection possible with imagexxx functions

10 years agoFixed bug #67717 - segfault in dns_get_record
Stanislav Malyshev [Tue, 19 Aug 2014 05:37:25 +0000 (22:37 -0700)]
Fixed bug #67717 - segfault in dns_get_record