]> granicus.if.org Git - php/log
php
10 years agoMerge branch 'PHP-5.4.30' into PHP-5.4
Stanislav Malyshev [Tue, 24 Jun 2014 17:23:36 +0000 (10:23 -0700)]
Merge branch 'PHP-5.4.30' into PHP-5.4

* PHP-5.4.30:
  5.4.30
  Better fix for bug #67072 with more BC provisions
  Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
  update CVE
  Fix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
  Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
  Fix bug #67349: Locale::parseLocale Double Free
  add CVEs
  Fix potential segfault in dns_get_record()
  Fix bug #66127 (Segmentation fault with ArrayObject unset)
  5.4.30 rc1

Conflicts:
configure.in
main/php_version.h

10 years agoupdate NEWS
Stanislav Malyshev [Tue, 24 Jun 2014 17:20:33 +0000 (10:20 -0700)]
update NEWS

10 years ago5.4.30
Stanislav Malyshev [Tue, 24 Jun 2014 17:17:34 +0000 (10:17 -0700)]
5.4.30

10 years agoBetter fix for bug #67072 with more BC provisions
Stanislav Malyshev [Sun, 22 Jun 2014 04:28:33 +0000 (21:28 -0700)]
Better fix for bug #67072 with more BC provisions

10 years agoFix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
Stanislav Malyshev [Mon, 23 Jun 2014 07:19:37 +0000 (00:19 -0700)]
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability

10 years agoupdate CVE
Stanislav Malyshev [Mon, 23 Jun 2014 07:07:08 +0000 (00:07 -0700)]
update CVE

10 years agoBetter fix for bug #67072 with more BC provisions
Stanislav Malyshev [Sun, 22 Jun 2014 04:28:33 +0000 (21:28 -0700)]
Better fix for bug #67072 with more BC provisions

10 years agoFix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
Stanislav Malyshev [Sun, 22 Jun 2014 02:46:16 +0000 (19:46 -0700)]
Fix bug #67492: unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion

10 years agoFix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName ...
Stanislav Malyshev [Sun, 8 Jun 2014 20:44:40 +0000 (13:44 -0700)]
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))

10 years agoFix bug #67349: Locale::parseLocale Double Free
Stanislav Malyshev [Wed, 4 Jun 2014 08:06:01 +0000 (01:06 -0700)]
Fix bug #67349: Locale::parseLocale Double Free

10 years agoadd CVEs
Stanislav Malyshev [Sun, 22 Jun 2014 01:37:08 +0000 (18:37 -0700)]
add CVEs

10 years agoFixed MarinaDB support
Dmitry Stogov [Fri, 20 Jun 2014 09:56:32 +0000 (13:56 +0400)]
Fixed MarinaDB support

10 years agoUpdate copyright year to 2014
Lior Kaplan [Tue, 17 Jun 2014 20:57:20 +0000 (23:57 +0300)]
Update copyright year to 2014

10 years agoUpdate copyright year to 2014
Lior Kaplan [Tue, 17 Jun 2014 20:56:46 +0000 (23:56 +0300)]
Update copyright year to 2014

10 years agoUpdate copyright year for re2c generated files
Lior Kaplan [Mon, 16 Jun 2014 20:28:36 +0000 (23:28 +0300)]
Update copyright year for re2c generated files

10 years agoUpdate copyright year to 2014
Lior Kaplan [Mon, 16 Jun 2014 20:27:45 +0000 (23:27 +0300)]
Update copyright year to 2014

10 years agoUpdate copyright year for re2c files as well
Lior Kaplan [Mon, 16 Jun 2014 20:26:50 +0000 (23:26 +0300)]
Update copyright year for re2c files as well

10 years agoFix patch for bug #67436
Bob Weinand [Mon, 16 Jun 2014 09:10:50 +0000 (11:10 +0200)]
Fix patch for bug #67436

10 years agoMerge branch 'pull-request/695' into PHP-5.4
Bob Weinand [Sun, 15 Jun 2014 22:35:20 +0000 (00:35 +0200)]
Merge branch 'pull-request/695' into PHP-5.4

