Christoph M. Becker
1a30a7a422
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-09 14:34:11 +02:00
Christoph M. Becker
23e721fc93
Fix #73054 : default option ignored when object passed to int filter
...
If an object that can't be converted to string is validated, we must not
bail out early, but rather check for a requested default value.
2016-09-09 14:30:24 +02:00
Christoph M. Becker
807c49e6be
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-09 12:49:02 +02:00
Levi Morrison
cb91a51b00
Partially fix bug #67167 - Wrong return value...
...
...from FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE
The remainer of the fix would require the filter functions to only
convert to string when it makes sense for that particular filter.
(cherry picked from commit 432dc527ad
)
2016-09-09 12:45:46 +02:00
Yasuo Ohgaki
fb9444e053
Update NEWS
2016-09-09 11:34:34 +09:00
Yasuo Ohgaki
38553e853b
Fixed Bug #68015 Session does not report invalid uid for files save handler
2016-09-09 11:31:54 +09:00
Yasuo Ohgaki
c50ae8fda7
Update NEWS
2016-09-08 13:35:35 +09:00
Yasuo Ohgaki
fb1c46f013
Update NEWS
2016-09-08 13:35:30 +09:00
Christoph M. Becker
af3031d755
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-06 12:11:24 +02:00
Christoph M. Becker
dad793630d
Fix #73025 : Heap Buffer Overflow in virtual_popen of zend_virtual_cwd.c
...
`command_length` is retrieved via strlen() and later passed to emalloc()
and memcpy(), so the appropriate type is `size_t`.
We don't add a regression test, because that would need to allocate a string
of at least 2 GiB.
2016-09-06 12:05:58 +02:00
Yasuo Ohgaki
3a35d43ad9
Update NEWS
2016-09-06 18:29:20 +09:00
Yasuo Ohgaki
a58e6d4e34
Update NEWS
2016-09-06 18:28:45 +09:00
Christoph M. Becker
81ec843d0e
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-06 01:15:36 +02:00
Christoph M. Becker
8aad3131a1
Fix #70752 : Depacking with wrong password leaves 0 length files
...
We should not open the output stream before we have tried to open the
archive entry, as failing the latter could leave an empty file behind.
2016-09-06 01:03:46 +02:00
Julien Pauli
dd6da58fac
Updated NEWS
2016-09-05 17:03:29 +02:00
Julien Pauli
d185c2f13a
Updated NEWS
2016-09-05 10:18:39 +02:00
Julien Pauli
1abbcc8cc5
Updated NEWS
2016-09-05 10:17:56 +02:00
Christoph M. Becker
b7259b71b4
Fix #72994 : mbc_to_code() out of bounds read
...
We're backporting commit 999a3553
to the still supported PHP 5.6.
2016-09-04 16:37:06 +02:00
Nikita Popov
1ae2d074f8
Fix bug #72996
2016-09-03 23:30:23 +02:00
Christoph M. Becker
8cc9570f53
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-03 19:59:44 +02:00
Christoph M. Becker
d582241368
Fix #67325 : imagetruecolortopalette: white is duplicated in palette
...
gdImageTrueColorToPalette() is sometimes wasteful by putting multiple white
color entries into the palette. This is caused by an obvious typo, where
to avoid a division by zero when `total` is zero, `count` is checked instead
of `total`.
We fix this issue to improve the quality of the color quantization.
Cf. <https://github.com/libgd/libgd/commit/24b4550f >
2016-09-03 19:50:42 +02:00
Ferenc Kovacs
fbb81dd755
5.6.27 will be next
2016-09-01 20:27:19 +02:00
Xinchen Hui
1ee41683dc
Fixed bug #72982 (Memory leak in zend_accel_blacklist_update_regexp() function)
2016-09-01 12:10:38 +08:00
Yasuo Ohgaki
97f2bb894a
Update NEWS
2016-08-31 21:10:57 +09:00
Yasuo Ohgaki
747b61808b
Update NEWS
2016-08-31 21:06:19 +09:00
Nikita Popov
3317287ce1
Fix bug #71711
...
Also handle another case of bug #71996 .
2016-08-30 18:06:18 +02:00
Nikita Popov
8e487aefaa
Fixed bug #71996
2016-08-30 17:20:55 +02:00
Christoph M. Becker
972302d2f0
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-30 15:01:12 +02:00
Christoph M. Becker
2f10db36af
Fix #66797 : mb_substr only takes 32-bit signed integer
...
`from` and `len` are `long`, but get passed to mbfl_substr() which expects
`int`s. Therefore we clamp the values to avoid the undefined conversion
behavior.
2016-08-30 14:52:47 +02:00
Anatol Belski
52afd8b744
fix typo
2016-08-30 14:11:47 +02:00
Anatol Belski
bc7460260b
prepare for next
2016-08-30 14:11:22 +02:00
Nikita Popov
bfd4277008
Fix bug #72957
2016-08-30 13:05:53 +02:00
Nikita Popov
07cc6a6ba2
Fix bug #72971
2016-08-30 10:54:31 +02:00
Yasuo Ohgaki
b5f2f6fbd8
Fixed bug #72940 SID always return "name=ID", even if session cookie exist
2016-08-30 15:58:25 +09:00
Christoph M. Becker
65f0c163f9
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-30 02:13:48 +02:00
Christoph M. Becker
207dab585a
Fix #71882 : Negative ftruncate() on php://memory exhausts memory
...
We must not pass negative sizes to a size_t parameter.
2016-08-30 02:05:45 +02:00
Christoph M. Becker
4b45c0a9a7
Merge branch 'pull-request/2043' into PHP-7.0
2016-08-30 01:16:45 +02:00
Anatol Belski
5bcae9d586
update NEWS
2016-08-29 21:23:20 +02:00
Anatol Belski
ae81e8fc32
update NEWS
2016-08-29 21:20:36 +02:00
Dmitry Stogov
b66039db33
Fixed bug #72944 (Null pointer deref in zval_delref_p).
2016-08-29 12:02:50 +03:00
Christoph M. Becker
8fcfacf746
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-27 01:18:10 +02:00
Christoph M. Becker
2139918ea6
Fix #65550 : get_browser() incorrectly parsers entries with "+" sign
...
+ signs in the browscap patterns are meant to be literal characters, so we
have to escape them for the regex matching.
2016-08-27 01:12:01 +02:00
Christoph M. Becker
c4c3eb55a7
Fix #72949 : Typo in opcache error message
2016-08-26 18:50:30 +02:00
Xinchen Hui
c67fa3c91d
Fixed bug #72943 (assign_dim on string doesn't reset hval)
2016-08-26 18:30:08 +08:00
Anatol Belski
57509fb969
update NEWS
2016-08-25 19:43:39 +02:00
Christoph M. Becker
433976f931
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-25 18:29:23 +02:00
Christoph M. Becker
84512a1177
Fix #70825 : Cannot fetch multiple values with group in ini file
...
If we have the position already from the last fetch, we also have to preset
the current group, because it won't be read again.
2016-08-25 18:18:10 +02:00
Christoph M. Becker
bd8112afe0
Fix #71514 : Bad dba_replace condition because of wrong API usage
...
We're backporting commit 9e309a2d
to PHP-5.6, because it is a bugfix.
2016-08-25 16:20:30 +02:00
Anatol Belski
392c5ea472
Fixed bug #72922 COM called from PHP does not return out parameters
2016-08-25 12:12:45 +02:00
Christoph M. Becker
4c13a7f5c4
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-21 19:48:38 +02:00