]> granicus.if.org Git - php/log
php
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

10 years agoUpdated NEWS
Bob Weinand [Sun, 11 May 2014 13:13:40 +0000 (15:13 +0200)]
Updated NEWS

10 years agoFix Linux specific fail in error traces (cherry-picked and fix for bug #67245)
Bob Weinand [Sun, 11 May 2014 13:11:03 +0000 (15:11 +0200)]
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245)
Linux apparently does not like memcpy in overlapping regions...

10 years ago- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
Felipe Pena [Sun, 11 May 2014 12:45:17 +0000 (09:45 -0300)]
- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)

10 years ago- Move checking
Felipe Pena [Sat, 10 May 2014 14:55:42 +0000 (11:55 -0300)]
- Move checking

10 years ago- Fixed missing NULL check in SimpleXMLElement::xpath()
Felipe Pena [Sat, 10 May 2014 14:53:40 +0000 (11:53 -0300)]
- Fixed missing NULL check in SimpleXMLElement::xpath()

10 years ago- Fixed missing NULL check
Felipe Pena [Sat, 10 May 2014 14:39:08 +0000 (11:39 -0300)]
- Fixed missing NULL check

10 years agooops, 5.4 and 5.5 use malloc in TSRM
Stanislav Malyshev [Thu, 8 May 2014 08:59:39 +0000 (01:59 -0700)]
oops, 5.4 and 5.5 use malloc in TSRM

10 years agoFix memory leak in TSRM
Stanislav Malyshev [Wed, 7 May 2014 20:28:03 +0000 (13:28 -0700)]
Fix memory leak in TSRM

10 years agoFixed test (it requires ext/hash)
Dmitry Stogov [Thu, 10 Apr 2014 08:14:11 +0000 (12:14 +0400)]
Fixed test (it requires ext/hash)

10 years agoFixed tests (they might fail from time to time because of session GC)
Dmitry Stogov [Fri, 11 Apr 2014 08:43:35 +0000 (12:43 +0400)]
Fixed tests (they might fail from time to time because of session GC)

10 years agoFix author name on the #63228 patch.
Adam Harvey [Fri, 2 May 2014 17:23:09 +0000 (10:23 -0700)]
Fix author name on the #63228 patch.

10 years agoUse the right path for the suggested PHP invocation in ext_skel.
Adam Harvey [Thu, 1 May 2014 18:21:34 +0000 (11:21 -0700)]
Use the right path for the suggested PHP invocation in ext_skel.

Fixes bug #67160 (ext_skel outputs incorrect information).

10 years agoadd missing NEWS entry to the correct release where it was added
Ferenc Kovacs [Thu, 1 May 2014 08:50:08 +0000 (10:50 +0200)]
add missing NEWS entry to the correct release where it was added

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 agoFixed bug #66431 Special Character via COM Interface (CP_UTF8)
Anatol Belski [Tue, 29 Apr 2014 11:40:44 +0000 (13:40 +0200)]
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)