10 years agoAdded tests for bug 67436
Levi Morrison [Sun, 15 Jun 2014 22:10:40 +0000 (16:10 -0600)]
Added tests for bug 67436

10 years agoFixed wrong XFAIL test - already fixed
Bob Weinand [Sun, 15 Jun 2014 21:51:51 +0000 (23:51 +0200)]
Fixed wrong XFAIL test - already fixed

10 years agoFix typo in Bug #67406 NEWS entry
Lior Kaplan [Sun, 15 Jun 2014 21:26:01 +0000 (00:26 +0300)]
Fix typo in Bug #67406 NEWS entry

10 years agoUpdated NEWS
Bob Weinand [Sun, 15 Jun 2014 20:32:47 +0000 (22:32 +0200)]
Updated NEWS

10 years agoFix bug #67436
Bob Weinand [Sun, 15 Jun 2014 20:18:25 +0000 (22:18 +0200)]
Fix bug #67436

10 years agoFix potential segfault in dns_get_record()
Sara Golemon [Tue, 10 Jun 2014 18:18:02 +0000 (11:18 -0700)]
Fix potential segfault in dns_get_record()

If the remote sends us a packet with a malformed TXT record,
we could end up trying to over-consume the packet and wander
off into overruns.

10 years agoupdate NEWS
Stanislav Malyshev [Sun, 15 Jun 2014 07:46:31 +0000 (00:46 -0700)]
update NEWS

10 years ago- Updated to version 2014.5 (2014e)
Derick Rethans [Fri, 13 Jun 2014 22:26:42 +0000 (23:26 +0100)]
- Updated to version 2014.5 (2014e)

10 years agoFollow 308 Permanent Redirect responses.
Adam Harvey [Fri, 13 Jun 2014 01:12:53 +0000 (18:12 -0700)]
Follow 308 Permanent Redirect responses.

Fixes bug #67430 (http:// wrapper doesn't follow 308 redirects).

10 years agoAdd 308 and 426 to the HTTP response code map in the CLI server.
Adam Harvey [Fri, 13 Jun 2014 00:54:29 +0000 (17:54 -0700)]
Add 308 and 426 to the HTTP response code map in the CLI server.

Implements FR #67429 (CLI server is missing some new HTTP response codes).

10 years agoKeep 308-399 HTTP response codes when header('Location:') is called.
Adam Harvey [Fri, 13 Jun 2014 00:35:05 +0000 (17:35 -0700)]
Keep 308-399 HTTP response codes when header('Location:') is called.

Fixes bug #67428 (header('Location: foo') will override a 308-399 response
code).

10 years agoNEWS entry for "Fix potential segfault in dns_get_record()"
Sara Golemon [Wed, 11 Jun 2014 21:20:36 +0000 (14:20 -0700)]
NEWS entry for "Fix potential segfault in dns_get_record()"

10 years agoFix potential segfault in dns_get_record()
Sara Golemon [Tue, 10 Jun 2014 18:18:02 +0000 (11:18 -0700)]
Fix potential segfault in dns_get_record()

If the remote sends us a packet with a malformed TXT record,
we could end up trying to over-consume the packet and wander
off into overruns.

10 years agoFix bug #66127 (Segmentation fault with ArrayObject unset) php-5.4.30RC1
Stanislav Malyshev [Wed, 11 Jun 2014 06:17:30 +0000 (23:17 -0700)]
Fix bug #66127 (Segmentation fault with ArrayObject unset)

10 years agoFix bug #66127 (Segmentation fault with ArrayObject unset)
Stanislav Malyshev [Wed, 11 Jun 2014 06:17:30 +0000 (23:17 -0700)]
Fix bug #66127 (Segmentation fault with ArrayObject unset)

10 years ago5.4.31 next
Stanislav Malyshev [Wed, 11 Jun 2014 06:03:40 +0000 (23:03 -0700)]
5.4.31 next

