Derick Rethans [Wed, 27 Nov 2013 22:00:53 +0000 (22:00 +0000)]
Merge branch 'bug53879' into PHP-5.4
Derick Rethans [Wed, 27 Nov 2013 21:59:46 +0000 (21:59 +0000)]
Fixed bug #53879 (DateTime::createFromFormat() fails to parse cookie expiration date)
Dmitry Stogov [Wed, 27 Nov 2013 10:58:54 +0000 (14:58 +0400)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src:
Fixed bug #66060 (Heap buffer over-read in DateInterval)
Dmitry Stogov [Wed, 27 Nov 2013 10:26:34 +0000 (14:26 +0400)]
Fixed bug #65969 (Chain assignment with T_LIST failure)
Remi Collet [Wed, 27 Nov 2013 10:13:16 +0000 (11:13 +0100)]
Fixed bug #66060 (Heap buffer over-read in DateInterval)
Stanislav Malyshev [Wed, 27 Nov 2013 08:13:45 +0000 (00:13 -0800)]
5.4.24-dev now
Andrey Hristov [Tue, 26 Nov 2013 17:15:12 +0000 (19:15 +0200)]
add test
Andrey Hristov [Tue, 26 Nov 2013 17:01:49 +0000 (19:01 +0200)]
Fix for Bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query)
Andrey Hristov [Mon, 25 Nov 2013 19:31:51 +0000 (21:31 +0200)]
bring the news
Anatol Belski [Thu, 21 Nov 2013 20:24:47 +0000 (21:24 +0100)]
fixed test
Andrey Hristov [Thu, 21 Nov 2013 19:29:21 +0000 (21:29 +0200)]
And here is the real fix for #66124
Andrey Hristov [Thu, 21 Nov 2013 19:14:42 +0000 (21:14 +0200)]
Fix for Bug #66124 (mysqli under mysqlnd loses precision when bind_param with 'i')
Anatol Belski [Wed, 20 Nov 2013 09:09:11 +0000 (10:09 +0100)]
permanently deactivate that place, not on runtime only
besides the two "if" checks, this fixes static analyze which is sometimes
broken because of this
Yasuo Ohgaki [Tue, 19 Nov 2013 22:17:53 +0000 (07:17 +0900)]
Fix WS in serialization_error_002.phpt
Aaron Hamid [Mon, 18 Nov 2013 03:59:42 +0000 (22:59 -0500)]
added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
Jeff Welch [Fri, 8 Nov 2013 18:07:22 +0000 (13:07 -0500)]
Fixed tests that fail with non-default `serialize_precision` configurations.
See:
* https://bugs.php.net/bug.php?id=64760
*
4dc4302
Remi Collet [Tue, 19 Nov 2013 11:41:58 +0000 (12:41 +0100)]
avoid doing a stream_select on a closed stream
Xinchen Hui [Sun, 17 Nov 2013 09:04:37 +0000 (17:04 +0800)]
Fixed Bug #66094 (unregister_tick_function tries to cast a Closure to a string)
Adam Harvey [Sun, 10 Nov 2013 20:46:31 +0000 (15:46 -0500)]
Update NEWS and remove the unnecessary UPGRADING note.
Adam Harvey [Sun, 10 Nov 2013 20:43:56 +0000 (15:43 -0500)]
Merge remote-tracking branch 'ajf/JSONWhitespaceFix' into PHP-5.4
Rasmus Lerdorf [Sat, 9 Nov 2013 17:45:52 +0000 (09:45 -0800)]
Fix broken test
Xinchen Hui [Fri, 8 Nov 2013 07:32:28 +0000 (15:32 +0800)]
Fixed bug #65947 (basename is no more working after fgetcsv in certain situation)
previous codes: "#define php_mblen(ptr, len) ((ptr) == NULL ? mbsinit(&BG(mblen_state)):
(int)mbrlen(ptr, len, &BG(mblen_state)))#
it use mbsinit there, seems try to initialize the mblen_state, but:
"This function does not change the state identified by ps. Typical ways
to make the state pointed by ps an initial state are:
memset (ps,0,sizeof(*ps)); // ps points to zero-valued object
"
http://www.cplusplus.com/reference/cwchar/mbsinit/?kw=mbsinit
Xinchen Hui [Fri, 8 Nov 2013 07:06:36 +0000 (15:06 +0800)]
Fixed Bug #66043 (Segfault calling bind_param() on mysqli)
Although the doc said it is (unsigned int *), but it is ulong* in the
libmysql 5.0 's source codes
Rasmus Lerdorf [Fri, 8 Nov 2013 02:15:15 +0000 (18:15 -0800)]
NEWS entry
Rasmus Lerdorf [Fri, 8 Nov 2013 02:05:08 +0000 (18:05 -0800)]
Fix bug #65946 - pdo_sql_parser.c permanently converts values bound to strings
Rasmus Lerdorf [Thu, 7 Nov 2013 15:55:26 +0000 (07:55 -0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src: (65 commits)
Add a couple more test cases to parse_url() tests
fix missing change from 'tcp_socket' to the more common 'server'
fix many parallel test issues
Cleanup temp test file
Fixed Bug #66034 (Segmentation Fault when constructor of PDO statement throws an exception)
Typo fix: umknown -> unknown
Fix bug #66008
5.4.23-dev
Update NEWS
Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
add bundled libzip LICENSE, as required by BSD License terms
- Updated to version 2013.8 (2013h)
remove "PHP 6" staff
Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
- Updated to version 2013.7 (2013g)
Fix Coverity issue reporting wrong sizeof()
exif NEWS
add tests for bug #62523
Merged PR #293 (Exif crash on unknown encoding was fixed) By: Draal Conflicts: configure.in main/php_version.h
Just SKIP that test on travis
...
Sara Golemon [Wed, 10 Jul 2013 15:26:47 +0000 (08:26 -0700)]
Add a couple more test cases to parse_url() tests
http://::# (valid but silly)
http://# (invalid)
ptarjan [Thu, 26 Sep 2013 08:06:36 +0000 (01:06 -0700)]
fix missing change from 'tcp_socket' to the more common 'server'
ptarjan [Thu, 26 Sep 2013 07:18:05 +0000 (00:18 -0700)]
fix many parallel test issues
While running these on HHVM I've run into a lot of parallelism issues.
I'm backporting all the fixes I had to do in
https://github.com/facebook/hiphop-php/blob/master/hphp/tools/import_zend_test.py#L650
to php core.
Most of these changes were just filenames that were shared between
tests, but I did more surgery on the fixed ports. I can apreciate port
31337 as much as the next nerd, but random ports are better for tests.
Christopher Jones [Wed, 10 Jul 2013 18:17:52 +0000 (11:17 -0700)]
Cleanup temp test file
Xinchen Hui [Tue, 5 Nov 2013 03:04:55 +0000 (11:04 +0800)]
Fixed Bug #66034 (Segmentation Fault when constructor of PDO statement throws an exception)
I know zend_call_function will initilize retval_ptr_ptr, but still set
it to NULL explict is more readable
Xinchen Hui [Tue, 5 Nov 2013 03:03:47 +0000 (11:03 +0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Lior Kaplan [Thu, 31 Oct 2013 21:12:41 +0000 (23:12 +0200)]
Typo fix: umknown -> unknown
Rasmus Lerdorf [Thu, 31 Oct 2013 10:06:35 +0000 (03:06 -0700)]
Fix bug #66008
Stanislav Malyshev [Wed, 30 Oct 2013 01:11:02 +0000 (18:11 -0700)]
5.4.23-dev
Yasuo Ohgaki [Tue, 29 Oct 2013 08:38:22 +0000 (17:38 +0900)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src:
add bundled libzip LICENSE, as required by BSD License terms
Yasuo Ohgaki [Tue, 29 Oct 2013 08:27:49 +0000 (17:27 +0900)]
Update NEWS
Yasuo Ohgaki [Tue, 29 Oct 2013 08:24:23 +0000 (17:24 +0900)]
Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
Remi Collet [Tue, 29 Oct 2013 08:02:24 +0000 (09:02 +0100)]
add bundled libzip LICENSE, as required by BSD License terms
Yasuo Ohgaki [Tue, 29 Oct 2013 05:03:17 +0000 (14:03 +0900)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src:
- Updated to version 2013.8 (2013h)
Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
- Updated to version 2013.7 (2013g)
Derick Rethans [Mon, 28 Oct 2013 14:12:30 +0000 (15:12 +0100)]
- Updated to version 2013.8 (2013h)
Derick Rethans [Mon, 28 Oct 2013 14:08:57 +0000 (15:08 +0100)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Xinchen Hui [Sun, 27 Oct 2013 08:53:05 +0000 (16:53 +0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Xinchen Hui [Sun, 27 Oct 2013 08:52:43 +0000 (16:52 +0800)]
remove "PHP 6" staff
Yasuo Ohgaki [Sat, 26 Oct 2013 01:31:21 +0000 (10:31 +0900)]
Fixed bug #65950 Field name truncation if the field name is bigger than 32 characters
Derick Rethans [Wed, 23 Oct 2013 21:33:53 +0000 (22:33 +0100)]
- Updated to version 2013.7 (2013g)
Yasuo Ohgaki [Tue, 22 Oct 2013 03:27:18 +0000 (12:27 +0900)]
Fix Coverity issue reporting wrong sizeof()
Yasuo Ohgaki [Tue, 22 Oct 2013 03:23:07 +0000 (12:23 +0900)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
* 'PHP-5.4' of git.php.net:php-src: (101 commits)
exif NEWS
add tests for bug #62523
Merged PR #293 (Exif crash on unknown encoding was fixed) By: Draal Conflicts: configure.in main/php_version.h
Just SKIP that test on travis
fix memory leak on error (from Coverity scan)
Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
5.4.21 release date
When src->src is null this doesn't get initialized but it is still used, so the passed in *ze will point to unitialized memory. Hopefully src->src is never null, but just in case this initialization doesn't hurt.
Fix typo
Clean up this weird safe_emalloc() call
Minor Coverity tweaks
- Moved NULL check before dereferencing
- Fixed possible NULL ptr dereference
- Fixed possible uninitialized scalar variable usage (spotted by Coverity)
Remove senseless check here
- Fix extern declaration according to definition
- Fix possible memory leak
- Moved allocation to if block to make Coverity happy
- Fixed possible memory leak
Fix unitialized opened_path here - found by Coverity
...
Michael Wallner [Mon, 21 Oct 2013 20:44:37 +0000 (22:44 +0200)]
exif NEWS
Michael Wallner [Mon, 21 Oct 2013 20:15:09 +0000 (22:15 +0200)]
add tests for bug #62523
Michael Wallner [Mon, 21 Oct 2013 19:48:27 +0000 (21:48 +0200)]
Merged PR #293 (Exif crash on unknown encoding was fixed)
By:
Draal
Conflicts:
configure.in
main/php_version.h
Michael Wallner [Mon, 21 Oct 2013 10:16:41 +0000 (12:16 +0200)]
Just SKIP that test on travis
Stanislav Malyshev [Mon, 21 Oct 2013 07:01:24 +0000 (00:01 -0700)]
fix memory leak on error (from Coverity scan)
Stanislav Malyshev [Mon, 21 Oct 2013 05:04:21 +0000 (22:04 -0700)]
Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
Stanislav Malyshev [Mon, 21 Oct 2013 02:59:39 +0000 (19:59 -0700)]
5.4.21 release date
Rasmus Lerdorf [Mon, 21 Oct 2013 05:15:35 +0000 (22:15 -0700)]
When src->src is null this doesn't get initialized
but it is still used, so the passed in *ze will point
to unitialized memory. Hopefully src->src is never
null, but just in case this initialization doesn't hurt.
Rasmus Lerdorf [Mon, 21 Oct 2013 00:55:55 +0000 (17:55 -0700)]
Fix typo
Rasmus Lerdorf [Sun, 20 Oct 2013 16:36:50 +0000 (09:36 -0700)]
Clean up this weird safe_emalloc() call
Rasmus Lerdorf [Sun, 20 Oct 2013 15:55:48 +0000 (08:55 -0700)]
Minor Coverity tweaks
Felipe Pena [Sun, 20 Oct 2013 11:50:11 +0000 (09:50 -0200)]
- Moved NULL check before dereferencing
Felipe Pena [Sun, 20 Oct 2013 11:04:24 +0000 (09:04 -0200)]
- Fixed possible NULL ptr dereference
Felipe Pena [Sun, 20 Oct 2013 10:52:31 +0000 (08:52 -0200)]
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
Felipe Pena [Sun, 20 Oct 2013 10:51:09 +0000 (08:51 -0200)]
- Fixed possible uninitialized scalar variable usage (spotted by Coverity)
Rasmus Lerdorf [Sun, 20 Oct 2013 03:55:02 +0000 (20:55 -0700)]
Remove senseless check here
Felipe Pena [Sun, 20 Oct 2013 03:16:07 +0000 (01:16 -0200)]
- Fix extern declaration according to definition
Felipe Pena [Sun, 20 Oct 2013 03:04:55 +0000 (01:04 -0200)]
- Fix possible memory leak
Felipe Pena [Sun, 20 Oct 2013 02:36:28 +0000 (23:36 -0300)]
- Moved allocation to if block to make Coverity happy
Felipe Pena [Sun, 20 Oct 2013 02:29:34 +0000 (23:29 -0300)]
- Fixed possible memory leak
Rasmus Lerdorf [Sun, 20 Oct 2013 02:24:17 +0000 (19:24 -0700)]
Fix unitialized opened_path here - found by Coverity
Rasmus Lerdorf [Sun, 20 Oct 2013 00:37:59 +0000 (17:37 -0700)]
Initialize these to make Coverity happy
Lior Kaplan [Sat, 19 Oct 2013 20:53:23 +0000 (23:53 +0300)]
Typo fix: managment -> management
Lior Kaplan [Sat, 19 Oct 2013 20:52:43 +0000 (23:52 +0300)]
Use minus sign instead of hyphen
Rasmus Lerdorf [Sat, 19 Oct 2013 07:01:13 +0000 (00:01 -0700)]
Merge branch 'pull-request/499'
Fix RFC 6598 IPv4 Reserved Range Checks
Michael Wallner [Fri, 9 Aug 2013 06:32:39 +0000 (08:32 +0200)]
use $YACC instead of 'bison' as suggested by Yasuo
Conflicts:
Zend/acinclude.m4
bwoebi [Wed, 16 Oct 2013 14:04:23 +0000 (16:04 +0200)]
Fixed bug #65911 ($this not usable as static property)
In context of static accesses like classname::$this, the string
"$this" should not be handled like a $this variable, but as an
identifier for a static variable.
Andrea Faulds [Tue, 15 Oct 2013 22:44:23 +0000 (22:44 +0000)]
UPGRADING and NEWS
Andrea Faulds [Tue, 15 Oct 2013 22:38:46 +0000 (22:38 +0000)]
Merge branch 'PHP-5.4' into JSONWhitespaceFix
Andrea Faulds [Tue, 15 Oct 2013 20:42:31 +0000 (20:42 +0000)]
Better test: Check combined leading/trailing
Anatol Belski [Mon, 14 Oct 2013 15:12:32 +0000 (17:12 +0200)]
fix whitespaces
Anatol Belski [Mon, 14 Oct 2013 14:07:26 +0000 (16:07 +0200)]
added notes about the PECL site conformity
Anatol Belski [Mon, 14 Oct 2013 12:18:43 +0000 (14:18 +0200)]
fixed skeleton to produce the normalized ext version macros
See http://news.php.net/php.pecl.dev/11191 for more info.
Felipe Pena [Sat, 12 Oct 2013 21:06:20 +0000 (18:06 -0300)]
- Fixed possible memory leak
Christopher Jones [Wed, 9 Oct 2013 16:40:54 +0000 (09:40 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
# By Daniel Lowrey (1) and Michael Wallner (1)
# Via Michael Wallner
* 'PHP-5.4' of https://git.php.net/repository/php-src:
C89 compatibility
Fixed segfault when built with OpenSSL >= 1.0.1
Michael Wallner [Wed, 9 Oct 2013 10:30:31 +0000 (12:30 +0200)]
C89 compatibility
Daniel Lowrey [Mon, 7 Oct 2013 19:02:48 +0000 (15:02 -0400)]
Fixed segfault when built with OpenSSL >= 1.0.1
(PR #481)
ArunSK [Sun, 6 Oct 2013 22:26:49 +0000 (00:26 +0200)]
fixing a minor typo in CODING_STANDARDS document
Stanley Sufficool [Sun, 6 Oct 2013 03:59:20 +0000 (20:59 -0700)]
FIX BUG #65219 - Typo correction
Stanley Sufficool [Sat, 5 Oct 2013 16:57:13 +0000 (09:57 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/push/php-src into PHP-5.4
* 'PHP-5.4' of https://git.php.net/push/php-src:
- Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)
- BFN
Fix bug #65667: ftp_nb_continue produces segfault
fix bug #64146 (serialize incorrectly saving objects when they are cloned)
such a weird hack probably helps in finding regressions in the future
Fixed bug #64230 (XMLReader does not suppress errors)
typo: really fix bug #51936 Crash with clone xmlreader
fix bug #59613 (Crash with clone XMLReader)
fix bug #65808 the socket_connect() won't work with IPv6 address
5.4.22-dev now
fix bug #62396 'make test' crashes starting with 5.3.14 (missing gzencode())
Fixed bug #61548
fix test
fix memleak on resetting rebind_proc
Fix bug #65322: compile time errors won't trigger auto loading
5.4.20 release date
Add information about which INI file is which inside respective files
- Updated to version 2013.6 (2013f)
Stanley Sufficool [Sat, 5 Oct 2013 16:54:45 +0000 (09:54 -0700)]
FIX BUG #65219 - USE DB not being sent for FreeTDS version < 0.92
FreeTDS <0.92 does not support DBSETLDBNAME option and therefore
will not work with SQL Azure. Fallback to dbuse command in
letter versions.
Felipe Pena [Sat, 5 Oct 2013 15:52:55 +0000 (12:52 -0300)]
- Fixed bug #65818 (Segfault with built-in webserver and chunked transfer encoding)
Felipe Pena [Sat, 5 Oct 2013 15:52:32 +0000 (12:52 -0300)]
- BFN
Christopher Jones [Fri, 4 Oct 2013 17:50:53 +0000 (10:50 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
* 'PHP-5.4' of https://git.php.net/repository/php-src:
Fix bug #65667: ftp_nb_continue produces segfault
fix bug #64146 (serialize incorrectly saving objects when they are cloned)
such a weird hack probably helps in finding regressions in the future
Philip Hofstetter [Wed, 2 Oct 2013 06:35:02 +0000 (08:35 +0200)]
Fix bug #65667: ftp_nb_continue produces segfault
the idea behind ftp_nb_get is for it to be followed by multiple calls
to ftp_nb_continue in order to download a file piece-by-piece.
As such, it's unwise to close the stream used to write the downloaded
data to when the file hasn't been completely downloaded within the first
call to ftp_nb_get.
This regression was added in
a93a462dcefd62e07963dd2da506fbb3409c88b5
and this patch restores the behavior that was seen pre-patch.
Michael Wallner [Fri, 4 Oct 2013 14:16:15 +0000 (16:16 +0200)]
fix bug #64146 (serialize incorrectly saving objects when they are
cloned)
Michael Wallner [Fri, 4 Oct 2013 14:11:49 +0000 (16:11 +0200)]
such a weird hack probably helps in finding regressions in the future
Christopher Jones [Fri, 4 Oct 2013 12:40:30 +0000 (05:40 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
* 'PHP-5.4' of https://git.php.net/repository/php-src:
Fixed bug #64230 (XMLReader does not suppress errors)
Michael Wallner [Fri, 4 Oct 2013 09:22:17 +0000 (11:22 +0200)]
Fixed bug #64230 (XMLReader does not suppress errors)
Christopher Jones [Thu, 3 Oct 2013 12:40:24 +0000 (05:40 -0700)]
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
* 'PHP-5.4' of https://git.php.net/repository/php-src:
typo: really fix bug #51936 Crash with clone xmlreader
fix bug #59613 (Crash with clone XMLReader)
fix bug #65808 the socket_connect() won't work with IPv6 address
Michael Wallner [Thu, 3 Oct 2013 11:34:31 +0000 (13:34 +0200)]
typo: really fix bug #51936 Crash with clone xmlreader
Michael Wallner [Thu, 3 Oct 2013 11:28:41 +0000 (13:28 +0200)]
fix bug #59613 (Crash with clone XMLReader)