10 years agoMerge branch 'PHP-5.3' into PHP-5.4
Popa Adrian Marius [Mon, 28 Apr 2014 09:13:11 +0000 (12:13 +0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Cleanup ZEND_MODULE_API_NO => 20050922

10 years agoCleanup ZEND_MODULE_API_NO => 20050922
Popa Adrian Marius [Mon, 28 Apr 2014 09:12:52 +0000 (12:12 +0300)]
Cleanup ZEND_MODULE_API_NO => 20050922

10 years agofixed test
Anatol Belski [Fri, 25 Apr 2014 15:39:53 +0000 (17:39 +0200)]
fixed test

10 years agoFixed bug #67118 DateTime constructor crash with invalid data
Anatol Belski [Fri, 25 Apr 2014 15:23:26 +0000 (17:23 +0200)]
Fixed bug #67118 DateTime constructor crash with invalid data

10 years agoadd a test case previously broken by a bad fix
Stanislav Malyshev [Fri, 25 Apr 2014 06:58:38 +0000 (23:58 -0700)]
add a test case previously broken by a bad fix

10 years agoRevert "Fixed bug #64604"
Stanislav Malyshev [Fri, 25 Apr 2014 06:49:52 +0000 (23:49 -0700)]
Revert "Fixed bug #64604"

This reverts commit b05c088a3abf8e4c6fb6e40418423a9e2dd3d929.
Breaks parsing urls where query has : in it, like: /foo/bar?baz=goo:boo

10 years agofix dll export
Anatol Belski [Thu, 24 Apr 2014 08:51:42 +0000 (10:51 +0200)]
fix dll export

10 years agoFix accepting ill-formed UTF-8 characters
Jakub Zelenka [Mon, 21 Apr 2014 12:02:20 +0000 (13:02 +0100)]
Fix accepting ill-formed UTF-8 characters

Conflicts:
ext/phar/phar_path_check.c

10 years agoAllow valid multi-byte utf-8 characters to be allowed as file names in phar archives.
Danack [Thu, 13 Feb 2014 14:48:51 +0000 (14:48 +0000)]
Allow valid multi-byte utf-8 characters to be allowed as file names in phar archives.

10 years agoFix a compiler warning in php_rand.h
Rouven Weßling [Mon, 24 Feb 2014 13:45:42 +0000 (14:45 +0100)]
Fix a compiler warning in php_rand.h

10 years agoFix #66908: php-fpm reload leaks epoll_create() file descriptor
Julio Pintos [Fri, 14 Mar 2014 19:47:30 +0000 (16:47 -0300)]
Fix #66908: php-fpm reload leaks epoll_create() file descriptor

This patch fixes descriptor leak which could lead to DoS once Max open files is reached

10 years agoFix bug #65701: Do not use cache for file file copy
Boro Sitnikovski [Mon, 14 Apr 2014 08:02:11 +0000 (10:02 +0200)]
Fix bug #65701: Do not use cache for file file copy

10 years agoUPGRADING note about bug #67072
Anatol Belski [Fri, 18 Apr 2014 13:43:05 +0000 (15:43 +0200)]
UPGRADING note about bug #67072

10 years agoImproved the fix for bug #67072, thanks Nikita
Anatol Belski [Fri, 18 Apr 2014 13:13:32 +0000 (15:13 +0200)]
Improved the fix for bug #67072, thanks Nikita

10 years agoThese links to ~helly don't work anymore.
Levi Morrison [Thu, 17 Apr 2014 14:46:38 +0000 (08:46 -0600)]
These links to ~helly don't work anymore.

10 years agoFixed bug #67072 Echoing unserialized "SplFileObject" crash
Anatol Belski [Thu, 17 Apr 2014 08:48:14 +0000 (10:48 +0200)]
Fixed bug #67072 Echoing unserialized "SplFileObject" crash

The actual issue lays in the unserializer code which doesn't honor
the unserialize callback. By contrast, the serialize callback is
respected. This leads to the situation that even if a class has
disabled the serialization explicitly, user could still construct
a vulnerable string which would result bad things when trying
to unserialize.

This conserns also the classes implementing Serializable as well
as some core classes disabling serialize/unserialize callbacks
explicitly (PDO, SimpleXML, SplFileInfo and co). As of now, the
flow is first to call the unserialize callback (if available),
then call __wakeup. If the unserialize callback returns with no
success, no object is instantiated. This makes the scheme used
by internal classes effective, to disable unserialize just assign
zend_class_unserialize_deny as callback.

10 years agocorrect the bug #67081 fix
Anatol Belski [Wed, 16 Apr 2014 13:06:57 +0000 (15:06 +0200)]
correct the bug #67081 fix

10 years agoFixed bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not...
Anatol Belski [Wed, 16 Apr 2014 12:13:45 +0000 (14:13 +0200)]
Fixed bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset

10 years ago5.4.29 is next
Stanislav Malyshev [Tue, 15 Apr 2014 23:51:38 +0000 (16:51 -0700)]
5.4.29 is next

10 years agoFix test - on CI somebody could create a process in the meantime
Stanislav Malyshev [Mon, 14 Apr 2014 22:43:32 +0000 (15:43 -0700)]
Fix test - on CI somebody could create a process in the meantime

10 years agofix windows build
Anatol Belski [Mon, 14 Apr 2014 21:29:38 +0000 (23:29 +0200)]
fix windows build

10 years agoFix #66942: openssl_seal() memory leak
Chuan Ma [Tue, 25 Mar 2014 03:24:41 +0000 (23:24 -0400)]
Fix #66942: openssl_seal() memory leak

Fix #66952: memory leak in openssl_open()

10 years agows fix
Stanislav Malyshev [Mon, 14 Apr 2014 20:16:53 +0000 (13:16 -0700)]
ws fix

10 years agoFix null byte in LDAP bindings
Stanislav Malyshev [Mon, 14 Apr 2014 03:43:46 +0000 (20:43 -0700)]
Fix null byte in LDAP bindings

10 years agoFix bug #66171: better handling of symlinks
Stanislav Malyshev [Mon, 14 Apr 2014 03:31:20 +0000 (20:31 -0700)]
Fix bug #66171: better handling of symlinks

10 years agobackported some ext/intl tests from 5.6 into 5.4
Anatol Belski [Mon, 14 Apr 2014 14:31:18 +0000 (16:31 +0200)]
backported some ext/intl tests from 5.6 into 5.4

10 years agoFixed bug #67033 Remove reference to Windows 95
Anatol Belski [Mon, 14 Apr 2014 07:32:31 +0000 (09:32 +0200)]
Fixed bug #67033 Remove reference to Windows 95

10 years agofix NEWS
Stanislav Malyshev [Mon, 14 Apr 2014 03:16:27 +0000 (20:16 -0700)]
fix NEWS

10 years agoMerge branch 'pull-request/518' into PHP-5.4
Stanislav Malyshev [Mon, 14 Apr 2014 01:50:39 +0000 (18:50 -0700)]
Merge branch 'pull-request/518' into PHP-5.4

* pull-request/518:
  Fix #66021 (Blank line inside empty array/object)

10 years agoFixed bug #64604
Ingo Walz [Sat, 23 Nov 2013 01:31:23 +0000 (02:31 +0100)]
Fixed bug #64604

10 years agoFix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec
Freek [Tue, 28 Jan 2014 10:47:14 +0000 (11:47 +0100)]
Fix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec

curl_exec returns an empty string when data is received from a domain that returns zero content. curl_multi_getcontent
returned null. Now it returns an empty string fixing the incosistency

10 years agoFix bug #66482, replace wrong item name 'priority' with 'process.priority' in php...
itxx00 [Thu, 16 Jan 2014 08:34:39 +0000 (16:34 +0800)]
Fix bug #66482, replace wrong item name 'priority' with 'process.priority' in php-fpm.conf

10 years agoFix windows build
Stanislav Malyshev [Mon, 14 Apr 2014 00:02:21 +0000 (17:02 -0700)]
Fix windows build

10 years agoFix bug #66721
Boro Sitnikovski [Mon, 17 Feb 2014 00:07:52 +0000 (01:07 +0100)]
Fix bug #66721

Add NULL check to php_date_parse_tzfile's retval

10 years agofix apr_psprintf format string from e0df4e3dba7c4ab92442b9e82c1de01fdbaa3cce
Jeff Trawick [Sun, 13 Apr 2014 20:37:16 +0000 (16:37 -0400)]
fix apr_psprintf format string from e0df4e3dba7c4ab92442b9e82c1de01fdbaa3cce

10 years agoFixed bug #67024 - getimagesize should recognize BMP files with negative height
Gabor Buella [Fri, 4 Apr 2014 22:17:25 +0000 (00:17 +0200)]
Fixed bug #67024 - getimagesize should recognize BMP files with negative height

10 years agoReverted to 5a0da281e5a9fa02db18b4822d8b103c65849fa9
Bob Weinand [Sun, 13 Apr 2014 21:01:31 +0000 (23:01 +0200)]
Reverted to 5a0da281e5a9fa02db18b4822d8b103c65849fa9
Discussion: http://news.php.net/php.cvs/76836

10 years agoForgot title in phpt for bug #67064
Bob Weinand [Sun, 13 Apr 2014 17:34:17 +0000 (19:34 +0200)]
Forgot title in phpt for bug #67064

10 years agoUpdated NEWS
Bob Weinand [Sun, 13 Apr 2014 17:32:51 +0000 (19:32 +0200)]
Updated NEWS

10 years agoFix bug #67064 in a BC safe way
Bob Weinand [Sun, 13 Apr 2014 17:19:24 +0000 (19:19 +0200)]
Fix bug #67064 in a BC safe way
You can use an optional parameter now when implementing the Countable interface
to get the $mode passed to count().

10 years agofix typo
Ferenc Kovacs [Sat, 12 Apr 2014 23:55:55 +0000 (01:55 +0200)]
fix typo

10 years agoMade usage of php_hash_environment useful by updating instead of just adding argc
Bob Weinand [Sat, 12 Apr 2014 21:50:47 +0000 (23:50 +0200)]
Made usage of php_hash_environment useful by updating instead of just adding argc

10 years agoCleanup $ is not needed for git
Popa Adrian Marius [Thu, 10 Apr 2014 14:42:32 +0000 (17:42 +0300)]
Cleanup $ is not needed for git

10 years agofix typo
Ferenc Kovacs [Thu, 10 Apr 2014 05:05:07 +0000 (07:05 +0200)]
fix typo

10 years agoabstract namespace for unix sockets is a linux only feature
Ferenc Kovacs [Wed, 9 Apr 2014 17:01:01 +0000 (19:01 +0200)]
abstract namespace for unix sockets is a linux only feature

10 years agocleanup
Popa Adrian Marius [Tue, 8 Apr 2014 12:29:32 +0000 (15:29 +0300)]
cleanup

10 years agoFixes bug #66071: isc_interprete is unsafe and deprecated , it is replaced with fb_it...
Popa Adrian Marius [Tue, 8 Apr 2014 11:11:58 +0000 (14:11 +0300)]
Fixes bug #66071: isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret

10 years agoFixed bug #66084 simplexml_load_string() mangles empty node name
Anatol Belski [Sat, 5 Apr 2014 07:46:24 +0000 (09:46 +0200)]
Fixed bug #66084 simplexml_load_string() mangles empty node name

10 years agocleanup NEWS
Stanislav Malyshev [Thu, 3 Apr 2014 22:53:43 +0000 (15:53 -0700)]
cleanup NEWS

10 years agoFix Bug #66736 fpassthru broken
Michael Wallner [Thu, 3 Apr 2014 08:40:06 +0000 (10:40 +0200)]
Fix Bug #66736  fpassthru broken

10 years agoFix bug #66182 exit in stream filter produces segfault
Michael Wallner [Thu, 3 Apr 2014 07:07:35 +0000 (09:07 +0200)]
Fix bug #66182  exit in stream filter produces segfault

Unfortunately, a segv caused by exit cannot be tested reliably.

10 years agoFixed bug #61019 (Out of memory on command stream_get_contents)
Michael Wallner [Wed, 2 Apr 2014 13:36:39 +0000 (15:36 +0200)]
Fixed bug #61019 (Out of memory on command stream_get_contents)

10 years agoFix bug #64330
Michael Wallner [Wed, 2 Apr 2014 09:09:26 +0000 (11:09 +0200)]
Fix bug #64330

stream_socket_server() creates wrong Abstract Namespace UNIX sockets