10 years ago5.4.30 rc1
Stanislav Malyshev [Wed, 11 Jun 2014 04:17:37 +0000 (21:17 -0700)]
5.4.30 rc1

10 years agoNEWS
Remi Collet [Tue, 10 Jun 2014 12:35:14 +0000 (14:35 +0200)]
NEWS

10 years agoFixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec
Remi Collet [Tue, 10 Jun 2014 12:33:37 +0000 (14:33 +0200)]
Fixed Bug #67413  fileinfo: cdf_read_property_info insufficient boundary chec

Upstream:
https://github.com/file/file/commit/93e063ee374b6a75729df9e7201fb511e47e259d

Adapted for C standard.

10 years agoNEWS
Remi Collet [Tue, 10 Jun 2014 12:23:31 +0000 (14:23 +0200)]
NEWS

10 years agoBug #67412 fileinfo: cdf_count_chain insufficient boundary check
Remi Collet [Tue, 10 Jun 2014 12:22:04 +0000 (14:22 +0200)]
Bug #67412  fileinfo: cdf_count_chain insufficient boundary check

Upstream:
https://github.com/file/file/commit/40bade80cbe2af1d0b2cd0420cebd5d5905a2382

10 years agoNEWS
Remi Collet [Tue, 10 Jun 2014 12:16:00 +0000 (14:16 +0200)]
NEWS

10 years agoFixed Bug #67411 fileinfo: cdf_check_stream_offset insufficient boundary check
Remi Collet [Tue, 10 Jun 2014 12:13:14 +0000 (14:13 +0200)]
Fixed Bug #67411  fileinfo: cdf_check_stream_offset insufficient boundary check

Upstream:
https://github.com/file/file/commit/36fadd29849b8087af9f4586f89dbf74ea45be67

10 years agoNEWS
Remi Collet [Tue, 10 Jun 2014 12:04:27 +0000 (14:04 +0200)]
NEWS

10 years agoFixed Bug #67410 fileinfo: mconvert incorrect handling of truncated pascal string...
Remi Collet [Tue, 10 Jun 2014 12:02:36 +0000 (14:02 +0200)]
Fixed Bug #67410 fileinfo: mconvert incorrect handling of truncated pascal string size

Upstream
https://github.com/file/file/commit/27a14bc7ba285a0a5ebfdb55e54001aa11932b08

10 years agoNEWS
Remi Collet [Tue, 10 Jun 2014 08:31:17 +0000 (10:31 +0200)]
NEWS

10 years agoFixed bug #67406 built-in web-server segfaults on startup
Remi Collet [Tue, 10 Jun 2014 08:28:34 +0000 (10:28 +0200)]
Fixed bug #67406 built-in web-server segfaults on startup

Reproduce on aarch64.

From select man page:
  "select() may update the timeout argument to indicate how much time was left."
So "const" is not ok.

10 years agoFixed bug #67399 (putenv with empty variable may lead to crash)
Stanislav Malyshev [Mon, 9 Jun 2014 06:00:38 +0000 (23:00 -0700)]
Fixed bug #67399 (putenv with empty variable may lead to crash)

10 years agoFixed DOM tests when using libxml2 versions patched against CVE-2014-0191
Matteo Beccati [Wed, 4 Jun 2014 11:26:24 +0000 (13:26 +0200)]
Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191

DOMDocument::substituteEntities needs to be set to true in order for
external entities to be parsed.

10 years agoadd news
Stanislav Malyshev [Mon, 9 Jun 2014 02:38:07 +0000 (19:38 -0700)]
add news

10 years agoBug 49898
Boro Sitnikovski [Thu, 26 Sep 2013 00:03:48 +0000 (02:03 +0200)]
Bug 49898
__getCookies() method implementation

10 years agofix order
Stanislav Malyshev [Mon, 9 Jun 2014 02:03:50 +0000 (19:03 -0700)]
fix order

10 years agoFix bug 666222
Levi Morrison [Tue, 13 May 2014 03:53:08 +0000 (21:53 -0600)]
Fix bug 666222

