Stanislav Malyshev
d6d5fb0aa1
5.5.28
2015-08-04 23:58:00 -07:00
Stanislav Malyshev
2425f88afd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test
2015-08-04 16:45:32 -07:00
Stanislav Malyshev
da5321013c
fix test
2015-08-04 16:45:20 -07:00
Stanislav Malyshev
f2f8ea9ac5
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
__wakeup doesn't have to be final
2015-08-04 16:13:43 -07:00
Stanislav Malyshev
f1acac154a
__wakeup doesn't have to be final
2015-08-04 16:13:26 -07:00
Stanislav Malyshev
d52c485717
update NEWS
2015-08-04 15:22:59 -07:00
Stanislav Malyshev
742c54aecf
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test
update NEWS
2015-08-04 14:46:30 -07:00
Stanislav Malyshev
0a21b5d970
fix test
2015-08-04 14:46:19 -07:00
Stanislav Malyshev
ee61c7175f
update NEWS
2015-08-04 14:37:28 -07:00
Stanislav Malyshev
69ed3969dd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #70019 - limit extracted files to given directory
Do not do convert_to_* on unserialize, it messes up references
Fix #69793 - limit what we accept when unserializing exception
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
ignore signatures for packages too
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
Fixed bug #69892
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
Improved fix for Bug #69441
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
Fix bug #70081 : check types for SOAP variables
Conflicts:
.gitignore
ext/date/php_date.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
2015-08-04 14:10:57 -07:00
Stanislav Malyshev
51f9a00b47
Merge branch 'PHP-5.4' into PHP-5.4.44
...
* PHP-5.4:
Fixed bug #69892
Adjust Git-Rules
2015-08-04 14:04:24 -07:00
Stanislav Malyshev
dda81f0505
Fix bug #70019 - limit extracted files to given directory
2015-08-04 14:02:31 -07:00
Stanislav Malyshev
0e09009753
Do not do convert_to_* on unserialize, it messes up references
2015-08-04 13:59:56 -07:00
Stanislav Malyshev
4d2278143a
Fix #69793 - limit what we accept when unserializing exception
2015-08-01 22:02:26 -07:00
Stanislav Malyshev
863bf294fe
Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList)
2015-08-01 22:01:51 -07:00
Stanislav Malyshev
7381b6accc
Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject
2015-08-01 22:01:40 -07:00
Stanislav Malyshev
c7d3c027d5
ignore signatures for packages too
2015-08-01 22:01:32 -07:00
Stanislav Malyshev
c2e197e4ef
Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage
2015-08-01 22:01:17 -07:00
Nikita Popov
7fc04937f5
Fixed bug #69892
2015-08-01 20:47:43 -07:00
Julien Pauli
66edc15875
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Adjust Git-Rules
5.4.44 next
Conflicts:
configure.in
main/php_version.h
2015-07-29 10:04:08 +02:00
Julien Pauli
8f1baa6e1c
Adjust Git-Rules
2015-07-29 10:02:39 +02:00
Anatol Belski
ce5c4500cd
Fixed bug #70002 TS issues with temporary dir handling
2015-07-28 17:41:38 +02:00
Stanislav Malyshev
16023f3e3b
Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes
2015-07-26 17:43:16 -07:00
Stanislav Malyshev
7a4584d3f6
Improved fix for Bug #69441
2015-07-26 17:31:12 -07:00
Stanislav Malyshev
b7fa67742c
Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items)
2015-07-26 17:25:25 -07:00
Stanislav Malyshev
e488690d95
Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref)
2015-07-26 17:10:24 -07:00
Stanislav Malyshev
c96d08b272
Fix bug #70081 : check types for SOAP variables
2015-07-26 16:44:18 -07:00
Ferenc Kovacs
daa0abaf77
make the travis irc notification a oneliner
2015-07-26 22:06:26 +02:00
Julien Pauli
34b624f122
5.5.27 release
2015-07-08 16:59:44 +02:00
Stanislav Malyshev
496f291f3d
5.4.44 next
2015-07-07 15:07:28 -07:00
Stanislav Malyshev
b4b082e63e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Better fix for bug #69958
update news
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
Conflicts:
ext/mysqlnd/mysqlnd.c
2015-07-07 10:09:34 -07:00
Stanislav Malyshev
545eddba93
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
add missing second argument for ucfirst to the proto
2015-07-07 10:08:37 -07:00
Stanislav Malyshev
885edfef0a
Better fix for bug #69958
2015-07-07 09:38:31 -07:00
Stanislav Malyshev
c8157619ef
update news
2015-07-07 09:38:31 -07:00
Stanislav Malyshev
97aa752fee
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
2015-07-07 09:38:31 -07:00
Stanislav Malyshev
6dedeb40db
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
2015-07-07 09:38:31 -07:00
Stanislav Malyshev
bf58162ddf
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
2015-07-07 09:38:30 -07:00
Ferenc Kovacs
b6f5cb11a4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add missing second argument for ucfirst to the proto
2015-07-07 15:49:16 +02:00
Ferenc Kovacs
29533ae528
add missing second argument for ucfirst to the proto
2015-07-07 15:48:55 +02:00
Stanislav Malyshev
ed84af4b88
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Better fix for bug #69958
2015-07-07 00:01:42 -07:00
Stanislav Malyshev
eda31f57fb
Better fix for bug #69958
2015-07-07 00:01:26 -07:00
Stanislav Malyshev
09de64a58d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Better fix for bug #69958
2015-07-06 23:03:05 -07:00
Stanislav Malyshev
61b0b80388
Better fix for bug #69958
2015-07-06 22:58:28 -07:00
Stanislav Malyshev
485b7c6981
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update news
2015-07-06 21:53:02 -07:00
Stanislav Malyshev
c938d2f537
update news
2015-07-06 21:52:56 -07:00
Stanislav Malyshev
303d97feda
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
Conflicts:
ext/mysqlnd/mysqlnd.c
2015-07-06 21:52:49 -07:00
Stanislav Malyshev
0d2f147d80
Fix bug #69669 (mysqlnd is vulnerable to BACKRONYM)
2015-07-06 21:50:01 -07:00
Stanislav Malyshev
3e88d610e5
Fix bug #69923 - Buffer overflow and stack smashing error in phar_fix_filepath
2015-07-04 23:47:48 -07:00
Stanislav Malyshev
452d30cf7d
Fix bug #69958 - Segfault in Phar::convertToData on invalid file
2015-07-04 21:01:50 -07:00
Stanislav Malyshev
8f2e08239f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Move strlen() check to php_mail_detect_multiple_crlf()
Fixed Bug #69874 : Can't set empty additional_headers for mail()
2015-06-28 20:23:00 -07:00
Stanislav Malyshev
cd9c39d77c
Merge branch 'pull-request/1350' into PHP-5.4
...
* pull-request/1350:
Move strlen() check to php_mail_detect_multiple_crlf()
Fixed Bug #69874 : Can't set empty additional_headers for mail()
2015-06-28 20:18:56 -07:00
Anatol Belski
80f9a9725c
fix unknown size of void error
2015-06-25 19:12:26 +02:00
Julien Pauli
8e440dc1d7
5.5.28 now - Security Only
2015-06-24 10:41:06 +02:00
Christoph M. Becker
cd068b1ed6
Made bug44295-win.phpt locale independent
...
Formerly it failed on non English installations.
2015-06-24 01:41:33 +02:00
Christoph M. Becker
b03f743e7d
updated NEWS
2015-06-24 00:31:07 +02:00
Christoph M. Becker
8da8dc04b6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated NEWS
Fixed bug #69768 (escapeshell*() doesn't cater to !)
bump API version to 6.8
2015-06-24 00:23:39 +02:00
Christoph M. Becker
921544cad9
updated NEWS
2015-06-24 00:20:32 +02:00
Christoph M. Becker
a621781fdb
Fixed bug #69768 (escapeshell*() doesn't cater to !)
...
When delayed variable substitution is enabled (can be set in the
Registry, for instance), !ENV! works similar to %ENV%, and so ! should
be escaped like %.
2015-06-24 00:15:55 +02:00
Christoph M. Becker
1cbcbcbc21
updated NEWS
2015-06-23 19:32:18 +02:00
Christoph M. Becker
23e25f3319
Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)
...
When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always have to advance to the next code point when the
u modifier is given, instead of to the next byte.
2015-06-23 19:28:09 +02:00
Christoph M. Becker
eef6b10b7c
Moved NEWS entry for bug #69864 to proper category
2015-06-23 17:27:21 +02:00
Christoph M. Becker
75b2ce28aa
updated NEWS
2015-06-23 13:02:08 +02:00
Christoph M. Becker
a39beaa251
Fixed bug #69864 (Segfault in preg_replace_callback)
...
When preg_replace_callback() is used, cache entries which are in use must not
be removed. We ensure that by deploying a simple refcounting mechanism.
2015-06-23 13:00:17 +02:00
George Wang
b0954ebb79
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2015-06-22 23:39:53 -04:00
George Wang
8877feaeec
bump API version to 6.8
2015-06-22 23:39:23 -04:00
George Wang
fdb580a5ad
bump API version to 6.8
2015-06-22 23:38:38 -04:00
Nikita Popov
5fe078abba
Fixed bug #69892
2015-06-20 16:40:14 +02:00
Yasuo Ohgaki
d263ecd864
Move strlen() check to php_mail_detect_multiple_crlf()
2015-06-19 15:17:56 +09:00
Yasuo Ohgaki
dacea3f6fb
Fixed Bug #69874 : Can't set empty additional_headers for mail()
2015-06-19 12:19:12 +09:00
Xinchen Hui
6a8db93115
Merge branch 'patch-3' of https://github.com/s0ph1e/php-src into PHP-5.5
2015-06-19 09:35:28 +08:00
Anatol Belski
c0119ca7f3
updated NEWS
2015-06-18 22:02:37 +02:00
Christian Wenz
a85156db7d
fixes bug #69835 : phpinfo() does not report many Windows SKUs
2015-06-18 22:01:20 +02:00
Sophia Nepochataya
1edb2e9a10
Remove excess variable in mail.c (5.5 branch)
2015-06-18 20:06:08 +03:00
Lior Kaplan
ca33ae3eb2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #69689 (Align PCRE_MINOR with current version)
2015-06-18 17:34:53 +03:00
Lior Kaplan
cc7194dd10
Fixed bug #69689 (Align PCRE_MINOR with current version)
2015-06-18 17:30:21 +03:00
Lior Kaplan
991b2cc37b
Add CVE to bugs #69545 , #69646 and #69667
2015-06-18 16:51:20 +03:00
Lior Kaplan
189af22cf0
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add CVE to bugs #69545 , #69646 and #69667
2015-06-18 15:50:11 +03:00
Lior Kaplan
5f67caad54
Add CVE to bugs #69545 , #69646 and #69667
2015-06-18 15:45:10 +03:00
Sara Golemon
d241711f44
Fix buffer growth in sockets/conversion.c
...
memset() the *end* of the new buffer, not the beginning
Copy the pointer to the buffer, not its initial contents
Fixes bug 69619
2015-06-17 13:34:20 -07:00
Christoph M. Becker
61d58f2d9e
updated NEWS
2015-06-17 02:17:40 +02:00
Christoph M. Becker
7469c7e7d0
Fixed bug #61221 - imagegammacorrect function loses alpha channel
...
When applying imagegammacorrect() the alpha channel is now fully retained, instead of being completely lost.
2015-06-17 02:15:59 +02:00
Derick Rethans
558342124e
- Updated to version 2015.5 (2015e)
2015-06-15 10:41:29 +01:00
Derick Rethans
9026a66579
- Updated to version 2015.5 (2015e)
2015-06-15 10:28:22 +01:00
Derick Rethans
1d6f4891bd
- Updated to version .-96 ()
2015-06-15 10:17:23 +01:00
Matteo Beccati
9e4d720825
Fix copy/paste error in test
2015-06-13 08:07:49 +02:00
Stanislav Malyshev
7f4e1a0eef
5.4.43 next
2015-06-11 20:46:47 -07:00
Matteo Beccati
b60efdce9f
Fix bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps)
2015-06-12 02:05:28 +02:00
Matteo Beccati
7c0b8f872e
Fix bug #69362 (PDO-pgsql fails to connect if password contains a leading single quote)
2015-06-12 00:20:33 +02:00
Christoph M. Becker
44b09b80f2
Fixed bug #61574 - No MSI
...
The information regarding the Windows installers (.msi) in install.txt are
obsolete, so let's remove them.
2015-06-11 22:44:14 +02:00
Anatol Belski
a037b6de21
rework that test to allow delta for rounding errors
...
If this workout doesn't make travis happy, the patch needs to be
reviewed as the leak might still persist.
2015-06-11 17:05:03 +02:00
Anatol Belski
dcfd1153ec
improve test
2015-06-11 15:36:02 +02:00
Anatol Belski
e711325ca6
added test for bug #69646
2015-06-11 12:06:59 +02:00
Stanislav Malyshev
cd927cca50
fix bad copypaste
2015-06-11 01:51:55 -07:00
Ferenc Kovacs
72b8a30c1a
make it possible to set the re2c and yacc paths via environment variables for genfiles
2015-06-11 00:13:08 +02:00
Anatol Belski
9d5ab7e22f
updated NEWS
2015-06-10 16:40:38 +02:00
Philip Hofstetter
9ba3a4c66a
fix memory leak in pdo_pgsql closeCursor (bug 69752)
...
the parent PDO closeCursor method resets the pdo_stmt_t's executed flag
which is used by the postgres driver as a flag to check whether to
allocate memory for the column data or not.
This means that after the parent closeCursor() has been called, the
pdo_pgsql driver will allocate a new buffer for the columns, so the
existing buffer should be freed when the cursor is being closed.
2015-06-10 16:36:00 +02:00
Anatol Belski
f14141aca2
regenerated the ini scanner
...
follow up fix for bug #69551
2015-06-10 13:15:01 +02:00
Anatol Belski
60e181c20a
updated NEWS
2015-06-10 11:24:45 +02:00
Christian Wenz
0c8136654d
Fix #69781 : phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business"
2015-06-10 11:22:30 +02:00
Christian Wenz
82e5260104
Revert "Fix #69781 : phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business""
...
This reverts commit 4a05c81b85336b76d05017cc86372fbd04871e3f.
2015-06-10 11:22:29 +02:00
Christian Wenz
741b949a6f
Fix #69781 : phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business"
2015-06-10 11:22:28 +02:00
Anatol Belski
aef5a02ebb
updated NEWS
2015-06-10 10:42:31 +02:00
Christoph M. Becker
36222eb4cc
fixed bug, where a linebreak immediately after an opening quote of a value caused a segfault
2015-06-10 10:39:37 +02:00
Christoph M. Becker
2ba9681e8e
made failing test more meaningful
2015-06-10 10:39:36 +02:00
Christoph M. Becker
616b932ab0
added failing test
2015-06-10 10:39:35 +02:00
Ferenc Kovacs
2b8ba3e9f8
add missing NEWS entries
2015-06-10 09:35:38 +02:00
Stanislav Malyshev
c2d4704744
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add NEWS
2015-06-09 21:35:31 -07:00
Stanislav Malyshev
f1ffb4b1ad
add NEWS
2015-06-09 21:35:18 -07:00
Stanislav Malyshev
e10af61862
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #68776
2015-06-09 21:33:38 -07:00
Yasuo Ohgaki
9d168b863e
Fixed bug #68776
2015-06-09 21:32:54 -07:00
Stanislav Malyshev
6b53b7cd84
Merge branch 'PHp-5.4' into PHP-5.5
...
* PHp-5.4:
fix test
update NEWS
2015-06-09 17:12:11 -07:00
Stanislav Malyshev
eee8b6c33f
fix test
2015-06-09 17:11:33 -07:00
Stanislav Malyshev
539738c438
update NEWS
2015-06-09 16:23:05 -07:00
Stanislav Malyshev
4e2fb47092
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #69646 OS command injection vulnerability in escapeshellarg
Fix #69719 - more checks for nulls in paths
fix test description
Fixed Buf #68812 Unchecked return value.
Conflicts:
ext/dom/document.c
ext/gd/gd.c
2015-06-09 15:31:27 -07:00
Stanislav Malyshev
8036758491
Fix bug #69646 OS command injection vulnerability in escapeshellarg
2015-06-09 10:52:38 -07:00
Stanislav Malyshev
f7d7befae8
Fix #69719 - more checks for nulls in paths
2015-06-09 10:52:38 -07:00
Julien Pauli
5f7c1917e3
5.5.27 now
2015-06-09 10:33:29 +02:00
Remi Collet
531c306fe6
fix test description
2015-06-09 09:18:54 +02:00
Remi Collet
b347f2c47a
fix test description
2015-06-09 09:12:59 +02:00
George Wang
6bb24823d0
Fixed Buf #68812 Unchecked return value.
2015-06-08 15:46:40 -04:00
George Wang
78d1228ef6
Fixed Buf #68812 Unchecked return value.
2015-06-08 15:38:59 -04:00
Lior Kaplan
f5bf7b6b27
NEWS entry for: Upgrade bundled sqlite to 3.8.10.2
...
Includes fixes for CVE-2015-3414, CVE-2015-3415, CVE-2015-3416
2015-06-08 22:32:29 +03:00
Lior Kaplan
eb7c33b204
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS entry for: Upgrade bundled sqlite to 3.8.10.2
Upgrade bundled sqlite to 3.8.10.2
Add CVE used in PHP 5.4.39, 5.4.40, 5.4.41
Add CVE to #68598
2015-06-08 22:29:35 +03:00
Lior Kaplan
b5d1530e4f
Upgrade bundled sqlite to 3.8.10.2
...
Includes fixes for CVE-2015-3414, CVE-2015-3415, CVE-2015-3416 done in 3.8.9
2015-06-08 22:29:10 +03:00
Lior Kaplan
33a9f01d36
NEWS entry for: Upgrade bundled sqlite to 3.8.10.2
...
Includes fixes for CVE-2015-3414, CVE-2015-3415, CVE-2015-3416
2015-06-08 22:23:22 +03:00
Lior Kaplan
7ced40e24e
Upgrade bundled sqlite to 3.8.10.2
...
Includes fixes for CVE-2015-3414, CVE-2015-3415, CVE-2015-3416 done in 3.8.9
2015-06-08 22:17:06 +03:00
Lior Kaplan
4cc46b2a99
Add CVE used in PHP 5.4.39, 5.4.40, 5.4.41
2015-06-08 22:12:42 +03:00
Lior Kaplan
90a8ea9827
Add CVE to #68598
2015-06-08 22:04:42 +03:00
Anatol Belski
17f2d1e8a7
fixed test related to fix for bug #67805
2015-06-08 13:27:22 +02:00
Anatol Belski
b754e3ec4b
updated NEWS
2015-06-08 12:11:29 +02:00
Willian Gustavo Veiga
b470d9a0d6
Fix bug #67805 - SplFileObject setMaxLineLength.
2015-06-08 12:08:05 +02:00
Anatol Belski
75c2aa9d3a
updated NEWS for bug #69642 fix
2015-06-05 17:56:57 +02:00
Xinchen Hui
9a0bdd9069
Fixed invalid read druing apache reload
2015-06-04 21:08:36 +08:00
Stanislav Malyshev
1cbd25ca15
Fix bug #69737 - Segfault when SplMinHeap::compare produces fatal error
2015-06-01 22:07:16 -07:00
Dmitry Stogov
9031a902e3
Fixed bug #69732 (can induce segmentation fault with basic php code).
2015-06-01 11:40:14 +03:00
Stanislav Malyshev
8746163153
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
improve fix for Bug #69545
2015-05-31 17:29:53 -07:00
Stanislav Malyshev
0765623d69
improve fix for Bug #69545
2015-05-31 17:29:00 -07:00
Anatol Belski
f029a2856b
fix phpize mode for manifest embedding
2015-05-31 23:01:21 +02:00
Christoph M. Becker
b24fedbd24
split the original test to check behaviour diff on 32- and 64-bit
2015-05-31 21:28:44 +02:00
Christoph M. Becker
e44b040faf
recovered original meaning of SXE xpath test
2015-05-31 21:27:02 +02:00
Anatol Belski
1e9522021a
backport the basic code to properly recognize win 8.1 and 10
2015-05-31 19:01:58 +02:00
Anatol Belski
31d59bf915
backport the manifest changes for makefile
2015-05-31 18:59:00 +02:00
Anatol Belski
50d4ea90b3
backport the manifest changes in js
2015-05-31 18:53:51 +02:00
Anatol Belski
7e731e4d9d
add default manifest
2015-05-31 18:17:58 +02:00
Anatol Belski
05351f9ccb
add test
2015-05-31 18:13:33 +02:00
Stanislav Malyshev
930fb8b1f3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update PCRE version (bug #69689 )
move test
NEWS 5.4
fix new test
Fixed Bug #69667 segfault in php_pgsql_meta_data
5.4.42 next
Conflicts:
configure.in
main/php_version.h
2015-05-30 21:18:28 -07:00
Stanislav Malyshev
f38ca75a3c
Update PCRE version (bug #69689 )
2015-05-30 21:17:16 -07:00
Anatol Belski
5683b6fa39
Refactored the fix for bug #66084 , by cmb@php.net
2015-05-29 21:16:56 +02:00
Kalle Sommer Nielsen
c4e9651b58
Merge the fix for #69703 to 5.5 per request from Julien
2015-05-28 16:54:02 +02:00
Remi Collet
09b92a3a54
Relax a little this test, because random is not reliable
...
Usual values are 3500-3950, but >4000 can happen.
2015-05-28 10:35:19 +02:00
Ferenc Kovacs
00d8e26d71
empty commit to trigger a github mirror
2015-05-28 02:08:48 +02:00
Xinchen Hui
76a290d0be
Fixed C89
2015-05-26 16:24:18 +08:00
Remi Collet
4cab20bbb4
NEWS
2015-05-24 09:39:03 +02:00
Remi Collet
e807e07bfa
Fixed Bug #69479 GD fails to build with newer libvpx
...
From upstream https://github.com/libgd/libgd/commit/d41eb72cd4545c394578332e5c102dee69e02ee8
Fix build with latest libvpx 1.4.0
These new constants exist at least since 1.0.0
Compatibility ones have been droped in 1.4.0
2015-05-24 09:37:12 +02:00
Anatol Belski
d9c266f4c9
fix test
...
Sometimes the path is unixified, sometimes not, so better don't
care about the slash in this case.
2015-05-22 21:25:52 +02:00
Lior Kaplan
827d2c1415
Add entry for bug #69354 , fixed in 5.5.25
2015-05-22 11:17:01 +03:00
Lior Kaplan
7ecab5d23f
Add entry about PCRE upgrade (rev 95fa7279)
2015-05-22 11:02:01 +03:00
Lior Kaplan
c9ac441fe8
Add CVE for bugs in 5.5.25
2015-05-22 10:58:28 +03:00
Remi Collet
a7de68f98a
Fixed bug #69680 (phar symlink in binary directory broken).
...
Relative symlink are better, as relative to link directory.
2015-05-21 14:05:15 +02:00
ponce
c3d983f3af
Make the phar symlink relative
...
or we got a symlink pointing to the build files
thanks also to remicollet
2015-05-21 14:03:18 +02:00
Anatol Belski
c507c533bd
updated NEWS
2015-05-21 09:47:02 +02:00
Christoph M. Becker
96629091a6
added missing GLOB_BRACE support check
2015-05-21 09:44:18 +02:00
Christoph M. Becker
6895ae4553
added SKIPIF section to test to make sure that GLOB_BRACE is supported
2015-05-21 09:44:17 +02:00
Christoph M. Becker
8c6e8e7870
fix #69628 : complex GLOB_BRACE fails on Windows
2015-05-21 09:44:15 +02:00
Christoph M. Becker
90aee01c85
added PHPT to check for bug #69628
2015-05-21 09:44:14 +02:00
Anatol Belski
75286ece1a
fix handling VAR vs VAR= in putenv
...
using _putenv_s eliminates behavior diff in TS/NTS
2015-05-21 08:19:54 +02:00
Remi Collet
88aab478bf
move test
2015-05-20 14:03:41 +02:00
Remi Collet
3be4e5d71a
move test
2015-05-20 14:02:13 +02:00
Remi Collet
593c4b9b00
NEWS 5.4
2015-05-20 08:47:04 +02:00
Remi Collet
3ee3066bd0
fix new test
2015-05-20 08:46:14 +02:00
Remi Collet
f93d24aa67
Fixed Bug #69667 segfault in php_pgsql_meta_data
...
Incomplete fix for #68741
2015-05-20 08:46:01 +02:00
Remi Collet
716fe10d97
fix new test
2015-05-20 08:30:27 +02:00
Remi Collet
4bda39b81d
NEWS 5.5
2015-05-20 08:11:14 +02:00
Remi Collet
2cc4e69cc6
Fixed Bug #69667 segfault in php_pgsql_meta_data
...
Incomplete fix for #68741
2015-05-20 08:08:41 +02:00
Remi Collet
58e5e006e5
fix test output (32bits)
2015-05-14 10:28:59 +02:00
Julien Pauli
dcd230de11
Updated NEWS
2015-05-13 14:29:02 +02:00
Leigh
f7952b90ca
Close fd at the end, otherwise people complain
...
Even though it's closed when the process terminates!
2015-05-13 14:18:32 +02:00
Leigh
c02c4aca00
Add file descriptor caching to mcrypt_create_iv()
...
This improves performance for applications that make repeated calls to
mcrypt_create_iv()
2015-05-13 14:18:32 +02:00
Julien Pauli
43c24da166
Updated NEWS
2015-05-13 13:05:46 +02:00
Stanislav Malyshev
4ceb7b46ad
5.4.42 next
2015-05-12 22:30:43 -07:00
Stanislav Malyshev
c08f9c2c78
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix format
update NEWS
Add test for bug #69522
Update tests
Fix bug #69522 - do not allow int overflow
Forgot test file
Fix bug #69403 and other int overflows
Fixed bug #69418 - more s->p fixes for filenames
Fixed bug #69364 - use smart_str to assemble strings
Fix bug #69453 - don't try to cut empty string
Fix bug #69545 - avoid overflow when reading list
Conflicts:
ext/pcntl/pcntl.c
ext/standard/basic_functions.c
ext/standard/pack.c
ext/standard/tests/dir/opendir_variation1-win32.phpt
2015-05-12 14:24:15 -07:00
Stanislav Malyshev
f473ea5464
fix format
2015-05-12 12:37:28 -07:00
Stanislav Malyshev
2f83797a0c
update NEWS
2015-05-12 12:17:54 -07:00
Julien Pauli
c117548ea9
Fix for #66048
2015-05-12 16:12:29 +02:00
Stanislav Malyshev
9c0813fd48
Add test for bug #69522
2015-05-11 01:10:35 -07:00
Stanislav Malyshev
634aa0a2db
Update tests
2015-05-11 00:12:39 -07:00
Stanislav Malyshev
ba1d9cc4b7
Fix bug #69522 - do not allow int overflow
2015-05-10 23:06:08 -07:00
Stanislav Malyshev
e2bbf0a2df
Forgot test file
2015-05-10 02:24:29 -07:00
Stanislav Malyshev
c591f022f8
Fix bug #69403 and other int overflows
2015-05-10 02:20:08 -07:00
Stanislav Malyshev
be9b2a95ad
Fixed bug #69418 - more s->p fixes for filenames
2015-05-10 02:09:38 -07:00
Stanislav Malyshev
4605d536d2
Fixed bug #69364 - use smart_str to assemble strings
2015-05-09 23:04:25 -07:00
Stanislav Malyshev
473ec539a1
Fix #48147 - implement manual handling of //IGNORE for broken libc
...
Conflicts:
ext/iconv/iconv.c
2015-05-09 18:54:40 -07:00
Dmitry Stogov
8026001943
Fixed bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF)
2015-05-07 12:14:14 +03:00
Remi Collet
33e2aa452d
Relax tests failing on i386 with new zic
2015-05-05 11:22:29 +02:00
Xinchen Hui
cf3e976c3b
Update version
2015-05-05 11:06:04 +08:00
Xinchen Hui
7af9ba23a7
Saving the latter checking in most cases
2015-05-04 19:21:54 +08:00
Xinchen Hui
fff921d7a3
Update NEWS
2015-05-04 10:34:39 +08:00
John Boehr
9708378d13
Fix uninitialized value with extension traits
2015-05-04 10:33:39 +08:00
Stanislav Malyshev
c27f012b7a
Fix bug #69453 - don't try to cut empty string
2015-04-29 22:51:43 -07:00
Stanislav Malyshev
ac28329354
Fix bug #69545 - avoid overflow when reading list
2015-04-29 22:50:18 -07:00
Stanislav Malyshev
ce6db558f9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Upgrade to PCRE 8.37 due to various bugfixes
2015-04-29 22:27:21 -07:00
Stanislav Malyshev
95fa727992
Upgrade to PCRE 8.37 due to various bugfixes
2015-04-29 22:27:07 -07:00
Julien Pauli
775d0707ca
5.5.26 now
2015-04-29 11:16:06 +02:00
Derick Rethans
6a5798d990
Use new structures for tzdb header here as well
2015-04-29 00:28:50 +01:00
Derick Rethans
df49ce3d5a
This doesn't work in PHP 5.5 - sigh, I wish the libs were kept in sync
2015-04-29 00:25:29 +01:00
Derick Rethans
912e42fc23
Split header reading in 32bit and 64bit variants.
...
We need to use the 64bit header for the second set of transitions, as there
could be a different amount of transitions. This also opens up the way towards
real 64bit support.
2015-04-29 00:08:28 +01:00
Derick Rethans
cdd2b8a79f
Merge whitespace changes that have been made to timelib and PHP-5.6 and master
2015-04-28 15:57:26 +01:00
Anatol Belski
3cd3881574
backported patch for bug #69472
2015-04-28 15:31:47 +02:00
Anatol Belski
1c7a902d8a
updated NEWS
2015-04-28 15:13:19 +02:00
Frederic Marchal
f505d11207
Fixed bug #69381 out of memory with sage odbc driver
...
This is just a hotfix as there are still drivers with no full
ODBC 3.x support. This patch origins from bug #68350 which was
solved by the proper 3.0 migration, another driver (Sage)
turned out to have the real issue.
2015-04-28 15:08:53 +02:00
Anatol Belski
768bbedf82
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix VC9 build with PCRE
2015-04-28 14:38:21 +02:00
Anatol Belski
9c5c3ff022
fix VC9 build with PCRE
2015-04-28 13:15:39 +02:00
Matteo Beccati
4cabbf9781
Revert "Fix segfault in ext/date since 957aa2"
...
This reverts commit b5e5098c50 .
A proper fix from Derick is underway. I apologise for stepping on his toes ;)
2015-04-28 12:56:11 +02:00
Remi Collet
97fcbf041a
relax tests with huge year (new zic)
2015-04-28 12:48:47 +02:00
Remi Collet
c1e84a3bde
ignore second value for huge timestamp test (new zic)
2015-04-28 12:48:38 +02:00
Remi Collet
194e64982e
relax test for date < INT32_MIN (new zic)
2015-04-28 12:48:30 +02:00
Remi Collet
ba41b340c2
relax bigbang content (new zic)
2015-04-28 12:48:23 +02:00
Remi Collet
c39e777722
Make date transitions tests more flexible
...
zic in recent glibc (2.20) introduce a new transitionn
so use a range to avoid failure when total number
of transitions is different (243/244)
2015-04-28 12:48:13 +02:00
Matteo Beccati
b5e5098c50
Fix segfault in ext/date since 957aa2
2015-04-28 10:57:18 +02:00
Stanislav Malyshev
13c32a102c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Upgrade PCRE to 8.36, it fixes some crashes
2015-04-27 23:25:32 -07:00
Stanislav Malyshev
23917b451b
Upgrade PCRE to 8.36, it fixes some crashes
...
We probably will need to go to 8.37 once it is released.
2015-04-27 23:16:54 -07:00
Derick Rethans
957aa220aa
Fixed location reading due to file format changes
2015-04-26 11:04:16 +01:00
Derick Rethans
53c49994f2
- Updated to version 2015.4 (2015d)
2015-04-24 17:22:31 +01:00
Yasuo Ohgaki
4c711200b4
Set NULL after efree
2015-04-24 16:04:01 +09:00
Lior Kaplan
b35c02e2df
Add entry for bug #69152 in 5.5.24
2015-04-22 19:38:26 +03:00
Lior Kaplan
59f6d7cd4f
Add merged bug fixes into 5.5.24
...
Done in commits 25cb6f00 and 363e6ce6
2015-04-22 17:41:34 +03:00
Xinchen Hui
a508693874
Remove tail blank which is committed by accident
2015-04-21 22:44:22 +08:00
Xinchen Hui
c667c26f61
Fixed Bug #69467 (Wrong checked for the interface by using Trait)
2015-04-21 22:36:32 +08:00
Anatol Belski
35baf71466
updated NEWS
2015-04-19 20:30:43 +02:00
Anatol Belski
a0accfa59f
fix more dir separators
2015-04-19 20:27:28 +02:00
Hannes Magnusson
b5b8cd5074
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
phpweb now publishes SHA256s -- and please don't cc php-announce@ - make it seperate mail
Fixed res leak
2015-04-17 10:06:31 -07:00
Hannes Magnusson
983f155e1c
phpweb now publishes SHA256s -- and please don't cc php-announce@ - make it seperate mail
2015-04-17 10:05:32 -07:00
Anatol Belski
e09febb286
fix column name attribute with ODBC 3.0
2015-04-17 17:10:46 +02:00
Anatol Belski
db1596c8b1
migrate SQLAllocStmt for ODBC 3.0 compliance
2015-04-17 17:06:00 +02:00
Ferenc Kovacs
b75e30c667
66550 will be part of 5.5.24
2015-04-15 19:53:38 +02:00
Julien Pauli
8827a56cb4
Updated NEWS
2015-04-15 14:40:00 +02:00
Anatol Belski
8947c7aa0d
fix dir separator in test
2015-04-15 11:07:13 +02:00
Xinchen Hui
0d562a8f44
Fixed res leak
2015-04-14 21:15:50 -07:00
Xinchen Hui
82ec0d5fc5
Fixed res leak
2015-04-15 10:38:55 +08:00
Xinchen Hui
be504995c3
Fixed warnings
2015-04-15 10:37:35 +08:00
Stanislav Malyshev
df33731812
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed recently introduced memory leak
2015-04-14 11:12:48 -07:00
Dmitry Stogov
cee9722028
Fixed recently introduced memory leak
2015-04-14 11:08:38 -07:00
Daniel Lowrey
601d60a978
Fix Bug #69402 : Reading empty SSL stream hangs until timeout
2015-04-14 09:24:40 -06:00
Nikita Popov
95650d0942
Fixed bug #69419
2015-04-14 16:35:23 +02:00
Dmitry Stogov
dc024f0bdc
Bug #63336 is not a bug
2015-04-14 17:15:50 +03:00
Anatol Belski
3803bbde24
fix test
2015-04-14 15:20:44 +02:00
Dmitry Stogov
dfffa0ba5b
Fixed recently introduced memory leak
2015-04-14 15:47:26 +03:00
Xinchen Hui
4b27569dc3
codes standard
2015-04-14 19:32:01 +08:00
Derick Rethans
043f8ac51e
- Updated to version 2015.3 (2015c)
2015-04-14 10:51:10 +01:00
Stanislav Malyshev
4782ceea80
Merge branch 'PHp-5.4' into PHP-5.5
...
* PHp-5.4:
fix non-standard C
2015-04-14 00:49:23 -07:00
Stanislav Malyshev
9af582bbe0
fix non-standard C
2015-04-14 00:46:47 -07:00
Stanislav Malyshev
7b3cce0ba0
update NEWS
2015-04-14 00:43:19 -07:00
Stanislav Malyshev
e21f87e957
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.41 next
fix CVE num
update NEWS
Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode)
fix type in fix for #69085
fix CVE num
Conflicts:
configure.in
main/php_version.h
2015-04-14 00:34:02 -07:00
Stanislav Malyshev
100614da27
Merge branch 'PHP-5.5.24' into PHP-5.5
...
* PHP-5.5.24:
fix test
fix memory leak & add test
Fix tests
Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability)
Fix test
Additional fix for bug #69324
More fixes for bug #69152
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar)
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
Fixed bug #68901 (use after free)
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
Updated NEWS
Fixed bug #69336 (Issues with "last day of <monthname>").
5.5.24RC1
2015-04-14 00:33:04 -07:00
Stanislav Malyshev
e10272c628
5.4.41 next
2015-04-14 00:30:58 -07:00
Stanislav Malyshev
d3aeb8a204
Merge branch 'PHP-5.4.40' into PHP-5.4
...
* PHP-5.4.40:
update NEWS
Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode)
fix memory leak & add test
Fix tests
fix CVE num
Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability)
Fix test
Additional fix for bug #69324
More fixes for bug #69152
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar)
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
2015-04-14 00:26:53 -07:00
Stanislav Malyshev
ae46d1ce19
fix CVE num
2015-04-14 00:25:55 -07:00
Stanislav Malyshev
d734e75599
update NEWS
2015-04-14 00:22:09 -07:00
Stanislav Malyshev
aa2eca2e48
Merge branch 'PHP-5.4' into PHP-5.4.40
...
* PHP-5.4:
fix CVE num
2015-04-14 00:08:57 -07:00
Stanislav Malyshev
f59b67ae50
Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode)
2015-04-14 00:03:50 -07:00
Stanislav Malyshev
be34c82bfd
fix test
2015-04-13 16:10:05 -07:00
Remi Collet
ff70b40dc9
fix type in fix for #69085
2015-04-13 14:41:39 +02:00
Remi Collet
c61ceef779
fix type in fix for #69085
...
(cherry picked from commit 085e9ddc26f37ce556b8fd787044746e726264b2)
2015-04-13 14:40:05 +02:00
Stanislav Malyshev
ba15e8dfd0
Merge branch 'PHP-5.4.40' into PHP-5.5.24
...
* PHP-5.4.40:
fix memory leak & add test
Fix tests
2015-04-12 23:49:16 -07:00
Stanislav Malyshev
45facd15fb
fix memory leak & add test
2015-04-12 22:38:34 -07:00
Stanislav Malyshev
a643ccfb90
Fix tests
2015-04-12 20:55:35 -07:00
Stanislav Malyshev
9bed19a1e0
fix CVE num
2015-04-12 20:47:27 -07:00
Stanislav Malyshev
ed7d4977bb
Merge branch 'PHP-5.4.40' into PHP-5.5.24
...
* PHP-5.4.40:
Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability)
Fix test
2015-04-12 20:13:00 -07:00
Stanislav Malyshev
9bbd995679
Merge branch 'PHP-5.5-security' into PHP-5.5.24
...
* PHP-5.5-security: (22 commits)
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
updated NEWS
added test for bug #69354
revert skipif, this should run everywhere
further ODBC 3.0 compliance
more compliance with the ODBC 3.0
test fixes
Prevent GC from changing zval or object 'color' before they are actually inserted into possible roots buffer.
sigh, can't even copypaste without screwing up
oop, put both the error number and message for both db object to the error message
test fixes
Fixed bug #69281 (opcache_is_script_cached no longer works)
Fix typo: unitialized -> uninitialized
Fix typo: unitialized -> uninitialized
Fixed bug #68739 (Missing break / control flow). Fixed bug #68740 (NULL Pointer Dereference). Fixed bug #68677 (Use After Free).
Fixed bug #68739 (Missing break / control flow in curl)
Fixed bug #68740 (NULL Pointer Dereference)
Fixed bug #68677 (Use After Free in OPcache)
...
Conflicts:
configure.in
ext/curl/tests/bug69316.phpt
main/php_version.h
2015-04-12 20:12:38 -07:00
Stanislav Malyshev
d82d68742c
Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability)
2015-04-12 01:30:33 -07:00
Stanislav Malyshev
1defbb25ed
Fix test
2015-04-12 00:56:02 -07:00
Stanislav Malyshev
0cb9d75cb6
Merge branch 'PHP-5.4.40' into PHP-5.5.24
...
* PHP-5.4.40:
Additional fix for bug #69324
More fixes for bug #69152
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar)
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
Fixed bug #68901 (use after free)
Fixed bug #68740 (NULL Pointer Dereference)
Fix bug #66550 (SQLite prepared statement use-after-free)
Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
Fix bug #68601 buffer read overflow in gd_gif_in.c
Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4"
Fixed bug #69293
Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
2015-04-11 16:56:12 -07:00
Stanislav Malyshev
12d3bdee3d
Additional fix for bug #69324
...
Not so happy about duplication but needed due to bug #69429
2015-04-11 16:53:22 -07:00
Stanislav Malyshev
a894a8155f
More fixes for bug #69152
2015-04-11 16:53:22 -07:00
Stanislav Malyshev
4435b9142f
Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)
2015-04-11 16:53:22 -07:00
Stanislav Malyshev
9faaee66fa
Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar)
2015-04-11 16:53:21 -07:00
Stanislav Malyshev
0ea75af9be
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
2015-04-11 16:53:21 -07:00
Stanislav Malyshev
809610f5ea
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
2015-04-11 16:53:21 -07:00
Stanislav Malyshev
f938112c49
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
2015-04-11 16:53:21 -07:00
Xinchen Hui
920a0afbf8
Fixed bug #68901 (use after free)
2015-04-11 16:28:07 -07:00
Xinchen Hui
429f411eb3
Fixed bug #69420 (Invalid read in zend_std_get_method)
2015-04-10 22:47:06 +08:00
Dmitry Stogov
741c5e4c0c
Fixed bug #67314 (Segmentation fault in gc_remove_zval_from_buffer)
2015-04-08 21:22:25 +03:00
Dmitry Stogov
174b9ee634
Fixed bug #67314 (Segmentation fault in gc_remove_zval_from_buffer)
2015-04-08 21:20:35 +03:00
Ferenc Kovacs
923102230b
fix irc notification for build failure/recover
2015-04-08 19:00:03 +02:00
Dmitry Stogov
1955403ed5
Fixed typo
2015-04-08 15:53:28 +03:00
Nikita Popov
cc70a46525
Fix bug #60022
2015-04-06 22:03:04 +02:00
Nikita Popov
160dbe91a9
Fix static member destruction
2015-04-06 21:37:19 +02:00
Dmitry Stogov
21bb33cc72
Fixed bug #68652 (segmentation fault in destructor)
2015-04-06 18:11:41 +03:00
Stanislav Malyshev
890195f85c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #68740 (NULL Pointer Dereference)
2015-04-05 22:48:27 -07:00
Xinchen Hui
9a404df382
Fixed bug #68740 (NULL Pointer Dereference)
...
(cherry picked from commit 124fb22a13 )
2015-04-05 22:48:10 -07:00
Stanislav Malyshev
66b853d426
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #66550 (SQLite prepared statement use-after-free)
2015-04-05 22:37:51 -07:00
Stanislav Malyshev
5ae20c6247
Fix bug #66550 (SQLite prepared statement use-after-free)
2015-04-05 22:36:26 -07:00
Stanislav Malyshev
96f5be53f6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
Fix bug #68601 buffer read overflow in gd_gif_in.c
Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4"
Fixed bug #69293
Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
2015-04-05 17:36:52 -07:00
Remi Collet
bd31cb7563
Better fix for #68601 for perf
...
https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
2015-04-05 17:36:47 -07:00
Remi Collet
afbf725e73
Fix bug #68601 buffer read overflow in gd_gif_in.c
2015-04-05 17:33:52 -07:00
Ferenc Kovacs
829ea23d34
add travis failure/recover notification for our irc room
2015-04-05 22:54:30 +02:00
Stanislav Malyshev
d19842f613
Merge branch 'PHP-5.4.40' into PHP-5.5-security
...
* PHP-5.4.40:
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4"
Fixed bug #69293
Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
2015-04-05 00:45:58 -07:00
Stanislav Malyshev
cb0d325066
Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER)
2015-04-05 00:32:13 -07:00
Stanislav Malyshev
af1cd45d17
Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4)
2015-04-04 15:09:34 -07:00
Stanislav Malyshev
80e2632776
Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault)
2015-04-04 15:01:37 -07:00
Anatol Belski
8751e0fe71
updated NEWS
...
fixes for bug #69354 was cherrypicked from master
2015-04-04 21:49:09 +02:00
Anatol Belski
7eda18514d
added test for bug #69354
2015-04-04 21:42:51 +02:00
Anatol Belski
0ae0d0bc53
revert skipif, this should run everywhere
2015-04-04 21:42:43 +02:00
Anatol Belski
d27d9158c9
further ODBC 3.0 compliance
2015-04-04 21:42:33 +02:00
Anatol Belski
5c2aa71e0c
more compliance with the ODBC 3.0
2015-04-04 21:42:17 +02:00
Anatol Belski
a5bb37117c
test fixes
2015-04-04 21:42:08 +02:00
Dmitry Stogov
f29c98c128
Prevent GC from changing zval or object 'color' before they are actually inserted into possible roots buffer.
2015-04-02 12:29:15 +03:00
Stanislav Malyshev
caecd88237
Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4"
...
This reverts commit fe0ca2745f , reversing
changes made to 968fbc6acf .
2015-04-01 23:43:33 -07:00
Xinchen Hui
3645a80b38
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
2015-04-02 09:06:38 +08:00
Ferenc Kovacs
9991b8ecee
sigh, can't even copypaste without screwing up
2015-04-02 00:07:00 +02:00
Ferenc Kovacs
7c1a1189be
oop, put both the error number and message for both db object to the error message
2015-04-01 23:06:04 +02:00
Ferenc Kovacs
0a41af216e
test fixes
2015-04-01 22:07:52 +02:00
Ferenc Kovacs
9ec3e7d98c
Merge branch 'pr-1212' into PHP-5.5
...
* pr-1212:
Fix typo: unitialized -> uninitialized
2015-04-01 18:05:36 +02:00
Danack
86f983bd3e
Fixed bug #69281 (opcache_is_script_cached no longer works)
2015-04-01 23:58:22 +08:00
Lior Kaplan
87cc7caa10
Fix typo: unitialized -> uninitialized
2015-04-01 18:19:09 +03:00
Lior Kaplan
59c2a55ec7
Fix typo: unitialized -> uninitialized
2015-04-01 18:17:53 +03:00
Lior Kaplan
a32c8ba719
Fixed bug #68739 (Missing break / control flow).
...
Fixed bug #68740 (NULL Pointer Dereference).
Fixed bug #68677 (Use After Free).
2015-04-01 01:45:34 +03:00
Xinchen Hui
1add8401a3
Fixed bug #68739 (Missing break / control flow in curl)
...
(cherry picked from commit 124fb22a13 )
2015-04-01 01:24:26 +03:00
Xinchen Hui
059e774db0
Fixed bug #68740 (NULL Pointer Dereference)
...
(cherry picked from commit 124fb22a13 )
2015-04-01 01:24:26 +03:00
Xinchen Hui
0a8f28b432
Fixed bug #68677 (Use After Free in OPcache)
...
(cherry picked from commit 777c39f404 )
2015-04-01 01:24:16 +03:00
Julien Pauli
b56f8022c8
Updated NEWS
2015-03-31 17:46:23 +02:00
Derick Rethans
30123005ff
Fixed bug #69336 (Issues with "last day of <monthname>").
2015-03-31 17:44:08 +02:00
Derick Rethans
ffbd380e44
Fixed bug #69336 (Issues with "last day of <monthname>").
2015-03-31 16:35:03 +01:00
Julien Pauli
8e3e034469
5.5.24RC1
2015-03-31 16:03:52 +02:00
Julien Pauli
97a1b34300
5.5.25 now
2015-03-31 15:51:47 +02:00
Derick Rethans
2c117a40a7
Export date_get_immutable_ce() so that extensions can make use of it too.
2015-03-31 11:08:56 +01:00
Lior Kaplan
1bc77559f3
Align entries format
2015-03-31 09:14:06 +03:00
Lior Kaplan
8654fdd884
Update CVE for Bug #68976 to CVE-2015-2787 instead of reusing CVE for #68710
2015-03-31 09:12:05 +03:00
Lior Kaplan
639f92275a
Add CVE for bug #69207
2015-03-31 09:11:21 +03:00
Michael Wallner
6480725007
Fixed bug #64931
...
phar_add_file is too restrive on filename
Check for any of '/', '\\', '\0' after ".phar".
2015-03-30 16:24:19 +02:00
Michael Wallner
6de25c155e
Fixed Bug #65467
...
Call to undefined method cli_arg_typ_string
Use cli_arg_typ_filecontent instead.
2015-03-30 15:39:30 +02:00
Michael Wallner
8f7e378b9f
fix bug #67761
...
Phar::mapPhar fails for Phars inside a path containing ".tar".
Strengthen the silly .tar file extension check.
2015-03-30 14:41:30 +02:00
Michael Wallner
f4264ebc64
Fixed bug 64343
...
PharData::extractTo fails for tarball created by BSD tar
Phar did not know about PAX style global/file headers.
Skip them, to be able to read the contents of those archives.
2015-03-30 13:11:06 +02:00
Dmitry Stogov
75f40ae1f3
Fixed bug #69293
2015-03-27 18:40:58 +03:00
Leigh
1b2d58a364
Add RAND_egd check for compiling against LibreSSL
2015-03-27 13:24:36 +01:00
Lior Kaplan
bc0e5051e3
Add CVE for bug #68901
2015-03-25 19:26:40 +02:00
Anatol Belski
1b41dcf9c5
Fixed bug #69287 upgrade bundled sqlite to 3.8.8.3
2015-03-25 13:13:03 +01:00
Anatol Belski
8f9cb39cad
fix dir separator in test
2015-03-25 13:11:27 +01:00
Remi Collet
1174b399ad
revert a4157423934edf7b8fdbcee163cced9bfd5748a, fix build odbc as shared
2015-03-25 10:33:08 +01:00
Xinchen Hui
23520d7957
Fixed typo
2015-03-25 13:54:12 +08:00
Xinchen Hui
fe0ca2745f
Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4
2015-03-25 13:05:08 +08:00
Xinchen Hui
0e1024f25a
UPdate NEWS
2015-03-25 12:09:21 +08:00
Xinchen Hui
76c1ec5e96
Bug #69293 NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)
...
This was a typo introduced in c8eaca013a
2015-03-25 12:07:25 +08:00
Anatol Belski
a52385fc02
updated libs versions
2015-03-23 08:35:36 +01:00
Tjerk Meesters
5b5742c016
Fixed #68021 - get_browser() browser_name_regex
...
Replaced expression delimiter with tilde (~) and escape where necessary.
2015-03-22 22:12:26 -07:00
Lior Kaplan
6f5ed34d20
Print checking message for all ODBC drivers
...
This makes the output more readble in case no ODBC driver was selected
2015-03-22 22:03:38 -07:00
Lior Kaplan
7a41574239
Change default option of ODBC drivers to no to enable bulding standalone ODBC
2015-03-22 22:03:29 -07:00
Masaki Kagaya
1badfd8171
add CURL_HTTP_VERSION_2_0 and CURL_VERSION_HTTP2
2015-03-22 18:52:42 -07:00
Stanislav Malyshev
723ffe2e89
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Bacport fix bug #68741 - Null pointer dereference
Check that the type is correct
2015-03-22 18:30:56 -07:00
Stanislav Malyshev
968fbc6acf
Bacport fix bug #68741 - Null pointer dereference
2015-03-22 18:30:05 -07:00
Stanislav Malyshev
fb83c76dee
Check that the type is correct
2015-03-22 18:17:47 -07:00
Danack
0c27a8eb61
Fix #68760 : Fix freeing null segfault. Added test for behaviour.
2015-03-22 16:46:02 -07:00
Anatol Belski
a759c40872
cosmetic fix to default odbcver
2015-03-23 00:07:09 +01:00
Rasmus Lerdorf
d33636f764
Remove extraneous strlen() call
2015-03-21 08:29:12 -07:00
Derick Rethans
b98a486606
- Updated to version 2015.2 (2015b)
2015-03-21 14:51:09 +01:00
Ferenc Kovacs
9ff99059b1
add pear to the travis build
2015-03-20 13:34:16 +01:00
Julien Pauli
ceb4cb6976
Updated NEWS
2015-03-20 10:45:36 +01:00
Stanislav Malyshev
72c19d8260
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add CVEs
2015-03-19 23:05:34 -07:00
Stanislav Malyshev
95b9c34f02
add CVEs
2015-03-19 22:54:48 -07:00
Lior Kaplan
8f18444cd9
Add CVE ID for #68735
2015-03-19 18:23:34 +02:00
Dmitry Stogov
9bdbc7490f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #69152
2015-03-19 11:42:49 +03:00
Dmitry Stogov
51856a76f8
Fixed bug #69152
2015-03-19 11:36:01 +03:00
Lior Kaplan
6a4399a8d9
Align entries format
2015-03-19 02:35:20 +02:00
Lior Kaplan
3eba942eb2
Add CVE to bug #69248
2015-03-19 02:30:31 +02:00
Lior Kaplan
4680f08607
Add CVE assigned to 5.5.22 bugs after the release
2015-03-19 02:29:43 +02:00
Julien Pauli
9744aded1a
Updated NEWS
2015-03-18 11:34:45 +01:00
Julien Pauli
5e4dd962e2
Updated NEWS
2015-03-18 10:55:32 +01:00
Stanislav Malyshev
de0cee2f39
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.40 next
Conflicts:
configure.in
main/php_version.h
2015-03-17 22:39:10 -07:00
Stanislav Malyshev
4c3b73b6df
5.4.40 next
2015-03-17 22:37:16 -07:00
Stanislav Malyshev
210cfafc2b
update NEWS
2015-03-17 22:00:53 -07:00
Stanislav Malyshev
53eff4a369
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
2015-03-17 22:00:29 -07:00
Stanislav Malyshev
ef8fc4b53d
Fix bug #69253 - ZIP Integer Overflow leads to writing past heap boundary
2015-03-17 21:59:56 -07:00
Stanislav Malyshev
bf2f03ddb3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #69248 - heap overflow vulnerability in regcomp.c
add test for bug #68976
2015-03-17 17:10:05 -07:00
Stanislav Malyshev
fb04dcf6db
Fix bug #69248 - heap overflow vulnerability in regcomp.c
...
Merged from https://github.com/garyhouston/regex/commit/70bc2965604b6b8aaf260049e64c708dddf85334
2015-03-17 17:04:57 -07:00
Stanislav Malyshev
8b14d3052f
add test for bug #68976
2015-03-17 17:03:46 -07:00
Stanislav Malyshev
6264f81a21
add NEWS
2015-03-17 13:24:17 -07:00
Stanislav Malyshev
d5e523f52f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
Conflicts:
ext/standard/var_unserializer.c
2015-03-17 13:22:12 -07:00
Stanislav Malyshev
646572d6d3
Fixed bug #68976 - Use After Free Vulnerability in unserialize()
2015-03-17 13:20:22 -07:00
Stanislav Malyshev
3dfccd7ba5
update news
2015-03-17 13:07:40 -07:00
Stanislav Malyshev
4a2e613730
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
2015-03-17 13:06:17 -07:00
Stanislav Malyshev
bfb669891e
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
2015-03-17 13:05:43 -07:00
Stanislav Malyshev
34418222d7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix tests
2015-03-17 12:56:37 -07:00
Stanislav Malyshev
9ba4db5e5d
fix tests
2015-03-17 12:55:35 -07:00
Stanislav Malyshev
e55e40ca66
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix bug #69207 - move_uploaded_file allows nulls in path
2015-03-17 12:48:37 -07:00
Stanislav Malyshev
1291d6bbee
Fix bug #69207 - move_uploaded_file allows nulls in path
2015-03-17 12:47:58 -07:00
Anatol Belski
0f18a15e89
Fixed bug #65406 Enchant broker plugins are in the wrong place in windows
2015-03-17 09:20:16 +01:00
Julien Pauli
4dba99c226
Fix flaws in session module
2015-03-16 16:00:46 +01:00
Anatol Belski
293d6e629d
backport af2b0669 into 5.5
2015-03-16 08:32:39 +01:00
Anatol Belski
c21c8f369d
fix test
2015-03-14 18:29:59 +01:00
Jeff Welch
1e51c5411e
Fix #69203 : FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127
2015-03-14 09:17:36 +01:00
Xinchen Hui
5b87d52041
Fixed typo
2015-03-14 11:31:12 +08:00
Xinchen Hui
ed59370f0a
Little improvement, update NEWs, added test
2015-03-14 00:52:53 +08:00
Xinchen Hui
1b5ad03f66
Merge branch 'bug69227' of https://github.com/Vektah/php-src into PHP-5.5
2015-03-14 00:42:36 +08:00
Nikita Popov
a9d73f0646
Fixed bug #69221
...
A generator iterator can be created from different zvals - use
the object handle to manage references instead.
2015-03-13 16:23:53 +01:00
Vektah
482500b455
Fix a leak
2015-03-13 15:54:30 +11:00
Vektah
950d3d6e9b
Fix bug #69227 and #65967
...
This patch fixes a use (in zend_gc.c) after free (in spl_observer.c).
See https://bugs.php.net/bug.php?id=69227
2015-03-13 15:02:05 +11:00
Anatol Belski
6b643f0741
create the php prefix if doesn't exist
2015-03-12 15:20:53 +01:00
Xinchen Hui
675606f1a6
Improve test script for #69212
2015-03-11 08:19:34 +08:00
Nikita Popov
bc9f2fb8df
Fixed bug #69212
2015-03-10 18:17:56 +01:00
Dmitry Stogov
c814b3294a
We don't cache custom strems with callbacks anymore
2015-03-10 19:25:30 +03:00
Xinchen Hui
f074870f4e
Typo
2015-03-10 17:18:39 +08:00
Xinchen Hui
6f4af2da29
Fixed test
2015-03-10 17:05:47 +08:00
Xinchen Hui
6a6c273893
Fixed bug #66609 (php crashes with __get() and ++ operator in some cases)
2015-03-10 15:36:42 +08:00
Xinchen Hui
22894e74c2
Fix is reverted (test fails in all branches)
2015-03-10 10:43:05 +08:00
Daniel Lowrey
bbfd4a5e62
Fix crypto stream timeout regressions
2015-03-09 15:53:26 -06:00
Xinchen Hui
9af1383a3f
Revert "Fix #63486 "
...
This reverts commit f4c96ffcb5 .
2015-03-09 17:22:56 +08:00
Xinchen Hui
b0ec8dfd0d
Update news
2015-03-09 17:09:57 +08:00
Jeff Welch
66a2c528fe
Fix #69202 : FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used.
2015-03-09 17:08:35 +08:00
Masaki Kagaya
fa72f1ea86
added missing parentheses
...
added test case for bug #68846
replaced tab with space
added missing parentheses again
See also: http://icu-project.org/docs/papers/gb18030.html#h7
2015-03-08 23:39:04 -07:00
Stanislav Malyshev
a8da0a9620
Merge branch 'pull-request/1104' into PHP-5.5
...
* pull-request/1104:
Fix #63486
2015-03-08 23:21:53 -07:00
Stanislav Malyshev
43b426fbc4
Merge branch 'pull-request/1106' into PHP-5.5
...
* pull-request/1106:
Fix #67626
2015-03-08 22:52:21 -07:00
Stanislav Malyshev
a2a20d29a8
Merge branch 'pull-request/1134' into PHP-5.5
...
* pull-request/1134:
Regression tests for SplFileInfo class setters
2015-03-08 17:13:02 -07:00
Stanislav Malyshev
d7931f8f66
Merge branch 'pull-request/1130' into PHP-5.5
...
* pull-request/1130:
Add missing value for error_reporting directive
2015-03-08 17:05:37 -07:00
Xinchen Hui
ef2db26c60
Merge branch 'arginfo' of https://github.com/realityking/php-src into PHP-5.4
2015-03-08 22:53:19 +08:00
Remi Collet
89f86119d6
Fix odbc build as shared
...
Broken since a41aa46759
2015-03-08 07:34:51 +01:00
Tjerk Meesters
d7fb52ea20
Fixed bug #68917 (parse_url fails on some partial urls)
2015-03-06 20:51:22 +08:00
Daniel Lowrey
e892f5382f
Fix ZTS build
2015-03-05 12:12:55 -07:00
Daniel Lowrey
94140afa69
Fix bug #67403 (Add signatureType to openssl_x509_parse)
2015-03-05 10:09:06 -07:00
Julien Pauli
0f334a1265
5.5.24 now
2015-03-05 14:13:39 +01:00
Xinchen Hui
869f8bd24b
Error also maybe happened here
2015-03-05 21:05:26 +08:00
Xinchen Hui
f039225597
Fixed bug #69174 (leaks when unused inner class use traits precedence)
2015-03-05 18:39:50 +08:00
nathan r. hruby
837eeefee9
Make killing a locker an ERROR event
...
At least in apache, killing a locker with SIGKILL from inside opcache prevents
the child process from emitting a corresponding log event to the access or
error logs, therefore requests are termed with no record. This makes is
incredibly difficult to debug problems espically on systems with high counts
of cache restarts. Since INFO level is far too noisy for production use,
switch the killing to a higher level so we can see it easier.
2015-03-03 23:16:45 +08:00
Reeze Xia
304fb7a3d6
Merge branch 'PHP-5.5' of git.php.net:/php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:/php-src:
Added type checks
Added type checks
2015-03-03 16:27:04 +08:00
Reeze Xia
860fc3947f
Improve fix for bug 67741
...
Thanks to laruence.
2015-03-03 16:25:43 +08:00
Dmitry Stogov
b3ac352253
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Added type checks
2015-03-03 10:45:07 +03:00
Dmitry Stogov
c8eaca013a
Added type checks
2015-03-03 10:43:48 +03:00
Dmitry Stogov
5c03e05692
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Update NEWS
2015-03-03 10:20:21 +03:00
Dmitry Stogov
035d80523f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Added type checks
Conflicts:
ext/soap/soap.c
2015-03-03 09:52:21 +03:00
Dmitry Stogov
0c136a2abd
Added type checks
2015-03-03 09:44:46 +03:00
Reeze Xia
bb466d57ae
Update NEWS
2015-03-03 14:22:03 +08:00
Reeze Xia
34f09b6240
Fixed bug #67741 (auto_prepend_file messes up __LINE__)
...
This also fixes bug #54081
2015-03-03 11:25:30 +08:00
Jeremy Mikola
dea7bc8786
Regression tests for SplFileInfo class setters
...
Adds tests for SplFileInfo class setters accepting either the base and child classes, and throwing an exception for unexpected classes.
Related: http://svn.php.net/viewvc?view=revision&revision=336017 and https://github.com/facebook/hhvm/pull/4917
2015-03-02 14:45:26 -05:00
Dmitry Stogov
fc1f24b7a6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Check variable type before its usage as IS_ARRAY.
Fixed a bug that header value is not terminated by '\0' when accessed through getenv().
2015-03-02 12:30:38 +03:00
Dmitry Stogov
d5248f67b5
Check variable type before its usage as IS_ARRAY.
2015-03-02 12:27:36 +03:00
Xinchen Hui
caebb76131
Fixed bug #69139 (Crash in gc_zval_possible_root on unserialize)
2015-03-01 23:16:15 +08:00
Lior Kaplan
1a35c959a9
Add missing value for error_reporting directive
2015-03-01 15:16:53 +02:00
Lior Kaplan
55f7747bff
Align entries format for 5.5.23
2015-03-01 11:32:09 +02:00
Reeze Xia
c98eb695b5
Bump header year
2015-03-01 15:03:21 +08:00
Reeze Xia
8b0cf0d7fa
Update NEWS
2015-02-28 16:45:26 +08:00
Reeze Xia
f824f91ac9
Fixed bug #69141 Missing arguments in reflection info for some builtin functions
...
This include:
- setcookie (missing "httponly")
- setrawcookie (missing "httponly")
- spl_autoload_register (missing 2 optional params)
- mktime (missing "is_dst")
- gmmktime (missing "is_dst")
2015-02-28 16:37:14 +08:00
Дмитрий Пацура
e9c6798721
Fix ARG_INFO for levenshtein
...
This can work with 2 parameters (require)
refs http://php.net/manual/ru/function.levenshtein.php
refs https://github.com/phalcon/zephir/issues/753
2015-02-27 23:23:24 +01:00
Xinchen Hui
997b7e5630
Fixed bug #69085 (SoapClient's __call() type confusion through unserialize()).
2015-02-27 23:32:32 +08:00
Xinchen Hui
4eb830b212
Reorder
2015-02-27 12:02:42 +08:00
Xinchen Hui
ebfc49aa91
Fixed bug #69121 (Segfault in get_current_user when script owner is not in passwd with ZTS build)
2015-02-27 12:00:52 +08:00
Xinchen Hui
3e82816ba1
Fixed bug #69125 (Array numeric string as key)
2015-02-27 11:42:36 +08:00
Taoguang Chen
e441d71baa
fix bug#68942's patch
...
Fix type confusion bug in unserialize() with DateTimeZone. https://bugs.php.net/bug.php?id=68942
2015-02-27 10:41:53 +08:00
George Wang
f13a88ac13
Fixed a bug that header value is not terminated by '\0' when accessed through getenv().
2015-02-25 11:23:36 -05:00
George Wang
8584cc010a
Fixed a bug that header value is not terminated by '\0' when accessed through getenv().
2015-02-25 10:48:19 -05:00
Xinchen Hui
34d397e267
better name
2015-02-25 20:49:07 +08:00
Xinchen Hui
d508ff9640
Improve fix for #69038
2015-02-25 20:07:02 +08:00
Xinchen Hui
ffdc5728c8
Fixed bug #69108 ("Segmentation fault" when (de)serializing SplObjectStorage)
2015-02-25 18:21:59 +08:00
Julien Pauli
1bfbb546f7
updated NEWS
2015-02-23 11:22:44 +01:00
Linus Unnebäck
63ab6d8249
curl: add new proxy constants
2015-02-23 11:19:36 +01:00
Xinchen Hui
d5a1a3342b
Fixed test fails for bug68557
2015-02-23 10:35:16 +01:00
Jakub Zelenka
591dbcabe5
Fix bug #64695 (JSON_NUMERIC_CHECK has issues with strings that are numbers plus the letter e)
2015-02-22 20:22:47 +00:00
Rasmus Lerdorf
7ea5b3f71c
NEWS entry
2015-02-22 08:32:32 -08:00
Rasmus Lerdorf
a9ba407ce1
Fix bug #68166
...
We can't always efree here
php_escape_html_entities can return an interned_empty_string
2015-02-22 08:25:56 -08:00
Anatol Belski
8f6a013c97
updated NEWS
2015-02-22 16:46:39 +01:00
Anatol Belski
68afd75ecd
Merge branch 'pull-request/1112' into PHP-5.5
2015-02-22 16:26:02 +01:00
Grant Pannell
7988f703f8
Fix Win32 SSPI initialization for digest authentication in cURL
2015-02-22 23:34:55 +10:30
Anatol Belski
6751f8b314
revisit fix for bug #65272
2015-02-21 14:10:59 +01:00
Julien Pauli
c4c3dca302
Fix #67626
2015-02-20 16:07:40 +01:00
Anatol Belski
3082177bee
split test for bug #68557 for windows
2015-02-20 16:01:34 +01:00
Julien Pauli
6393556a5d
Updated NEWS
2015-02-20 15:43:38 +01:00
Julien Pauli
c111d1cd70
fix #68557
2015-02-20 15:09:35 +01:00
Julien Pauli
f4c96ffcb5
Fix #63486
2015-02-20 13:38:35 +01:00
Dmitry Stogov
9fb48edf3c
Fixed type mismatch
2015-02-20 10:31:24 +03:00
Ferenc Kovacs
3d777c8068
update NEWS to match the actual stuff in 5.5.22
2015-02-18 20:08:46 +01:00
Ferenc Kovacs
24be46323b
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix typo in bug#
add CVE
5.4.39 next
Conflicts:
configure.in
main/php_version.h
2015-02-18 19:48:50 +01:00
Ferenc Kovacs
c17a17e44b
fix typo in bug#
2015-02-18 19:47:07 +01:00
Ferenc Kovacs
08b6fe9ef1
Fix bug #69033 (Request may get env. variables from previous requests if PHP works as FastCGI)
2015-02-18 16:24:09 +01:00
Michael Wallner
83dda66aac
fix test
2015-02-18 14:06:32 +01:00
Michael Wallner
8b6919c77c
fix test
2015-02-18 14:04:53 +01:00
Michael Wallner
225af964c0
Fixed bug #65593 (Segfault when calling ob_start from output buffering callback)
2015-02-18 13:58:31 +01:00
Julien Pauli
73c2e9153a
Updated NEWS
2015-02-18 12:40:38 +01:00
Remi Collet
c6a26cb39d
add CVE
2015-02-18 06:44:41 +01:00
Xinchen Hui
97f8c78b09
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
2015-02-17 21:17:06 +08:00
Stanislav Malyshev
213725057e
fix TS build
2015-02-17 07:47:12 +01:00
Stanislav Malyshev
24f8a68d0a
5.4.39 next
2015-02-17 07:34:00 +01:00
Stanislav Malyshev
2e8cd42974
update news
2015-02-17 06:58:14 +01:00
Stanislav Malyshev
cf7d8eabcc
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Port for for bug #68552
Fix bug #68942 (Use after free vulnerability in unserialize() with DateTimeZone)
- BFN
2015-02-17 06:53:48 +01:00
Stanislav Malyshev
29a4e710de
Fix bug #68942 (Use after free vulnerability in unserialize() with DateTimeZone)
2015-02-17 06:53:27 +01:00
Stanislav Malyshev
bdfe457a2c
Port for for bug #68552
2015-02-17 06:53:02 +01:00
Stanislav Malyshev
7b18981830
Fix bug #68942 (Use after free vulnerability in unserialize() with DateTimeZone)
...
Conflicts:
ext/date/php_date.c
2015-02-17 06:43:51 +01:00
Xinchen Hui
66d3095993
Fixed bug #69038 (switch(SOMECONSTANT) misbehaves)
2015-02-17 11:34:57 +08:00
Felipe Pena
82d347a477
- BFN
2015-02-17 01:14:05 -02:00
Felipe Pena
94742054a8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
- Fixed bug #67827 (broken detection of system crypt sha256/sha512 support)
- Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de
Update NEWS
2015-02-17 01:08:07 -02:00
Felipe Pena
8f9ab04d93
- Fixed bug #67827 (broken detection of system crypt sha256/sha512 support)
2015-02-17 00:23:47 -02:00
Felipe Pena
35a68c276d
- Fix merge
2015-02-16 13:09:40 -02:00
Felipe Pena
e08bef442c
- Fixed bug #67427 (SoapServer cannot handle large messages) patch by: brandt at docoloc dot de
2015-02-16 13:07:26 -02:00
Antony Dovgal
dbf7d525a5
BFN
2015-02-16 15:23:13 +03:00
Antony Dovgal
1d94cd4bfa
Merge branch 'pull-request/995' into PHP-5.5
...
* pull-request/995:
fix bug #68822 (request time is reset too early)
2015-02-16 15:20:39 +03:00
redfoxli
3664345aba
fix bug #68822 (request time is reset too early)
...
this caused wrong time in the logs
2015-02-16 15:10:09 +03:00
Xinchen Hui
a620b79040
Fixed bug #69054 (Null dereference in readline_(read|write)_history() without parameters)
2015-02-15 22:54:05 +08:00
Xinchen Hui
7667f8efc6
Fixed bug #68638 (pg_update() fails to store infinite values)
2015-02-14 22:17:01 +08:00
Xinchen Hui
40a94597ae
Merge branch 'PHP-5.4' of https://github.com/wfelipew/php-src into PHP-5.5
2015-02-14 22:03:53 +08:00
Yasuo Ohgaki
c0dd221a3a
Update NEWS
2015-02-14 05:41:04 +09:00
Yasuo Ohgaki
5b6269a253
Update NEWS
2015-02-14 05:34:57 +09:00
Yasuo Ohgaki
3ea76a768c
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add NULL byte protection to exec, system and passthru
2015-02-14 05:26:54 +09:00
Yasuo Ohgaki
a8722f5330
Add NULL byte protection to exec, system and passthru
2015-02-14 05:25:04 +09:00
Anatol Belski
5ff77b005b
fix condition
2015-02-13 13:39:46 +01:00
Xinchen Hui
3a71fa36a2
Micro opt
2015-02-13 13:09:56 +08:00
Xinchen Hui
371c016986
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
2015-02-13 12:54:04 +08:00
Xinchen Hui
68ab716f18
Fixed #69015 (php-cgi's getopt does not see $argv)
...
No test script is added because of complicated
2015-02-13 12:53:34 +08:00
William Felipe Welter
0421404b73
Fixed bug #68638 pg_update() fails to store infinite values
...
Fix indent
2015-02-12 23:39:54 -02:00
Anatol Belski
b5aca81de1
backport gd config.w32 to support freetype 2.5
2015-02-12 20:27:48 +01:00
Xinchen Hui
c2062ca470
Added test for #69017
2015-02-12 11:28:16 +08:00
Xinchen Hui
f2940b7120
Fixed bug #69017 (Fail to push to the empty array with the constant value defined in class scope)
2015-02-12 10:59:28 +08:00
Lior Kaplan
e6d8bad618
Bug #55508 was fixed in 5.5.19 with 15ba757a, not in 5.5.18
...
See https://github.com/php/php-src/pull/631#issuecomment-61969527
2015-02-11 13:20:44 +02:00
Lior Kaplan
1ebf6fba42
Add missing NEWS entry for revert of bug #41631
2015-02-11 13:15:18 +02:00
Lior Kaplan
b582aa9a44
Add missing NEWS entry for bug #68027
2015-02-11 13:13:03 +02:00
Lior Kaplan
bb16a6b2c2
Align format for bug #68799
2015-02-11 13:11:55 +02:00
Lior Kaplan
f0b329df50
Bug #68361 was fixed in 5.5.20 using 327d4f9a, not in 5.5.19
2015-02-11 13:08:19 +02:00
Lior Kaplan
7bcf62a05b
Bug #55618 was fixed in 5.5.21 using eaf107c0
2015-02-11 13:04:32 +02:00
Lior Kaplan
0d68d0a69b
Add security bugs fixed in 5.5.18
2015-02-11 12:02:39 +02:00
Lior Kaplan
e06da17931
Add CVE ID to bug #68676
2015-02-11 12:00:19 +02:00
Lior Kaplan
e7c7788e20
Align email format for recent NEWS entries
2015-02-11 11:05:02 +02:00
Anatol Belski
bc3e88b9af
fix dir separator in test
2015-02-10 16:58:59 +01:00
Ferenc Kovacs
bf9fb65001
oops, forgot sudo for make install
2015-02-10 11:18:19 +01:00
Ferenc Kovacs
a8d001aedf
add make install
2015-02-10 10:34:52 +01:00
William Felipe Welter
60d5cdf137
Fixed bug #68638 pg_update() fails to store infinite values
...
Check if value is "infinity" with strcasestr() to add quotes
2015-02-09 20:35:18 -02:00
Daniel Lowrey
f2b12424c0
NEWS
2015-02-09 11:42:40 -05:00
Daniel Lowrey
1eef4f2a0c
Miscellaneous cleanup
2015-02-09 11:42:17 -05:00
Daniel Lowrey
a8cb1d2b85
Merge branch 'PHP-5.5' of github.com:bbroerman30/php-src into PHP-5.5
2015-02-09 11:40:04 -05:00
Xinchen Hui
d078c59ed9
Merge branch 'improve-bug67436' of https://github.com/reeze/php-src into PHP-5.5
2015-02-09 11:31:59 +08:00
Bob Weinand
fc444fbc70
Shut up, my lovely compiler; I do not like your warnings
...
Conflicts:
Zend/zend_object_handlers.c
2015-02-09 11:23:35 +08:00
George Wang
c892127f76
Fixed #68790 (Missing return)
2015-02-07 12:18:42 -05:00
George Wang
5e3f0f5671
Fixed #68790 (Missing return)
2015-02-07 12:16:54 -05:00
Reeze Xia
4d034b1a1e
Improve tests for bug 67436
...
I always use a.php or b.php for local testing,
this diff makes the test more stable
2015-02-07 14:11:09 +08:00
William Felipe Welter
bb3a81c4b4
Fixed bug #68638 pg_update() fails to store infinite values.
...
Add quotes only if "infinity" values are received.
2015-02-07 01:26:12 -02:00
Anatol Belski
9bf95d8291
fix setting default ODBCVER value in config.w32
2015-02-06 19:59:14 +01:00
Anatol Belski
f4319a4f73
updated NEWS
2015-02-06 19:37:01 +01:00
Anatol Belski
a41aa46759
Fixed bug #68964 Allowed memory size exhausted with odbc_exec
...
This is done in two steps:
- the ODBCVER has to be rased to 0x0300 which corresponds to Sql
Server 9, otherwise the client will not recognize several SQL
datatypes
- additionally the config scripts was tweaked so then ODBCVER
can be overridden, that still allows enabling compatibility
with lower versions
Bug #67437 might be fixed by this as well.
2015-02-06 19:00:27 +01:00
Anatol Belski
9ef0c39b2b
Removed erroneous condition
...
This condition is always false. Furthermore headers_list() is
documented to always return an array.
2015-02-06 09:41:02 +01:00
Stanislav Malyshev
928fdbea08
fix tests
2015-02-05 21:54:47 -08:00
Stanislav Malyshev
067340bbc8
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update header handling to RFC 7230
2015-02-05 20:09:13 -08:00
Stanislav Malyshev
f001c63073
Update header handling to RFC 7230
2015-02-05 20:08:12 -08:00
William Felipe Welter
b64f149176
Test case Bug #68638 pg_update() fails to store infinite values
2015-02-05 13:19:52 -02:00
Stanislav Malyshev
10b15f0f8b
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Conflicts: main/streams/memory.c
2015-02-05 00:41:35 -08:00
Nayana Hettiarachchi
5446377c6b
Conflicts:
...
main/streams/memory.c
2015-02-05 16:32:30 +08:00
Stanislav Malyshev
ee864f3301
fix test to not hit php.net
2015-02-05 00:11:44 -08:00
Julien Pauli
959cecf046
Updated NEWS
2015-02-04 17:43:36 +01:00
Julien Pauli
f51b73c833
Revert "Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat)"
...
This reverts commit 8e19705a93 .
2015-02-04 17:39:16 +01:00
Julien Pauli
b86529f751
5.5.23 now
2015-02-04 16:35:32 +01:00
Brad Broerman
dddbe0fc33
Update xp_ssl.c
...
Added TSRMLS_CC to php_openssl_sockop_io calls.
2015-02-04 10:13:36 -05:00
Julien Pauli
c85f12e3ac
Revert "json_decode() should generate a syntax error when given ""."
...
This reverts commit a7b3abe4e6 .
2015-02-04 12:48:17 +01:00
William Felipe Welter
cb3833a3be
Fixed bug #68638 pg_update() fails to store infinite values.
...
Regex to check float values changed to accept "infinity" values
and ignore case. Quotes are added to prevent syntax error on
PostgreSQL.
2015-02-03 22:47:05 -02:00
Yasuo Ohgaki
539fd65915
Update NEWS
2015-02-03 19:45:20 +09:00
Yasuo Ohgaki
f8a8ccaba2
Fixed Bug #65199 pg_copy_from() modifies input array variable
2015-02-03 15:26:02 +09:00
Yasuo Ohgaki
b41a6c6f05
Fixed Bug #66623 no EINTR check on flock(LOCK_EX)
2015-02-03 14:02:58 +09:00
Yasuo Ohgaki
853ae39d6e
Fixed bug #68063 Empty session IDs do still start sessions
2015-02-03 13:38:49 +09:00
Yasuo Ohgaki
17beba686e
Bug #61470 is fixed only in master
2015-02-03 12:26:01 +09:00
Daniel Lowrey
f2f467bd96
Fixed bug #65272 : correctly set flock() out param in windows
2015-02-02 10:47:54 -05:00
Adam Harvey
9d8b1170aa
Let's not assume bash is always /bin/bash.
2015-02-02 11:31:10 +00:00
Adam Harvey
a7b3abe4e6
json_decode() should generate a syntax error when given "".
...
Fixes bug #68938 (json_decode() decodes empty string without error).
Patch by jeremy at bat-country dot us.
2015-02-02 11:07:34 +00:00
Yasuo Ohgaki
fb803ff819
Add test for bug #61470 . It is already fixed.
2015-02-02 18:39:07 +09:00
Stanislav Malyshev
0bfcc2829c
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
- Updated to version 2015.1 (2015a)
2015-02-01 12:41:10 -08:00
Stanislav Malyshev
f66f5b2ffa
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix sizeof size
2015-02-01 12:41:00 -08:00
Stanislav Malyshev
7efbd70b03
fix sizeof size
2015-02-01 12:40:38 -08:00
Derick Rethans
4d28d12f86
- Updated to version 2015.1 (2015a)
2015-02-01 18:31:19 +00:00
Frank Stolle
6a905a9a3c
Fix #66479 : Wrong response to FCGI_GET_VALUES
...
Requesting Get-Values via FCGI caused an "endless" loop over the last requested parameter and ended with an invalid response. this patch solves this loop bug.
Conflicts:
sapi/cgi/fastcgi.c
2015-02-01 00:35:23 -08:00
Martin Jansen
de31324c22
Fix bug #64938 : libxml_disable_entity_loader setting is shared between threads
...
The availability of entity loading is stored in a module global which
previously was only initialized in the GINIT constructor. This had the
effect that disabling the entity loader in one request caused
subsequent requests hitting the same Apache child process to also have
the loader disabled.
With this change the loader is explicitely enabled in the request init
phase.
2015-02-01 00:08:35 -08:00
Stanislav Malyshev
e5e251b023
fix group name handling
2015-01-31 23:47:03 -08:00
Stanislav Malyshev
d82424b46f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix TSRM
2015-01-31 23:34:27 -08:00
Stanislav Malyshev
94d6cb4a78
fix TSRM
2015-01-31 23:34:14 -08:00
Stanislav Malyshev
380741daa4
add NEWS
2015-01-31 23:19:23 -08:00
Danack
dbc0a80b23
Added test and possible fix for https://bugs.php.net/bug.php?id=67068
2015-01-31 23:13:55 -08:00
Stanislav Malyshev
af1f867308
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Use better constant since MAXHOSTNAMELEN may mean shorter name
use right sizeof for memset
2015-01-31 21:48:14 -08:00
Stanislav Malyshev
b30a6d6018
Use better constant since MAXHOSTNAMELEN may mean shorter name
2015-01-31 21:46:56 -08:00
Stanislav Malyshev
2cdbd3537f
use right sizeof for memset
2015-01-31 21:30:58 -08:00
Stanislav Malyshev
882a375dba
Add mitigation for CVE-2015-0235 (bug #68925 )
2015-01-31 19:10:52 -08:00
Stanislav Malyshev
237128603f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add mitigation for CVE-2015-0235 (bug #68925 )
2015-01-31 19:08:37 -08:00
Stanislav Malyshev
0f9c708229
Add mitigation for CVE-2015-0235 (bug #68925 )
2015-01-31 19:08:13 -08:00
Yasuo Ohgaki
c8a12508c7
Fixed typo in comment
2015-02-01 05:14:27 +09:00
Yasuo Ohgaki
d463ddd3c7
Use bash rather than sh
2015-01-29 15:21:17 +09:00
Brad Broerman
1482ed2d56
reneg and should_close are not yet members of sslsock. Removing...
2015-01-28 22:36:41 -05:00
Yasuo Ohgaki
abf9e2ea09
Fixed Bug #68941 mod_files.sh is a bash-script
2015-01-29 09:25:28 +09:00
Xinchen Hui
b2cf3f064b
Fixed bug #68901 (use after free)
2015-01-29 00:00:09 +08:00
Brad Broerman
fd4641696c
Updated with SSL fixes (backported from trunk)
2015-01-28 00:04:20 -05:00
Xinchen Hui
4c5995b172
fcgi_write in fpm returns ssizt_t, but it returns int in cgi
2015-01-27 22:25:38 +08:00
Xinchen Hui
c3ff9aa17d
Revert previous unintentional change to this
2015-01-27 22:19:11 +08:00
Xinchen Hui
8c2d91761a
Also Fixed #68571 in CGI SAPI, and some cleanup
2015-01-27 22:11:23 +08:00
Xinchen Hui
6c87372199
Merge branch 'fixbug68571tophp5.5' of https://github.com/redfoxli/php-src into PHP-5.5
2015-01-27 22:04:23 +08:00
Bob Weinand
3f57663b57
Add NEWS entry
2015-01-26 22:50:16 +01:00
Bob Weinand
b8461eb9ac
Fix call after close if multiple filters are attached
2015-01-26 22:47:35 +01:00
Keyur Govande
d065a2fc1b
Add NEWS
2015-01-26 21:29:57 +00:00
Keyur Govande
1933b556b9
Patch commit d9f85373e32 by moving the float_to_double function to
...
a header file.
2015-01-26 21:19:00 +00:00
Keyur Govande
e51980f4e6
Fix for bugs #68114 (Build fails on OS X due to undefined symbols)
...
and #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
has rounding errors).
The patch removes support for Decimal floating point numbers and
now defaults to using similar logic as what libmysqlclient does:
convert a 4 byte floating point number into a string, and then the
string into a double. The quirks of MySQL are maintained as seen in
Field_Float::val_str()
2015-01-26 21:19:00 +00:00
Ferenc Kovacs
f014785eeb
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix some factual errors in the process
2015-01-22 21:28:21 +01:00
Ferenc Kovacs
61ad5e24ea
fix some factual errors in the process
2015-01-22 21:27:38 +01:00
Remi Collet
2955993947
move CVE to the right version
2015-01-22 13:06:15 +01:00
Anatol Belski
43652d386a
simplify error handling for dirs as magic
2015-01-22 10:16:13 +01:00
Joshua Rogers
91aa340180
Fixed bug #68827 Double free with disabled ZMM
2015-01-22 09:59:13 +01:00
Xinchen Hui
251745c012
Fixed segfault while running with moodle
2015-01-22 16:38:34 +08:00
Julien Pauli
88f2321a25
Updated NEWS
2015-01-21 11:10:20 +01:00
Xinchen Hui
20e5911d82
Fixed test fails
2015-01-21 11:17:49 +08:00
Derick Rethans
8e19705a93
Fixed bug #55407 (Impossible to prototype DateTime::createFromFormat)
2015-01-20 21:44:19 +00:00
Stanislav Malyshev
cca3c8a985
fix year
2015-01-20 13:27:38 -08:00
Stanislav Malyshev
53b3db43ca
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
format
2015-01-20 11:57:50 -08:00
Stanislav Malyshev
04dcc705de
update NEWS
2015-01-20 11:57:39 -08:00
Stanislav Malyshev
b3b155ffe2
format
2015-01-20 11:57:17 -08:00
Stanislav Malyshev
295b42b76e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add CVE
2015-01-20 11:55:04 -08:00
Stanislav Malyshev
547f62ed2a
add CVE
2015-01-20 11:54:45 -08:00
Stanislav Malyshev
a3cb69d63e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add protection against nulls
2015-01-20 11:46:39 -08:00
Stanislav Malyshev
ef4896d956
add protection against nulls
2015-01-20 11:46:10 -08:00
Stanislav Malyshev
e2744c51b6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
5.4.38 next
Fix bug #68799 : Free called on unitialized pointer
Fix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())
Conflicts:
configure.in
main/php_version.h
2015-01-20 10:40:11 -08:00
Stanislav Malyshev
8825311ce1
5.4.38 next
2015-01-20 10:38:33 -08:00
Julien Pauli
a40e004553
Updated NEWS
2015-01-20 15:09:13 +01:00
Joshua Rogers
df67c4e8bd
Fix bug #68711 Remove useless checks. 'num' is unsigned and cannot be <0.
2015-01-20 14:54:48 +01:00
Stanislav Malyshev
e63f7b47e1
Merge branch 'bug68710' into PHP-5.4
...
* bug68710:
Fix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())
2015-01-20 01:02:26 -08:00
Stanislav Malyshev
fc6aa939f5
Merge branch 'bug68799' into PHP-5.4
...
* bug68799:
Fix bug #68799 : Free called on unitialized pointer
2015-01-20 01:00:11 -08:00
Derick Rethans
b0159431e3
Fixed bug #45081 (strtotime incorrectly interprets SGT time zone).
2015-01-19 22:59:24 +00:00
Xinchen Hui
fa3808bacc
Update year
2015-01-17 13:21:20 +08:00
Anatol Belski
0cef7d168d
updated NEWS
2015-01-15 16:42:52 +01:00
steffen
7c9633412e
PDO_MySQL: Differentiate between linux and win32 when passing unix_socket
...
Unix uses "127.0.0.1" as default host for named pipes,
while when using Windows a "." is required as host by mysqlnd.
(This can be seen at mysqlnd.c (line 945 or searching #ifndef PHP_WIN32)
2015-01-15 16:42:51 +01:00
Xinchen Hui
73c1be2653
Bump year
2015-01-15 23:26:03 +08:00
Daniel Lowrey
80a337bba1
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Update NEWS
Fixed bug #55618 (use case-insensitive cert name matching)
2015-01-14 18:04:41 +01:00
Daniel Lowrey
0a76610459
Update NEWS
2015-01-14 18:03:27 +01:00
Daniel Lowrey
e2fe8e164f
Fixed bug #55618 (use case-insensitive cert name matching)
2015-01-14 18:02:50 +01:00
Anatol Belski
ef58622534
Fixed bug #68771 SQL syntax error in sqlite lib
2015-01-12 16:55:47 +01:00
Anatol Belski
2923f24042
updated libs_versions.txt
2015-01-12 12:58:00 +01:00
Stanislav Malyshev
2fc178cf44
Fix bug #68799 : Free called on unitialized pointer
2015-01-11 00:51:05 -08:00
Rasmus Lerdorf
e4b3d623a2
Fix bug #68784
2015-01-09 18:08:36 -08:00
Rasmus Lerdorf
3b9057bc6f
We can't output absolute S and T values for the
...
Diophantine solution here since it can vary based
on the libgmp version we are linking against and
in general there are almost always multiple valid
solutions
2015-01-09 16:16:47 -08:00
Julien Pauli
dc810543cf
Fix bug #68260
2015-01-09 16:24:14 +01:00
Adam Harvey
8b0f105761
Calling crypt() with a salt of *0 should always return *1.
2015-01-08 19:13:23 +00:00
Julien Pauli
3f1d1892c9
5.5.22 now
2015-01-07 10:42:53 +01:00
Remi Collet
8404f8ac2a
cleanup old unused typedef
2015-01-06 11:06:25 +01:00
Adam Harvey
448ef30f75
Handle NULL strings in sapi_cli_server_register_variable().
...
Fixes bug #68745 (Invalid HTTP requests make web server segfault).
2015-01-06 01:23:27 +00:00
Adam Harvey
0cc2810498
Allow CLI server test scripts to specify the name of the router file.
...
This is required to write tests that behave differently when an index.php isn't
present in the document root. (Such as the one I'm about to commit.)
2015-01-06 01:22:59 +00:00
Anatol Belski
339139f876
fix ACLs tests, make it create dir where it has to, not file
2015-01-05 19:19:24 +01:00
Remi Collet
4bb580adb1
NEWS
2015-01-05 17:34:45 +01:00
Remi Collet
1b6d076244
Fix bug #68751 listen.allowed_clients is broken
2015-01-05 17:33:57 +01:00
Matteo Beccati
ea1c0c5627
Update test after fixing bug #68371
2015-01-05 12:11:16 +01:00
Matteo Beccati
4a9ad2faff
Updated NEWS for #68371
2015-01-05 11:01:54 +01:00
Matteo Beccati
7d2f8525d8
Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
2015-01-05 09:25:48 +01:00
Stanislav Malyshev
184b6d9e73
fix memory leak
2015-01-04 21:07:57 -08:00
Stanislav Malyshev
eeae4651f7
Merge branch 'pull-request/975' into PHP-5.5
...
* pull-request/975:
Fixes #66764 - configure doesn't define EXPANDED_DATADIR / PHP_DATADIR correctly
2015-01-04 20:54:29 -08:00
Stanislav Malyshev
5639c3350e
Merge branch 'pull-request/742' into PHP-5.5
...
* pull-request/742:
Fixed typo
GD: imagepalettetotruecolor tests
2015-01-04 19:47:54 -08:00
Stanislav Malyshev
75f93ed663
fix GD tests with no GD loaded
2015-01-04 19:45:57 -08:00
Anatol Belski
4ed261870f
updated libmagic.patch in 5.5
2015-01-04 17:05:42 +01:00
Anatol Belski
c772261319
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
updated libmagic.patch in 5.4
2015-01-04 17:04:53 +01:00
Anatol Belski
ebb98e7aeb
updated libmagic.patch in 5.4
2015-01-04 17:04:13 +01:00
Anatol Belski
d3f171117c
updated NEWS
2015-01-04 14:23:33 +01:00
Anatol Belski
5fe54dbaf9
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed bug #68735 fileinfo out-of-bounds memory access
2015-01-04 14:22:37 +01:00
Anatol Belski
ede59c8feb
Fixed bug #68735 fileinfo out-of-bounds memory access
2015-01-04 14:20:21 +01:00
Anatol Belski
b644dcfb72
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
removed dead code
2015-01-04 09:40:56 +01:00
Remi Collet
919abf0cb1
removed dead code
2015-01-04 09:40:19 +01:00
Ferenc Kovacs
83db775323
Fixes #66764 - configure doesn't define EXPANDED_DATADIR / PHP_DATADIR correctly
2015-01-03 19:18:07 +01:00
Greg Roach
244fc1e053
Fixes #67960 - Long/short day names reversed in jddayofweek()
2015-01-02 10:14:12 +01:00
Stanislav Malyshev
b585a3aed7
Fix for bug #68710 (Use After Free Vulnerability in PHP's unserialize())
2015-01-01 16:19:05 -08:00
Anatol Belski
99162b8198
updated libmagic.patch
2014-12-30 20:21:28 +01:00
Anatol Belski
d92a87d7cb
Fixed bug #68671 incorrect expression in libmagic
2014-12-30 19:37:27 +01:00
Adam Harvey
211f4ceeae
Check the return value of lo_export.
...
Patch by Ondřej Surý. Fixes bug #68697 (lo_export return -1 on failure).
2014-12-30 17:47:19 +00:00
Anatol Belski
d5123415f6
Fixed bug #66679 Alignment Bug in PCRE 8.34 upstream
2014-12-30 16:50:22 +01:00
Anatol Belski
6e36ded569
remove BOM from NEWS
2014-12-30 16:47:10 +01:00
Stanislav Malyshev
71c970077d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
FIx bug #68618 (out of bounds read crashes php-cgi)
2014-12-30 01:26:00 -08:00
Stanislav Malyshev
f9ad308669
FIx bug #68618 (out of bounds read crashes php-cgi)
2014-12-30 01:23:05 -08:00
Kalle Sommer Nielsen
fbf3a6bc1a
Fixed bug #68676 (Explicit Double Free)
2014-12-29 11:04:23 +01:00
Keyur Govande
aa192f57c9
Fix for failing tests. gcc 4.8.3 would optimize away the assigment.
2014-12-26 20:36:19 +00:00
Xinchen Hui
80260bcfa6
Fixed test
2014-12-25 06:20:52 -05:00
Nikita Popov
aa394e70ff
Fix bug #67111
...
Loop variables need to be freed for both "break" and "continue".
I'm adding the test to Zend/ because it's good to have a test for
this even without opcache.
2014-12-19 21:42:42 +01:00
Remi Collet
5fc2fede9c
Better fix for #68601 for perf
...
https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
2014-12-17 10:59:36 +01:00
Ferenc Kovacs
5a67d9a229
add missing NEWS entry
2014-12-17 02:13:59 +01:00
Ferenc Kovacs
925fa271ec
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add missing NEWS entry
5.4.37
Conflicts:
configure.in
main/php_version.h
2014-12-17 02:13:13 +01:00
Ferenc Kovacs
cd387b4575
add missing NEWS entry
2014-12-17 02:10:36 +01:00
Stanislav Malyshev
8fe4cc6d28
5.4.37
2014-12-16 11:44:41 -08:00
Stanislav Malyshev
8efd73c4d2
update news
2014-12-16 10:18:07 -08:00
Stanislav Malyshev
622a346302
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add CVE
add missing test file
Fix bug #68594 - Use after free vulnerability in unserialize()
2014-12-16 10:17:07 -08:00
Stanislav Malyshev
53f129a44d
add CVE
2014-12-16 10:16:31 -08:00
Stanislav Malyshev
b75867fff0
add missing test file
2014-12-16 10:15:17 -08:00
Stanislav Malyshev
630f9c33c2
Fix bug #68594 - Use after free vulnerability in unserialize()
2014-12-16 10:15:17 -08:00
Remi Collet
9c4de388c6
fix perms
2014-12-16 08:37:48 +01:00
Andrea Faulds
f804a3614e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix undefined behaviour in strnatcmp
update NEWS
move the test to the right place
Fixed bug #68545 NULL pointer dereference in unserialize.c
Conflicts:
NEWS
2014-12-13 22:28:45 +00:00
Andrea Faulds
034e6decb3
Fix undefined behaviour in strnatcmp
2014-12-13 22:27:10 +00:00
Remi Collet
ba62b9bbf8
NEWS
2014-12-13 09:04:57 +01:00
Remi Collet
07b5896a13
Fix bug #68601 buffer read overflow in gd_gif_in.c
2014-12-13 09:03:44 +01:00
Jille Timmermans
9beb3763db
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:16:12 +01:00
Julien Pauli
d43d0663af
Updated NEWS
2014-12-12 16:50:32 +01:00
mcq8
86f1875536
Fix bug #68532 : convert.base64-encode omits padding bytes
2014-12-12 16:42:38 +01:00
Julien Pauli
d6eb3b49c8
Updated NEWS
2014-12-12 15:06:04 +01:00
Kévin Dunglas
ee226b961c
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
2014-12-12 14:58:23 +01:00
Julien Pauli
fbe9b2c088
Updated NEWS
2014-12-12 14:18:27 +01:00
Anatol Belski
3affc0e8a2
Fixed bug #68583 Crash in timeout thread
...
This replaces the GUI element used for execution timeout handling
on Windows. Instead a timer queue technique is used, which is indeed
a thread pool. A timer queue timer is a lightweight object handled
but that thread pool and the timer thread spends most of the time
sleeping and waiting for an alert.
Please note also that this introduces neither binary nor source
breach. The custom timeout thread functions are deleted, however
they was not exported throug DLL, so couldn't be used by any
external code. As well they couldn't be used anywhere in the core
except in executor api, because those custom timeout thread
functions they used to operate on static variables which would
be overwritten (and that would blow).
So instead a relatively modern technique is used for the timeout
handling. It's still not perfect because the executor still has to
check EX(timed_out). This can be a topic for an improvement in
master. But brobably can be tricky as currently it seems to be not
possible to signal an individual thread. Also note another issue
that static variables aren't thread safe, but the current timer
implementation is.
2014-12-12 10:43:31 +01:00
Stanislav Malyshev
97df260b27
update NEWS
2014-12-11 10:41:17 -08:00
Anatol Belski
0323f66fa2
move the test to the right place
2014-12-11 10:39:47 -08:00
Anatol Belski
13f1c276ab
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-11 10:39:37 -08:00
redfoxli
7953d830ab
follow C89 format
2014-12-10 21:58:57 +08:00
Anatol Belski
c5f7dcd1dc
move the test to the right place
2014-12-10 13:19:51 +01:00
Anatol Belski
20d93534d5
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-10 11:43:33 +01:00
Julien Pauli
a67a5dc0ad
Updated NEWS
2014-12-10 11:22:28 +01:00
redfoxli
d0a58695d0
fix-bug-68571-to-php5.5
2014-12-09 19:42:55 +08:00
Derick Rethans
4078c35939
Merge branch 'day-of-week-issues' into PHP-5.5
2014-12-08 11:06:41 +00:00
Derick Rethans
5f9a68d3ef
Fixed day_of_week function as it could sometimes return negative values internally.
2014-12-08 11:06:12 +00:00
Dmitry Stogov
e6ad29ae96
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed possible read after end of buffer and use after free.
2014-12-08 12:20:01 +03:00
Dmitry Stogov
dd791cd717
Fixed possible read after end of buffer and use after free.
2014-12-08 12:18:27 +03:00
Anatol Belski
5d126245a3
fixed test
2014-12-06 12:31:27 +01:00
Anatol Belski
9016018ccc
C89 compat
2014-12-06 12:14:17 +01:00
Anatol Belski
373aa7c81f
add include for missing localeconv_r proto
2014-12-06 12:09:35 +01:00
Anatol Belski
1b4d5ad46a
Fixed bug #65230 setting locale randomly broken
2014-12-06 11:59:43 +01:00
Matteo Beccati
625b929c6e
Fix compilation error (ref #68424 )
2014-12-06 10:23:56 +01:00
Adam Harvey
79131b4617
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert unintentional docblock change
2014-12-05 13:57:46 -08:00
Chris Christoff
0e985d3726
Revert unintentional docblock change
...
Revert unintentional docblock change
It looks like commit dd8e59da8f
introduced an unintended docbloc change. I have reverted this
change in this commit.
2014-12-05 13:57:03 -08:00
Julien Pauli
3add3491b3
Updated NEWS
2014-12-05 17:05:21 +01:00
pwolanin
4c0bd5e77a
Start adding new attribute to control multi statements
2014-12-05 17:03:31 +01:00
Anatol Belski
fccd1eda5f
. Fixed bug #68120 Update bundled libsqlite
2014-12-05 15:43:53 +01:00
Anatol Belski
7943f944c2
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:06:06 +01:00
Julien Pauli
1e40b0aff6
Updated NEWS
2014-12-05 10:11:49 +01:00
Peter Cowburn
557026301f
Fixed #68479 - Added escape parameter to SplFileObject::fputcsv
2014-12-05 10:10:10 +01:00
Anatol Belski
c65143d571
fix dir separators in test
2014-12-05 07:07:58 +01:00
Ferenc Kovacs
4f9f7c7948
Merge branch 'pull-request/932' into PHP-5.5
...
* pull-request/932:
add initial install
switch to C travis project instead of PHP
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
2014-12-04 11:12:17 +01:00
Tjerk Meesters
2bcf8a6cd9
Fixed #65213 - cannot cast SplFileInfo to boolean
2014-12-04 07:17:33 +08:00
Ferenc Kovacs
a8b49bbf18
add initial install
2014-12-04 00:13:38 +01:00
Ferenc Kovacs
b0f7a46b21
switch to C travis project instead of PHP
2014-12-04 00:08:04 +01:00
Ferenc Kovacs
43c36bdb73
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
2014-12-04 00:07:32 +01:00
Anatol Belski
13aaba40cd
updated NEWS
2014-12-03 16:47:38 +01:00
Anatol Belski
65fce7f950
Fixed bug #55541 errors spawn MessageBox, which blocks test automation
...
With that, also fixed bug #68297 (Application Popup provides too few
information) as a better error message is provided to the event log.
In the second case, the condition for display_startup_error was removed. The
condition was added as a fix for bug #30760 which was preventing the
MessageBox to appear. When display_startup_error=on, the error will be seen
on the console. But when running under a webserver it'll probably get lost,
so we need to log it other way into the event log (would be done automatically
when message box was used, but that would eventually cause issues of blocked
execution).
Generally speaking - any MessageBox or other graphical element is a potential
issue and that was repeatedly reported. Graphical elements shouldn't be used
in the core. Even being a rare one it can cause a bad situation where the
server is blocked. Yet some places have to cleaned up.
2014-12-03 16:33:05 +01:00
Ferenc Kovacs
4d743eee5f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
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
Conflicts:
run-tests.php
2014-12-02 19:18:57 +01:00
Ferenc Kovacs
b28c3eb47e
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
2014-12-02 19:17:58 +01:00
Anatol Belski
a0c03a3ec5
one more refix to the test
2014-12-01 19:09:39 +01:00
Anatol Belski
b6d624e54e
fix dir separator in test
2014-12-01 18:55:20 +01:00
Anatol Belski
cb6dea6ea8
fix possible null pointer math
2014-12-01 14:40:35 +01:00
Ferenc Kovacs
a3a0e49586
Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.
...
This reverts commit 5515937073 .
2014-12-01 10:12:06 +01:00
Anatol Belski
c1ec815fae
add include for missing usleep proto
2014-12-01 08:27:46 +01:00
Anatol Belski
f4a0e601ee
C89 compat
2014-12-01 08:24:44 +01:00
Tjerk Meesters
85e2e6c1fd
Added more useful warning messages
2014-11-30 22:39:25 -08:00
Tjerk Meesters
977d84490b
Changed based on comments and make its behaviour equal to the Windows version
2014-11-30 22:39:18 -08:00
Tjerk Meesters
7b44790db5
Fix #53092 - dns_get_record does not return false on dns server failure
2014-11-30 22:39:09 -08:00
nil0x42
a87300241f
Fix php cli (-S option) inconsistent port parsing
...
Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).
2014-11-30 22:29:24 -08:00
Stanislav Malyshev
f75da60b18
update NEWS
2014-11-30 22:19:24 -08:00
Jille Timmermans
1b4368db77
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
2014-11-30 22:18:22 -08:00
Jille Timmermans
7049d3450e
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
2014-11-30 22:18:12 -08:00
Stanislav Malyshev
f7eedbe9a6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update news
Conflicts:
ext/standard/crypt.c
2014-11-30 21:38:30 -08:00
Stanislav Malyshev
84be568366
update news
2014-11-30 21:37:39 -08:00
Stanislav Malyshev
3003793480
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update news
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:12:17 -08:00
Stanislav Malyshev
39007e23a4
update news
2014-11-30 21:12:03 -08:00
Stanislav Malyshev
4d162a2d9b
update NEWS
2014-11-30 21:11:20 -08:00
Stanislav Malyshev
abf5b9481b
Merge branch 'pull-request/868' into PHP-5.5
...
* pull-request/868:
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:09:41 -08:00
Leigh
301b7f990a
Apply error-code-salt fix to Windows too
...
Conflicts:
ext/standard/crypt.c
2014-11-30 21:07:31 -08:00
Leigh
7e870c596d
Bug fixes in light of failing bcrypt tests
...
Conflicts:
ext/standard/crypt.c
2014-11-30 21:06:39 -08:00
Leigh
2d9d10fbbf
Add tests from 1.3. Add missing tests.
...
3 of the missing tests fail. // TODO
2014-11-30 21:05:40 -08:00
Leigh
29f51e1ca9
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:05:32 -08:00
Stanislav Malyshev
17094017f7
Merge branch 'pull-request/914' into PHP-5.5
...
* pull-request/914:
Fixes memory leak introduced in 2b9af967
2014-11-30 18:26:17 -08:00
Stanislav Malyshev
ffb62112f8
Update NEWS
2014-11-30 17:34:07 -08:00
Stanislav Malyshev
977974f95f
fix typo
2014-11-30 17:09:53 -08:00
mcq8
04808aa7e1
Added test and review suggestion
2014-11-30 16:38:20 -08:00
mcq8
6eaa4d01d3
Fix bug #68335 : rmdir doesnt work with file:// stream wrapper
2014-11-30 16:38:13 -08:00
Julien Pauli
40e518b4c3
Updated NEWS
2014-11-29 14:40:47 +01:00
Julien Pauli
19b5bc8ce2
Fix #60509 , pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:39:19 +01:00
Julien Pauli
59bd4117ac
Updated NEWS
2014-11-29 12:10:54 +01:00
Paul Garvin
605d32bedd
SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
...
Currently when you use RecursiveDirectoryIterator with the
CURRENT_AS_PATHNAME flag PHP will throw an UnexpectedValueException with
message 'Objects returned by RecursiveIterator::getChildren() must implement
RecursiveIterator'.This happend because getChildren() will return the
current directory name instead of an Iterator (or subclass of) as required
by the RecursiveIterator interface.
This commit changes getChildren() to return annother
RecursiveDirectoryIterator but current() still returns the path name when
CURRENT_AS_PATHNAME is used. A PHPT test case (bug66405.phpt) that
reproduces the bug is included.
This fix was originally against the PHP-5.4 branch, but it was not merged
before 5.4 reached EOL. I am hoping to get it applied to 5.5, 5.6, and
master.
2014-11-29 12:04:44 +01:00
Julien Pauli
1813fe9f38
Merge branch 'pull-request/656' into PHP-5.5
...
* pull-request/656:
PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:38:57 +01:00
Popa Marius Adrian
cf2cd8fb20
PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
...
cleanup and PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:38:36 +01:00
Ferenc Kovacs
108bf84967
fix test with readline on mac
2014-11-29 01:47:45 +01:00
Julien Pauli
619adc9795
updated NEWS
2014-11-28 13:26:20 +01:00
Julien Pauli
7c77ca38b1
Fix #65419 - Inside trait, self::class != __CLASS__
2014-11-28 13:24:25 +01:00
Anatol Belski
42af411620
refactored the mbstring config.w32
2014-11-27 13:37:00 +01:00
Anatol Belski
3ec8730e89
Fixed bug #68504 --with-libmbfl configure option not present on Windows
2014-11-27 09:14:47 +01:00
Ferenc Kovacs
5d67e8617b
the darwin specific test fails for me with the same output which is the expected for the original test
...
I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on
qa.php.net/reports and on google which do see this test failing on mac.
if this change causes you to have this test failing on Mac, please drop me a mail so we can improve
the current test so it passes for everybody.
2014-11-27 00:08:40 +01:00
Julien Pauli
3656349990
5.5.21 now
2014-11-26 11:31:58 +01:00
Anatol Belski
68126a76b4
updated lib versions
2014-11-26 08:33:06 +01:00
Stanislav Malyshev
f86aa349eb
move tests into proper place
2014-11-24 12:26:20 -08:00
Anatol Belski
09f2355eec
fix dir separator in test
2014-11-24 16:14:17 +01:00
Anatol Belski
ac8b1a9de1
fork test for windows
2014-11-24 16:09:26 +01:00
Stanislav Malyshev
f79bf4900a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update for LiteSpeed
2014-11-23 18:05:49 -08:00
Stanislav Malyshev
7dbc5e5c69
update for LiteSpeed
2014-11-23 18:05:26 -08:00
Stanislav Malyshev
4469049b7b
update for LiteSpeed
2014-11-23 18:03:07 -08:00
Stanislav Malyshev
d7f27984d2
Merge branch 'pull-request/757' into PHP-5.5
...
* pull-request/757:
xmlwriter_full_end_element tests
Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-11-23 17:52:43 -08:00
Stanislav Malyshev
711a3ab9d1
Merge branch 'pull-request/782' into PHP-5.5
...
* pull-request/782:
tests image gd
2014-11-23 17:52:08 -08:00
Stanislav Malyshev
1330491994
Merge branch 'pull-request/854' into PHP-5.5
...
* pull-request/854:
teste basico da funcao timezone_version_get
2014-11-23 17:23:34 -08:00
Stanislav Malyshev
9d7206dcea
Merge branch 'pull-request/855' into PHP-5.5
...
* pull-request/855:
added some tests to datetime and dateinterval functions
added various tests for XSLTProcessor and one test for iconv extension
2014-11-23 17:22:54 -08:00
Stanislav Malyshev
24cd25824e
Merge branch 'pull-request/856' into PHP-5.5
...
* pull-request/856:
Add my information to this test
Add a test for the exception cases of readline_read_history
2014-11-23 17:22:02 -08:00
Stanislav Malyshev
fa76fa8e32
Merge branch 'pull-request/863' into PHP-5.5
...
* pull-request/863:
Test PHP Init Fail Without Params
2014-11-23 17:21:20 -08:00
Tim Siebels
5351ecbfca
Correct two zlib tests to use a string, not a const
2014-11-23 17:12:37 -08:00
Stanislav Malyshev
03dcf66f9a
fix NEWS order
2014-11-23 16:21:53 -08:00
Stanislav Malyshev
05394d6056
update NEWS
2014-11-23 16:18:04 -08:00
Stanislav Malyshev
9ef264504d
Merge branch 'pull-request/840' into PHP-5.5
...
* pull-request/840:
Update the VM generation script, per Bob.
Update NEWS after rebase.
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-11-23 16:17:17 -08:00
Sobak
6d148f7ed9
Update comments in php.ini
2014-11-23 16:13:44 -08:00
Sebastian Brandt
c7248e6359
added missing INSTALL_ROOT
2014-11-23 16:09:24 -08:00
Florian MARGAINE
489bfb0af9
Fixes memory leak introduced in 2b9af967
...
Fixes https://bugs.php.net/bug.php?id=68285
2014-11-23 01:42:26 +01:00
Remi Collet
9664312e30
NEWS
2014-11-22 10:36:45 +01:00
Remi Collet
c50ee655ea
Fixed Bug #68478 acess_log don't use prefix
...
Calling fpm_conf_process_all_pools before fpm_log_open
allow to use fpm_evaluate_full_path and so to honor
global prefix or pool prefix for access.log
2014-11-22 10:35:51 +01:00
Stanislav Malyshev
bc55af0cf2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert "made lsapi_main.c compatible with PHP7/phpng ."
2014-11-22 00:40:11 -08:00
Stanislav Malyshev
96cde1841a
Revert "made lsapi_main.c compatible with PHP7/phpng ."
...
This reverts commit 9fb816f45a .
Not a security-related fix.
2014-11-22 00:38:04 -08:00
Julien Pauli
99fa36cc58
Updated NEWS
2014-11-21 16:16:54 +01:00
Julien Pauli
cd3b46f28a
Fix #68185 - Inconsistent insteadof definition
2014-11-21 15:37:33 +01:00
Anatol Belski
59a9e7af21
fixed test
...
on Linux gettext requires a locale to be installed on the system
2014-11-21 13:56:49 +01:00
Anatol Belski
f2e33dc725
added test for things done so far for bug #66265
2014-11-21 10:22:47 +01:00
Anatol Belski
56fac96bec
partially fixed bug #66265
...
NTS mode should additionally use _putenv to satisfy libs like gettext
relying on _getenv. As _putenv isn't thread safe, it wouldn't bring
much for the TS mode as it would change locale across all the threads
and require locking to avoid random fails with concurrent _getenv
calls.
2014-11-21 09:57:12 +01:00
Anatol Belski
502ce90873
forked bug67052.phpt for Windows
2014-11-21 09:53:55 +01:00
Remi Collet
8be510ae63
NEWS
2014-11-21 07:56:39 +01:00
Remi Collet
5be75da202
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
...
Add a "There are no allowed addresses for this pool"
2014-11-21 07:55:13 +01:00
Remi Collet
c4ca220467
Raise a warning when listen = hostname used and is resolved as multiple addresses
...
Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...
At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
2014-11-21 07:54:51 +01:00
Remi Collet
1f4972e348
NEWS
2014-11-21 07:49:53 +01:00
David Zuelke
9e8d4a1b06
move zlog_set_level() again
...
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894 ),
because otherwise nothing in fpm_conf_init_main() obeys log levels
2014-11-21 07:49:08 +01:00
David Zuelke
8beb153460
Change pm.start_servers default warning to notice
...
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
2014-11-21 07:47:04 +01:00
Remi Collet
cf3a902286
NEWS
2014-11-21 07:34:40 +01:00
Florian MARGAINE
29d2c13809
Fixed bug #68391 Returns the pool config files in order
...
Fixes https://bugs.php.net/bug.php?id=68391
2014-11-21 07:33:15 +01:00
Adam Harvey
73cb5ca777
Merge branch 'PHP-5.4' into PHP-5.5
2014-11-20 16:18:42 -08:00
George Wang
d467761663
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2014-11-20 16:56:03 -05:00
George Wang
bd3bc097b0
made lsapi_main.c compatible with PHP7/phpng .
2014-11-20 16:49:56 -05:00
George Wang
9fb816f45a
made lsapi_main.c compatible with PHP7/phpng .
2014-11-20 16:49:01 -05:00
Anatol Belski
6c3768b154
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
2014-11-20 13:26:23 +01:00
Anatol Belski
65ca28b463
split formatter_format*.phpt for ICP 54.1
2014-11-20 13:17:41 +01:00
Anatol Belski
2ec7f04f7e
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
2014-11-20 13:12:02 +01:00
Anatol Belski
a52ff5cde6
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
2014-11-20 13:06:22 +01:00
Anatol Belski
36a2e235dd
fix icu version to test
2014-11-20 13:01:04 +01:00
Anatol Belski
96249b68e5
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
2014-11-20 12:58:41 +01:00
Anatol Belski
278d71e508
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
2014-11-20 12:53:11 +01:00
Anatol Belski
9cfe459e21
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
2014-11-20 12:46:48 +01:00
Anatol Belski
54af278762
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
2014-11-20 12:39:52 +01:00
Anatol Belski
b61dba5e1d
clone dateformat_calendars_variant3.phpt for ICU 54.1
2014-11-20 11:49:39 +01:00
Anatol Belski
8ca69ff641
split collator_get_sort_key_variant3.phpt for icu 54.1
2014-11-20 11:37:06 +01:00
Anatol Belski
f97fc096a3
split ext/intl/tests/collator_create3.phpt for icu >= 54.1
2014-11-20 11:17:42 +01:00
Remi Collet
d438bcf226
NEWS
2014-11-19 16:47:52 +01:00
Remi Collet
858c9d86fa
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
2014-11-19 16:46:51 +01:00
Remi Collet
5674827ead
NEWS
2014-11-18 17:43:28 +01:00
David Zuelke
03cf70ab1e
Fixed bug #68381 Set FPM log level earlier during init
...
The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.
In particular, fpm_unix_conf_wp may throw notices like this:
> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…
Which will still appear even if log_level in php-fpm.conf is set to warning+
2014-11-18 17:42:21 +01:00
Remi Collet
09f9f7ce50
update fpm configuration for #68428
2014-11-17 09:43:09 +01:00
Anatol Belski
1504e9c9df
fix incompatible pointer types
2014-11-17 09:33:37 +01:00
Remi Collet
6d9b4ca5fc
NEWS
2014-11-17 09:23:16 +01:00
Remi Collet
3a8103ae47
Fixed bug #68428 allowed_client is IPv4 only
2014-11-17 09:22:13 +01:00
Remi Collet
4475cbdc85
comment about ipv4-mapped in fpm conf
2014-11-17 06:57:59 +01:00
Remi Collet
4657289e87
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
...
Log IPv4-Mapped-Ipv6 address as IPv4 (not as IPv6)
2014-11-17 06:53:38 +01:00
Remi Collet
23fd22f9ed
improve comments about FPM listen option
2014-11-16 17:59:36 +01:00
Remi Collet
69b9381901
NEWS
2014-11-15 08:13:56 +01:00
Remi Collet
1d9bb287c5
Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
...
Restore default behavior when no address configured:
Listen on all IPv4 addresses.
At some time we could consider to switch to all IPv6
but this will be a BC break.
2014-11-15 08:08:23 +01:00
Remi Collet
e4974f6cc6
NEWS
2014-11-14 19:13:53 +01:00
Remi Collet
5112fdd670
Fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-14 19:09:50 +01:00
Remi Collet
23db119768
Fix bug #68423i PHP-FPM will no longer load all pools
...
The hash need to be unique per IP + Port
Previous version have (IPv4 only)
sprintf(key, "%u.%u.%u.%u:%u", IPQUAD(&sa_in->sin_addr), (unsigned int) ntohs(sa_in->sin_port));
2014-11-14 17:29:31 +01:00
Matteo Beccati
faaea4f304
Fixed NEWS
...
Some entries had been mistakenly removed in ad468d20b1
2014-11-12 16:51:26 +01:00
Matteo Beccati
65fee90462
Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64
2014-11-12 11:21:11 +01:00
Julien Pauli
14d3e173aa
Fixed wrong NEWS
2014-11-12 10:59:54 +01:00
Stanislav Malyshev
99b538a722
Merge branch 'PHp-5.4' into PHP-5.5
...
* PHp-5.4:
5.4.36-dev
Fixed bug #66584 Segmentation fault on statement deallocation
Conflicts:
configure.in
main/php_version.h
2014-11-11 16:32:38 -08:00
Stanislav Malyshev
98b22864ff
5.4.36-dev
2014-11-11 16:31:38 -08:00
Matteo Beccati
2323e95df9
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-11 16:25:31 -08:00
Ferenc Kovacs
791fc70025
update NEWS
2014-11-12 00:19:51 +01:00
Ferenc Kovacs
b05e123cde
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
2014-11-12 00:18:55 +01:00
Ferenc Kovacs
db5ad4c51f
update NEWS
2014-11-12 00:18:13 +01:00
Derick Rethans
695a102ede
- Updated to version 2014.10 (2014j)
2014-11-11 14:01:24 -03:00
Xinchen Hui
327d4f9afb
Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes)
2014-11-11 16:22:49 +08:00
Rasmus Lerdorf
96c5c1ef59
Fix skipif test here
2014-11-10 10:42:57 -08:00
Rasmus Lerdorf
ad468d20b1
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Fixed bug #68370 ("unset($this)" can make the program crash)
Fixed NEWS for 5.5
Fix opcache.revalidate_freq per-request behavior
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
2014-11-10 10:42:30 -08:00
Matteo Beccati
3e4b91ec7f
Fixed bug #68371 PDO#getAttribute() cannot be called with platform-specific attribute names
2014-11-10 08:16:35 +01:00
Xinchen Hui
7d69fa7179
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
2014-11-10 13:52:07 +08:00
Xinchen Hui
ab84939254
Fixed bug #68370 ("unset($this)" can make the program crash)
2014-11-10 13:46:47 +08:00
Julien Pauli
722dd4637b
Fixed NEWS for 5.5
2014-11-07 12:59:48 +01:00
Dmitry Stogov
033abd6d77
Fix opcache.revalidate_freq per-request behavior
2014-11-07 10:16:25 +03:00
Dmitry Stogov
ed4c0245c7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
2014-11-07 09:48:26 +03:00
Dmitry Stogov
9dfa843a38
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
2014-11-07 09:46:49 +03:00
Rasmus Lerdorf
96a6f688cb
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 09:49:11 -08:00
Matteo Beccati
8fdc4d8797
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 15:47:32 +01:00
Rasmus Lerdorf
63831d6984
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src: (29 commits)
fix dir separator in test
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
set default response code to 200
Fixed bug #66584 Segmentation fault on statement deallocation
fix ZTS build
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
don't try to send in the test results until we restored qa.php.net
Don't treat warnings as failures in the junit output
Fixed test to work with recent libcurl versions
PHP 5.5.20 now
Ensure we have enough input data before parsing date
Fix bug #68095 - invalid read in php_getopt()
NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
- Updated to version 2014.9 (2014i)
updated libmagic.patch in 5.5
...
2014-11-05 12:39:42 -08:00
Anatol Belski
53266476e6
fix dir separator in test
2014-11-05 15:42:45 +01:00
Stanislav Malyshev
acd93dfb6d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
2014-11-03 11:43:40 -08:00
Stanislav Malyshev
0ddcf2a919
update NEWS
2014-11-03 11:43:15 -08:00
Remi Collet
7740edae36
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
2014-11-03 11:42:15 -08:00
Stanislav Malyshev
279550ee85
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
fix NEWS & version
NEWS
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Conflicts:
configure.in
ext/curl/interface.c
main/php_version.h
2014-11-03 11:37:43 -08:00
Stanislav Malyshev
c351b47ce8
Initialize the offset table - PCRE may sometimes miss offsets
2014-11-03 11:31:02 -08:00
George Wang
3918e544d8
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2014-11-03 11:43:43 -05:00
George Wang
19f3f4b155
set default response code to 200
2014-11-03 11:42:45 -05:00
George Wang
1a2ec3fc60
set default response code to 200
2014-11-03 11:42:01 -05:00
Matteo Beccati
69f6aee35c
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:19:56 +01:00
Anatol Belski
1fc80d0ca7
fix ZTS build
2014-10-31 19:53:16 +01:00
Matteo Beccati
29ee694341
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
2014-10-31 18:54:16 +01:00
Matteo Beccati
9580fcfedd
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
2014-10-31 18:11:32 +01:00
Adam Harvey
4bb836be20
Update the VM generation script, per Bob.
2014-10-31 10:10:49 -07:00
Adam Harvey
087150de95
Update NEWS after rebase.
2014-10-31 10:09:14 -07:00
Adam Harvey
5b5f99ef18
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-10-31 10:08:17 -07:00
Ferenc Kovacs
5515937073
don't try to send in the test results until we restored qa.php.net
2014-10-30 18:12:37 +01:00
Matteo Beccati
a3b4f8320d
Don't treat warnings as failures in the junit output
...
This matches Travis and the actual return code.
2014-10-29 14:33:36 +01:00
Matteo Beccati
daf9357d27
Fixed test to work with recent libcurl versions
2014-10-29 11:28:27 +01:00
Julien Pauli
71e200b338
PHP 5.5.20 now
2014-10-28 15:01:53 +01:00
Remi Collet
13a218d328
Ensure we have enough input data before parsing date
...
This check have be removed in
http://git.php.net/?p=php-src.git;a=commit;h=ba2f87b50667f147c198abd31fc31eb09522f3d7
But the parser really need 17 char.
And the string need to be nul terminated for this check
So avoid reading random byte from memory.
2014-10-28 08:48:22 +01:00
Stanislav Malyshev
deadeeae1d
Fix bug #68095 - invalid read in php_getopt()
...
It's a hacky solution and incomplete, but I don't see other way
without refactoring the whole getopt protocol.
2014-10-27 19:06:44 -07:00
Remi Collet
88527e4569
NEWS
2014-10-27 07:47:18 +01:00
Remi Collet
3c925b18fa
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
2014-10-27 07:45:34 +01:00
Derick Rethans
22b9f16e9a
- Updated to version 2014.9 (2014i)
2014-10-26 10:54:07 -04:00
Anatol Belski
270df3ffd6
updated libmagic.patch in 5.5
2014-10-25 12:01:58 +02:00
Remi Collet
ec3d25fcbd
NEWS
2014-10-25 11:29:53 +02:00
Remi Collet
5b295bf191
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
...
Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0
CVE -2014-3710
(cherry picked from commit 1803228597 )
2014-10-25 11:29:16 +02:00
Stanislav Malyshev
4d54c4bdf0
fix NEWS & version
2014-10-22 13:16:29 -07:00
Remi Collet
de4fff0fb3
NEWS
2014-10-22 15:39:49 +02:00
Remi Collet
1803228597
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
...
Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0
CVE -2014-3710
2014-10-22 15:37:04 +02:00
Anatol Belski
37d5a2b18f
initialize lineno before calling compile file file in phar
2014-10-20 15:53:32 +02:00
Rasmus Lerdorf
8c9e254319
News entry for new curl constants
2014-10-16 21:36:53 -07:00
Rasmus Lerdorf
2b5bffe6c7
TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
2014-10-16 21:25:29 -07:00
Remi Collet
a1abdba1eb
cleanup NEWS
2014-10-15 19:47:55 +02:00
Remi Collet
503f8193e8
NEWS
2014-10-15 19:16:45 +02:00
Remi Collet
2728e6f017
Fixed Bug #65171 imagescale() fails
...
Third param (height) is set as optional,
but default value = -1 is incorrect
Compute correct height to preserve ratio.
2014-10-15 19:13:25 +02:00
Julien Pauli
6d9c9f8f04
Revert "Bug #41631 : Observe socket read timeouts in SSL streams"
...
This reverts commit 6569db8808 .
Conflicts:
ext/openssl/xp_ssl.c
2014-10-15 14:38:12 +02:00
Stanislav Malyshev
bb3d43fa05
Fix return code (merges are hard :( )
2014-10-14 11:42:33 -07:00
Stanislav Malyshev
ddb207e7fa
Fix bug #68113 (Heap corruption in exif_thumbnail())
2014-10-14 10:44:00 -07:00
Stanislav Malyshev
d1e030db02
Fix bug #68089 - do not accept options with embedded \0
...
Conflicts:
ext/curl/interface.c
2014-10-14 10:43:59 -07:00
Stanislav Malyshev
9aa9014523
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
2014-10-14 10:43:13 -07:00
Stanislav Malyshev
44035de79f
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:43:12 -07:00
Tjerk Meesters
71ba533640
Fixed bug #68128
...
Three issues are addressed:
- RecursiveRegexIterator::accept() should accept non-empty arrays without
applying any regular expression and RegexIterator::accept() should not accept
an array.
- RegexIterator::accept() should not accept an atom that fails to match
anything, even when PREG_PATTERN_ORDER is used (which would return an array
of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
to its child iterator instead of just the regular expression.
2014-10-14 22:49:01 +08:00
Stanislav Malyshev
287c91c1f0
Fix bug #68113 (Heap corruption in exif_thumbnail())
2014-10-13 23:17:45 -07:00
Stanislav Malyshev
ab0939e5e5
Fix bug #68089 - do not accept options with embedded \0
...
Conflicts:
ext/curl/interface.c
2014-10-13 23:16:06 -07:00
Stanislav Malyshev
56754a7f9e
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
2014-10-13 23:14:25 -07:00
Stanislav Malyshev
88412772d2
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-13 23:12:11 -07:00
Ard Biesheuvel
b73ef0ee4a
update NEWS
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-10-10 11:44:39 +02:00
Ard Biesheuvel
c2cce33cba
Merge branch 'PHP-5.4' into PHP-5.5
2014-10-10 11:41:10 +02:00
Ard Biesheuvel
82b07b62c0
update NEWS
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-10-10 11:40:07 +02:00
Tjerk Meesters
061cb9b807
Updated NEWS for #68129
2014-10-09 08:23:42 +08:00
Tjerk Meesters
d0e51f5ce9
Fixed bug #68129
...
Empty usernames and passwords are now treated differently from no username or password
For example, empty password:
ftp://user:@example.org
Empty username:
ftp://:password@example.org
Empty username and empty password
ftp://:@example.org
2014-10-09 08:21:30 +08:00
Dmitry Stogov
09f9403a6e
Added info about ext/opcache
2014-10-08 21:48:44 +04:00
Keyur Govande
d319a0c1d8
Add to NEWS
2014-10-07 21:21:23 +00:00
Keyur Govande
df9078ea55
Fix for bug #68087 (ODBC not reading DATE columns correctly)
...
Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.
2014-10-07 21:17:36 +00:00
Keyur Govande
d21602c072
Add to NEWS
2014-10-07 21:07:19 +00:00
Keyur Govande
648673bffe
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
...
gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.
2014-10-07 20:58:43 +00:00
Leigh
f66013df94
Apply error-code-salt fix to Windows too
2014-10-07 13:12:38 +01:00
Leigh
4e8c876120
Bug fixes in light of failing bcrypt tests
2014-10-07 12:27:57 +01:00
Leigh
a0420a72af
Add tests from 1.3. Add missing tests.
...
3 of the missing tests fail. // TODO
2014-10-07 11:50:36 +01:00
Leigh
e331f9af73
Upgrade crypt_blowfish to version 1.3
2014-10-07 11:23:24 +01:00
Johannes Schlüter
b386991471
Fix accidental edit in previous commit
2014-10-04 20:06:02 +02:00
Johannes Schlüter
136dd53ac2
Fix arginfo
2014-10-04 19:59:21 +02:00
Derick Rethans
0874ef624c
Merge branch 'PHP-5.4' into PHP-5.5
2014-10-04 15:58:40 +01:00
Florian MARGAINE
046c345de5
DateTimeZone::getOffset() now accepts a DateTimeInterface
...
Fixes #68062
2014-10-04 15:58:24 +01:00
George Wang
ef0eed7f5f
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2014-10-03 16:43:08 -04:00
George Wang
0cc2600ec6
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-03 16:42:15 -04:00
George Wang
26ff3a4c1e
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-03 16:41:32 -04:00
Nikita Popov
d67c05bb89
Fix bug number
2014-10-03 21:41:58 +02:00
Nikita Popov
93288d0095
Fix bug #68188
2014-10-03 21:26:39 +02:00
Ferenc Kovacs
25e65a7599
NEWS entry for previous commit
2014-10-03 11:38:32 +02:00
Robin Gloster
15ba757a2b
add IPv6 support to php-fpm
2014-10-03 11:35:27 +02:00
Sara Golemon
2cf94189a2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add hash to EXTENSIONS file
2014-10-02 18:55:14 -07:00
Sara Golemon
4e7b31a0db
Add hash to EXTENSIONS file
2014-10-02 18:54:46 -07:00
Ferenc Kovacs
d7b01aff89
we also have xz release tarballs since 5.5
2014-10-02 22:28:19 +02:00
Julien Pauli
cfe8a8b968
5.5.19 now
2014-10-01 16:16:05 +02:00
Remi Collet
7319298ffe
use $PHP_LIBDIR instread of "lib" in skel example
2014-10-01 09:26:21 +02:00
Paulo Eduardo
17759439d7
Test PHP Init Fail Without Params
2014-09-30 08:56:46 -03:00
Anatol Belski
7f1239232e
fix test filename
2014-09-29 20:30:18 +02:00
Anatol Belski
1a2a8c6d4e
one more test to illustrate transfer of an arbitrary data amount throug pipes
2014-09-29 20:18:33 +02:00
Anatol Belski
859913f6d4
fix tests on linux
2014-09-29 18:12:25 +02:00
Anatol Belski
91d3cd8559
better test cleanup
...
and even force the XFAIL to fail as it would take too long anyway, even if it passes
2014-09-29 18:11:06 +02:00
Anatol Belski
46aa2c396b
increase the polling period to not to break existing behaviours
2014-09-29 17:27:24 +02:00
Anatol Belski
0c982798e0
Fixed bug #51800 proc_open on Windows hangs forever
...
This loop can block for some minutes, theoretically. Practially
however, this is a 99% non issue for a normal use case. This is
required because read() is synchronous. The PHP streams API wants
to fill its internal buffers, therefore it might try to read some
more data than user has demanded. Also, for a case where we want
to read X bytes, but neither enough data nor EOF arrives, read()
will block until it could fill the buffer. If a counterpart station
runs slowly or delivers not all the data at once, read() would
still be waiting. If we quit too early, we possibly could loose
some data from the pipe. Thus it has to emulate the read()
behaviour, but obviously not completely, just to some grade.
Reading big data amount is for sure an issue on any platforms, it
depends on the pipe buffer size, which is controlled by the system.
On Windows, the buffer size seems to be way too small, which causes
buffer congestion and a dead lock. It is essential to read the pipe
descriptors simultaneously and possibly in the same order as the
opposite writes them.
Thus, this will work with smaller buffer data sizes passed through
pipes. As MSDN states, anonymous pipes don't support asynchronous
operations. Neither anonymous pipes do support select() as they are
not SOCKETs but file descriptors. Consequently - bigger data sizes
will need a better solution based on threads. However it is much
more expencive. Maybe a better solution could be exporting a part
of the internal doing as a userspace function which could perform
some kind of lookahead operation on the pipe descriptor.
This is just the first stone, depending on the user feedback we
might go for further improvements in this area.
2014-09-29 16:24:34 +02:00
Pedro MFA Evangelista
2c6ecbbea1
Add my information to this test
2014-09-28 23:25:47 -03:00
Pedro MFA Evangelista
8cd23d49db
Add a test for the exception cases of readline_read_history
2014-09-28 23:25:47 -03:00
Rodrigo Prado de Jesus
d89b1dad8a
added some tests to datetime and dateinterval functions
2014-09-28 20:30:52 -03:00
Rodrigo Prado de Jesus
813830e763
added various tests for XSLTProcessor and one test for iconv extension
2014-09-28 20:29:29 -03:00
Rodrigo Wanderley de Melo Cardoso
c0b83ba2be
teste basico da funcao timezone_version_get
2014-09-28 19:03:32 -03:00
Stanislav Malyshev
ef39f40445
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Set an LDAP error code when failing ldap_bind due to null bytes
2014-09-28 12:25:24 -07:00
Matthew Daley
fcbe20d357
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.
2014-09-28 12:23:52 -07:00
Johannes Schlüter
e6105ffb22
Merge branch 'PHP-5.4' into PHP-5.5
2014-09-27 02:17:52 +02:00
Johannes Schlüter
2711948d14
This test should pass
2014-09-27 02:17:26 +02:00
Derick Rethans
5d299509b4
Merge branch 'PHP-5.4' into PHP-5.5
2014-09-26 16:27:00 +01:00
Derick Rethans
16e2d954fc
- Updated to version 2014.8 (2014h)
2014-09-26 16:26:59 +01:00
Stanislav Malyshev
00e99dcafd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
Revert xp_ssl.c to the state of 5.4.32 due to regressions
Conflicts:
ext/openssl/xp_ssl.c
2014-09-26 01:00:20 -07:00
Stanislav Malyshev
2bfe92c90f
fix date
2014-09-26 00:56:39 -07:00
Stanislav Malyshev
28ed0119ac
update NEWS
2014-09-26 00:55:49 -07:00
Stanislav Malyshev
408b172017
Revert xp_ssl.c to the state of 5.4.32 due to regressions
2014-09-26 00:44:24 -07:00
Remi Collet
bf046d6d66
NEWS
2014-09-26 09:06:12 +02:00
Remi Collet
efa7f87de4
Fixed bug #68103 Dupplicate entry in Reflection
...
$ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());'
Array
(
[0] => Threaded
[1] => stackable
[2] => Thread
[3] => Worker
[4] => Mutex
[5] => Cond
[6] => Collectable
[7] => Pool
)
In getClasses() output, it is possible to compare key (ex "stackable")
with $obj->name (ex "Threaded") to detect class alias.
...
[Threaded] => ReflectionClass Object
(
[name] => Threaded
)
[stackable] => ReflectionClass Object
(
[name] => Threaded
)
...
2014-09-26 08:56:42 +02:00
Ard Biesheuvel
7958793342
Merge branch 'PHP-5.4' into PHP-5.5
2014-09-20 16:40:02 -07:00
Ard Biesheuvel
e64da8c20d
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 >
2014-09-20 16:39:48 -07:00
Nikita Popov
5e977e69e1
Fixed bug #67633
2014-09-20 21:46:25 +02:00
Anatol Belski
5d9403f56c
fix possible array underflow
...
there are multiple issues with this code
- php_stream_read() returns an unsigned val, so is >= 0
- if it read less than sizeof(a) bytes, the function operates on garbage
- result->channels is an unsigned val, so >= 0
2014-09-19 20:12:24 +02:00
Matteo Beccati
b8470e19e4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed freetype test on multiple environments
2014-09-16 10:22:34 +02:00
Matteo Beccati
00525b824a
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 592df89027 .
2014-09-16 10:19:29 +02:00
Remi Collet
ad0b63cad4
NEWS
2014-09-15 13:31:17 +02:00
Remi Collet
8cac75969e
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
...
ProxyPass is unable to provide correct PATH_INFO
as it is not aware of file path (while SetHandler is).
As we can extract PATH_INFO from PATH_TRANSLATED,
we also need to check if present in SCRIPT_NAME
and remove it.
After applying this patch.
With mod_php
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foor/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
With mod_proxy_fcgi + SetHandler
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foo/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
With mod_proxy_fcgi + ProxyPass
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foo/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
2014-09-15 13:29:55 +02:00
Anatol Belski
24b41a23b3
updated NEWS
2014-09-15 10:27:52 +02:00
Remi Collet
6dc6daf7e3
Fix NEWS
...
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:24:10 +02:00
Remi Collet
3411fe33a2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:23:40 +02:00
Remi Collet
2775dc2b44
Fix NEWS
...
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:23:25 +02:00
Anatol Belski
fdfc31a4f7
fixed the cast and incompatible pointer warning
2014-09-12 14:36:00 +02:00
Anatol Belski
69ea7f9509
reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
2014-09-11 23:30:01 +02:00
Marcelo Diniz
cba1150cdb
tests image gd
2014-08-23 16:55:55 -03:00
Mauricio Vieira
8afe869cab
xmlwriter_full_end_element tests
2014-08-02 22:39:12 -03:00
Mauricio Vieira
51be35cf38
Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-08-02 22:39:11 -03:00
Carlos André Ferrari
2659b0f3cb
Fixed typo
2014-07-25 09:45:16 -03:00
Carlos André Ferrari
660cfeabb4
GD: imagepalettetotruecolor tests
2014-07-25 09:45:16 -03:00
Rouven Weßling
aee6344e24
Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
2014-01-25 00:04:50 +01:00