This also adds some smaller, isolated tests related to bug 66622.

Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

10 years agoFixed identation on file
Jefersson Nathan [Tue, 23 Apr 2013 11:24:15 +0000 (08:24 -0300)]
Fixed identation on file

10 years agoFix align indentation
Jefersson Nathan [Mon, 12 May 2014 16:37:47 +0000 (13:37 -0300)]
Fix align indentation

10 years agoAdded support for parsing ssl certificates using GeneralizedTime format.
Paul Oehler [Tue, 13 May 2014 17:38:25 +0000 (13:38 -0400)]
Added support for parsing ssl certificates using GeneralizedTime format.

fix bug #65698
fix bug #66636

10 years agoRemove superfluous echos.
Jeff Welch [Sun, 8 Jun 2014 08:09:14 +0000 (04:09 -0400)]
Remove superfluous echos.

10 years agoNEWS
Remi Collet [Fri, 6 Jun 2014 12:17:54 +0000 (14:17 +0200)]
NEWS

10 years agoFix bug #67390 insecure temporary file use in the configure script
Remi Collet [Fri, 6 Jun 2014 12:16:04 +0000 (14:16 +0200)]
Fix bug #67390 insecure temporary file use in the configure script

10 years agodrop exec perm on doc files
Remi Collet [Thu, 5 Jun 2014 15:45:22 +0000 (17:45 +0200)]
drop exec perm on doc files

10 years agofix test for 5.4/5.5
Remi Collet [Thu, 5 Jun 2014 15:33:40 +0000 (17:33 +0200)]
fix test for 5.4/5.5

10 years agoadd test for previous fix
Remi Collet [Thu, 5 Jun 2014 12:00:00 +0000 (14:00 +0200)]
add test for previous fix

10 years agoNEWS
Remi Collet [Thu, 5 Jun 2014 11:45:25 +0000 (13:45 +0200)]
NEWS

10 years agoFix regression introduce in fix for bug #67118
Remi Collet [Thu, 5 Jun 2014 11:39:46 +0000 (13:39 +0200)]
Fix regression introduce in fix for bug #67118

The fix was correct but break some code (at least in Horde)
This is a temporary workaround to fix regressioni in 5.4, 5.5 and 5.6

This make php_date_initialize more consistent
- on success return 1 + time initiliazed
- on failure return 0 + time = zero
  which is check by DATE_CHECK_INITIALIZED by later method call

Will restore consistency with other date classes in master.

10 years agoupdate NEWS
Stanislav Malyshev [Wed, 4 Jun 2014 08:09:37 +0000 (01:09 -0700)]
update NEWS

10 years agoFixed regression introduced by patch for bug #67072
Anatol Belski [Tue, 3 Jun 2014 18:43:58 +0000 (20:43 +0200)]
Fixed regression introduced by patch for bug #67072

This applies to 5.4 and 5.5 only as a legacy fix.

10 years ago(re)add cve number in NEWS, from 5.4.29
Remi Collet [Tue, 3 Jun 2014 09:28:07 +0000 (11:28 +0200)]
(re)add cve number in NEWS, from 5.4.29

10 years agoNEWS
Remi Collet [Tue, 3 Jun 2014 09:08:46 +0000 (11:08 +0200)]
NEWS

10 years agoFix bug #67326 fileinfo: cdf_read_short_sector insufficient boundary check
Remi Collet [Tue, 3 Jun 2014 09:05:00 +0000 (11:05 +0200)]
Fix bug #67326 fileinfo: cdf_read_short_sector insufficient boundary check

Upstream fix https://github.com/file/file/commit/6d209c1c489457397a5763bca4b28e43aac90391.patch
Only revelant part applied

10 years agoFixed bug #67359 (Segfault in recursiveDirectoryIterator)
Xinchen Hui [Sun, 1 Jun 2014 11:41:01 +0000 (19:41 +0800)]
Fixed bug #67359 (Segfault in recursiveDirectoryIterator)

10 years agoCheck for zero-length keys in spl_array_skip_protected and don't skip them.
Adam Harvey [Thu, 29 May 2014 17:49:32 +0000 (17:49 +0000)]
Check for zero-length keys in spl_array_skip_protected and don't skip them.

Fixes bug #67360 (Missing element after ArrayObject::getIterator).

10 years agoupdated libmagic.patch for 5.4+
Anatol Belski [Tue, 27 May 2014 20:36:12 +0000 (22:36 +0200)]
updated libmagic.patch for 5.4+

10 years agoupdate NEWS
Stanislav Malyshev [Tue, 27 May 2014 18:26:24 +0000 (11:26 -0700)]
update NEWS

10 years agoFix bug #67249: printf out-of-bounds read
Stanislav Malyshev [Mon, 12 May 2014 01:44:14 +0000 (18:44 -0700)]
Fix bug #67249: printf out-of-bounds read

10 years agoEscape non-printable characters in the junit XML output
Matteo Beccati [Tue, 27 May 2014 09:54:34 +0000 (11:54 +0200)]
Escape non-printable characters in the junit XML output

XML doesn't allow most of the characters < 0x20 and binary output
breaks XML parsers. Such characters are not allowed as entities
either, so the generated entities are escaped in order to be printed
as text.

10 years agoFixed broken XML junit output due to escaping of CDATA sections
Matteo Beccati [Tue, 27 May 2014 09:04:48 +0000 (11:04 +0200)]
Fixed broken XML junit output due to escaping of CDATA sections

I've removed CDATA and used htmlspecialchars as the output might not be UTF-8 safe, as pointed out by ircmaxell in 26b37f1792dfaf9b0b30f81e492c8f68b9ece571

10 years agobackport this piece from 5.6, related to the #66307 fix
Anatol Belski [Thu, 24 Apr 2014 17:50:23 +0000 (19:50 +0200)]
backport this piece from 5.6, related to the #66307 fix

10 years agoFixed bug #66307 Fileinfo crashes with powerpoint files
Anatol Belski [Thu, 24 Apr 2014 17:30:34 +0000 (19:30 +0200)]
Fixed bug #66307 Fileinfo crashes with powerpoint files

10 years agoFix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degrada...
Stanislav Malyshev [Tue, 27 May 2014 00:50:14 +0000 (17:50 -0700)]
Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)

Upstream patch: https://github.com/file/file/commit/b8acc83781d5a24cc5101e525d15efe0482c280d

10 years agoFix bug #67327: fileinfo: CDF infinite loop in nelements DoS
Stanislav Malyshev [Tue, 27 May 2014 00:42:18 +0000 (17:42 -0700)]
Fix bug #67327: fileinfo: CDF infinite loop in nelements DoS

Upstream fix: https://github.com/file/file/commit/f97486ef5dc3e8735440edc4fc8808c63e1a3ef0

10 years agoFix broken Junit output with --disable-cgi
Matteo Beccati [Sat, 24 May 2014 22:07:52 +0000 (00:07 +0200)]
Fix broken Junit output with --disable-cgi

10 years agoFix broken test caused by fdb2709.
Adam Harvey [Fri, 23 May 2014 15:07:19 +0000 (15:07 +0000)]
Fix broken test caused by fdb2709.

10 years agoFix run-tests.php with Valgrind >= 3.10.0.
Adam Harvey [Thu, 22 May 2014 22:36:55 +0000 (22:36 +0000)]
Fix run-tests.php with Valgrind >= 3.10.0.

The version test that we had in run-tests.php assumed that the major and minor
version numbers were always single digits. This removes that assumption and
also uses version_compare() for the comparison instead of naively converting it
to an integer.

10 years agoAdd microseconds to the serialised form of DateTime objects.
Adam Harvey [Wed, 21 May 2014 19:55:09 +0000 (14:55 -0500)]
Add microseconds to the serialised form of DateTime objects.

Fixes bug #67308 (Serialize of DateTime truncates fractions of second).

10 years agoImproved test for bug #62479
Matteo Beccati [Wed, 21 May 2014 16:58:14 +0000 (18:58 +0200)]
Improved test for bug #62479

10 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Mon, 19 May 2014 06:43:59 +0000 (23:43 -0700)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix typo in ODBC code
  Fix bug #67060: use default mode of 660

Conflicts:
ext/odbc/php_odbc.c

10 years agofix typo in ODBC code
Stanislav Malyshev [Mon, 19 May 2014 06:42:30 +0000 (23:42 -0700)]
fix typo in ODBC code

10 years ago5.4.30 next
Stanislav Malyshev [Wed, 14 May 2014 05:20:15 +0000 (22:20 -0700)]
5.4.30 next

10 years agoupdate NEWS
Stanislav Malyshev [Wed, 14 May 2014 00:07:35 +0000 (17:07 -0700)]
update NEWS

10 years agoMerge branch 'bug67251' into PHP-5.4
Stanislav Malyshev [Tue, 13 May 2014 23:52:17 +0000 (16:52 -0700)]
Merge branch 'bug67251' into PHP-5.4

* bug67251:
  Fix bug #67251 - date_parse_from_format out-of-bounds read

Conflicts:
ext/date/lib/parse_date.c

10 years agoMerge branch 'bug67252' into PHP-5.4
Stanislav Malyshev [Tue, 13 May 2014 23:44:24 +0000 (16:44 -0700)]
Merge branch 'bug67252' into PHP-5.4

* bug67252:
  fix bug #67253: timelib_meridian_with_check out-of-bounds read
  Fix bug #67252: convert_uudecode out-of-bounds read

10 years agoMerge branch 'bug67250' into PHP-5.4
Stanislav Malyshev [Tue, 13 May 2014 23:42:23 +0000 (16:42 -0700)]
Merge branch 'bug67250' into PHP-5.4

* bug67250:
  Fix bug #67250 (iptcparse out-of-bounds read)

10 years ago- Updated to version 2014.3 (2014c)
Derick Rethans [Tue, 13 May 2014 15:36:58 +0000 (16:36 +0100)]
- Updated to version 2014.3 (2014c)

10 years agofix test - output can be chunked
Stanislav Malyshev [Mon, 12 May 2014 17:53:45 +0000 (10:53 -0700)]
fix test - output can be chunked

10 years agoFix bug #67060: use default mode of 660
Stanislav Malyshev [Tue, 15 Apr 2014 17:43:24 +0000 (10:43 -0700)]
Fix bug #67060: use default mode of 660

10 years agofix bug #67253: timelib_meridian_with_check out-of-bounds read
Stanislav Malyshev [Mon, 12 May 2014 04:09:11 +0000 (21:09 -0700)]
fix bug #67253: timelib_meridian_with_check out-of-bounds read

10 years agoFix bug #67252: convert_uudecode out-of-bounds read
Stanislav Malyshev [Mon, 12 May 2014 03:29:27 +0000 (20:29 -0700)]
Fix bug #67252: convert_uudecode out-of-bounds read

10 years agoFix bug #67251 - date_parse_from_format out-of-bounds read
Stanislav Malyshev [Mon, 12 May 2014 02:34:21 +0000 (19:34 -0700)]
Fix bug #67251 - date_parse_from_format out-of-bounds read

10 years agoFix bug #67250 (iptcparse out-of-bounds read)
Stanislav Malyshev [Mon, 12 May 2014 02:09:19 +0000 (19:09 -0700)]
Fix bug #67250 (iptcparse out-of-bounds read)

10 years agoFix bug #67247 spl_fixedarray_resize integer overflow
Stanislav Malyshev [Mon, 12 May 2014 00:54:27 +0000 (17:54 -0700)]
Fix bug #67247 spl_fixedarray_resize integer overflow

10 years agofix news
Stanislav Malyshev [Mon, 12 May 2014 00:43:28 +0000 (17:43 -0700)]
fix news