Christoph M. Becker
2ba3b27594
Revert "Fix #73530 : Unsetting result set may reset other result set"
...
This reverts commit eb570294a2
.
That commit caused a regression, so it's probably best to revert it, and
to tackle the issue for the next minor release.
2016-12-29 12:59:04 +01:00
Bob Weinand
8823b68c41
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
2016-12-22 15:29:36 +01:00
Bob Weinand
3b2b080cbc
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
2016-12-22 00:39:24 +01:00
David Walker
5733fd1caf
Fix #73753 - Unpacked Arrays and Duplication
2016-12-21 21:18:20 +01:00
Dmitry Stogov
3c6a2fb08c
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:48:57 +03:00
Anatol Belski
9fb8ea58b5
update NEWS
2016-12-19 01:07:08 +01:00
Nikita Popov
c1af9f282f
Fix bug #46103
2016-12-18 17:10:19 +01:00
Andrey Hristov
e15c418c4c
Fix off by 1 problem.
...
The problem was manifestated only with BIT columns and only when more than
one row was fetched. The problem was coming from the fact that in pre-7.0
times mysqlnd was using a no-copy optimization. This optimization kept the
strings (and also the BIT mask equivalents as strings) in the packet and the
zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because
of this the allocated memory for the packet was reduced by 1 by the person who
ported the driver, but the starting address of the bit area wasn't reduced.
Because of this the bit_area started at wrong address and the length decoded
wrong.
2016-12-12 21:11:02 +02:00
Anatol Belski
ee2625e252
update NEWS
2016-12-11 17:39:08 +01:00
Ferenc Kovacs
60da307c61
update NEWS
2016-12-08 07:05:32 +01:00
Anatol Belski
73fb2192d2
update NEWS
2016-12-07 21:22:34 +01:00
Anatol Belski
991ca7f7d7
update NEWS
2016-12-06 20:25:27 +01:00
Bob Weinand
7e12b5da71
Fixed issue getting executable lines from custom wrappers
...
See also krakjoe/phpdbg#161
2016-12-06 18:29:48 +01:00
Xinchen Hui
358bd77b23
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:32 +08:00
Stanislav Malyshev
266ecb6d0a
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:40:55 -08:00
Bob Weinand
b73a3afff3
Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
2016-11-30 02:56:47 +01:00
Dmitry Stogov
9a9ad56af0
Fixed bug #73586 (php_user_filter::$stream is not set to the stream the filter is working on).
2016-11-28 12:54:47 +03:00
Stanislav Malyshev
36d02a36ae
add NEWS
2016-11-27 15:38:09 -08:00
Christoph M. Becker
5049ef2f1c
Fix #73549 : Use after free when stream is passed to imagepng
...
If a stream is passed to imagepng() or other image output functions,
opposed to a filename, we must not close this stream.
2016-11-27 14:51:02 -08:00
Stanislav Malyshev
bc85678df3
Add more mbfl string size checks (bug #73505 )
2016-11-26 14:49:48 -08:00
Christoph M. Becker
003727d851
Fix #73612 : preg_*() may leak memory
...
We have to make sure that collectible zvals end up in the GC root
buffer, to avoid memory leaks.
2016-11-26 15:34:27 +01:00
Xinchen Hui
e19d263d81
Fixed bug #73585 (Logging of "Internal Zend error - Missing class information" missing class name)
...
Actually, I doubt how thing bug could be triggered
2016-11-24 12:02:02 +08:00
Ferenc Kovacs
e715dafae0
5.6.30 will be next
2016-11-24 01:54:23 +01:00
Anatol Belski
df902a7c28
move dev to next
2016-11-22 11:49:09 +01:00
Anatol Belski
d30b73a7d4
update NEWS
2016-11-22 00:59:40 +01:00
Anatol Belski
0796db97d4
update NEWS
2016-11-22 00:57:18 +01:00
Anatol Belski
35993dbb6f
update NEWS
2016-11-21 19:59:30 +01:00
Anatol Belski
1d352645fc
update NEWS
2016-11-21 19:56:09 +01:00
Xinchen Hui
a39d2f8ea1
Update NEWS
2016-11-21 11:45:49 +08:00
Jakub Zelenka
60574ea1ac
Fix bug #73526 (php_json_encode depth issue)
2016-11-20 20:36:03 +00:00
Craig Duncan
685b1292e9
Fix bug #73538
...
Remove any previous default headers and replace with the specified
ones, as documented, and as is the case when a single header is
passed.
2016-11-20 21:18:28 +01:00
Xinchen Hui
ebfd93f725
Fixed bug #73483 (Segmentation fault on pcre_replace_callback)
2016-11-20 15:44:27 +08:00
Christoph M. Becker
583a273849
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-18 14:29:52 +01:00
Christoph M. Becker
e44deba1e9
Fix #64526 : Add missing mysqlnd.* parameters to php.ini-*
2016-11-18 14:17:19 +01:00
Dmitry Stogov
0c78fe4bb5
Disabled PHP call tracing by default (it makes significant overhead).
...
This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.
2016-11-18 13:19:30 +03:00
Julien Pauli
0e03003db2
Updated NEWS
2016-11-17 11:51:53 +01:00
Julien Pauli
c4f1c20d80
Updated NEWS
2016-11-17 11:37:13 +01:00
Mitch Hagstrand
1d8be7c044
Fix #73546 : Logging for opcache has an empty file name
2016-11-16 21:30:40 +01:00
Christoph M. Becker
936cafe33e
Merge branch 'PHP-5.6' into PHP-7.0
2016-11-16 12:00:39 +01:00
Christoph M. Becker
eb570294a2
Fix #73530 : Unsetting result set may reset other result set
...
Calling sqlite3_reset() when a result set object is freed can cause
undesired and maybe even hard to track interference with other result
sets. Furthermore, there is no need to call sqlite3_reset(), because
that is implicitly called on SQLite3Stmt::execute(), and users are
encouraged to explicitly call either SQLite3Result::finalize() or
SQLite3Stmt::reset() anyway.
2016-11-16 11:49:04 +01:00
Dmitry Stogov
a1a5b52f3b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:49:50 +03:00
Dmitry Stogov
ecba563f2f
Fixed bug #69090 (check cached files permissions)
2016-11-16 12:43:10 +03:00
Joe Watkins
84e2904def
news entry for #1787
2016-11-13 05:33:59 +00:00
Joe Watkins
beed682572
news entry for #2166
2016-11-12 17:45:16 +00:00
Joe Watkins
d2b03119e2
news entry for calendar overflow fix
2016-11-12 17:35:04 +00:00
Anatol Belski
f6be108574
add missing NEWS entry
2016-11-09 21:34:41 +01:00
Anatol Belski
e922d89f66
add missing NEWS entry
2016-11-09 21:32:44 +01:00
Anatol Belski
1beb5a74b1
sync NEWS
2016-11-09 11:19:13 +01:00
Ferenc Kovacs
87673d6e99
add missing NEWS entries
2016-11-09 02:12:16 +01:00
Anatol Belski
a67b894cc8
update NEWS
2016-11-07 20:47:06 +01:00
Jakub Zelenka
493b2bff02
Fix bug #72776 (Invalid parameter in memcpy function trough openssl_pbkdf2)
2016-11-06 20:40:51 +00:00
Anatol Belski
b9200b4623
update NEWS
2016-11-06 17:11:19 +01:00
Xinchen Hui
1efb9fd32d
Fixed bug #73423 (Reproducible crash with GDB backtrace)
2016-11-02 12:11:30 +08:00
Xinchen Hui
ef75ddd4f9
Fixed bug #73402 (Opcache segfault when using class constant to call a method)
2016-10-29 23:41:51 +08:00
Xinchen Hui
e5aa365147
Fixed bug #73392 (A use-after-free in zend allocator management)
2016-10-28 21:21:24 +08:00
Ferenc Kovacs
9b3a1e00ab
5.6.29 will be next
2016-10-27 23:10:59 +02:00
Dmitry Stogov
3fb0a1a4e7
Fixded bug #72736 (Slow performance when fetching large dataset with mysqli / PDO)
2016-10-26 15:17:09 +03:00
Christoph M. Becker
af4bfe234c
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-25 14:31:41 +02:00
Christoph M. Becker
cd13d0260a
Fix #72494 : imagecropauto out-of-bounds access
...
This issue has actually already been fixed with commit 46f2c690. We're
adding a regression test and a NEWS entry, and also port the fix in
gdImageCropThreshold() from libgd:
* <https://github.com/libgd/libgd/commit/b347e034 >
* <https://github.com/libgd/libgd/commit/46f2c690 >
2016-10-25 14:29:48 +02:00
Anatol Belski
277e829f10
move dev to 7.0.14
2016-10-25 10:29:51 +02:00
Xinchen Hui
eca84946a4
Fixed bug #73350 (Exception::__toString() cause circular references)
2016-10-22 14:50:21 +08:00
Adam Saponara
55d17662cb
Fix bug #71241 : array_replace_recursive mutates ref params
...
`array_replace_recursive` can sometimes mutate its params if
references are nested within. This differs from the PHP 5 behavior.
2016-10-20 13:22:04 +02:00
Joe Watkins
9e480a1766
news entry for #pr 2152
2016-10-20 05:21:56 +01:00
Anatol Belski
b754bc797c
update NEWS
2016-10-18 19:43:12 +02:00
Anatol Belski
b4371a4292
sync NEWS
...
48f1a178
is reverted
2016-10-18 18:18:04 +02:00
Bob Weinand
8b177f6a2a
Fixed bug #73338 (Exception thrown from error handler may crash)
2016-10-18 14:14:24 +02:00
Dmitry Stogov
7bd4e7208e
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)
2016-10-18 15:04:49 +03:00
Dmitry Stogov
6558559bcc
Fixed bug #73337 (try/catch not working with two exceptions inside a same operation)
2016-10-18 14:48:01 +03:00
Yasuo Ohgaki
10a075fbd5
Update NEWS
2016-10-18 09:28:18 +09:00
Christoph M. Becker
0b596f81b8
Merge branch 'PHP-5.6' into PHP-7.0
...
We also use ZEND_LONG_(MAX|MIN) now instead of LONG_(MAX|MIN).
2016-10-17 23:38:28 +02:00
Christoph M. Becker
86e603a664
Fix #73333 : 2147483647 is fetched as string
...
We return all integers that can be represented as such by PHP as
integers, and only those that exceed the possible range as strings.
On builds which represent integers with 64 bits, the range check is
unnecessary and might cause code checkers to complain, so we skip this
special casing via the preprocessor according to
<http://git.php.net/?p=php-src.git;a=commit;h=99d087e5 >.
2016-10-17 23:34:41 +02:00
Anatol Belski
f85cc6aead
sync NEWS
2016-10-17 21:26:34 +02:00
Joe Watkins
bd6bce888a
news entry for pr #2158
2016-10-17 15:50:59 +01:00
Christopher Jones
8be59a1301
Fixed bug #71148 (Bind reference overwritten on PHP 7)
2016-10-17 12:40:14 +11:00
Bob Weinand
d82da7de3a
Fixed bug #71234 (INI files are loaded even invoked as phpdbg -n --version)
2016-10-16 15:41:37 +02:00
Bob Weinand
e93eaee164
Fixed bug #70776 (Simple SIGINT does not have any effect)
2016-10-16 13:47:49 +02:00
Anatol Belski
6d91772c2f
sync NEWS
2016-10-14 19:52:04 +02:00
Ferenc Kovacs
f7bf9650aa
add missing NEWS entries for 5.6.27
2016-10-14 08:06:14 +02:00
Bob Weinand
d14498a475
Ignore non-executable opcodes in line mode of phpdbg_end_oplog()
2016-10-13 14:09:56 +02:00
Christoph M. Becker
b8fab503fe
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-13 11:25:11 +02:00
Christoph M. Becker
cc08cbc84d
Fix #73280 : Stack Buffer Overflow in GD dynamicGetbuf
...
We make sure to never pass a negative `rlen` as size to memcpy().
Cf. <https://github.com/libgd/libgd/commit/53110871 >.
2016-10-13 11:10:02 +02:00
Keith Smiley
26287132c0
Fixed bug #73237
...
If the response includes both fields with simple types (which get
concatenated into an XML string) and a complex type (which is parsed
into an object), then the object will parsed into the same zval as the
simple types and will overwrite the string.
2016-10-12 23:12:45 +02:00
Bob Weinand
fe49fd7dad
Update NEWS
...
Also add missing include.inc test file
2016-10-12 22:54:32 +02:00
Sara Golemon
43ccf23d70
Clear FG(user_stream_current_filename) when bailing out
...
If a userwrapper opener E_ERRORs then FG(user_stream_current_filename)
would remain set until the next request and would not be pointing
at unallocated memory.
Catch the bailout, clear the variable, then continue bailing.
Closes https://bugs.php.net/bug.php?id=73188
2016-10-11 21:55:01 -07:00
Anatol Belski
5899f76a7d
update NEWS
2016-10-11 11:41:45 +02:00
Anatol Belski
29a089d3c9
update NEWS
2016-10-10 20:57:57 +02:00
Anatol Belski
4165d97606
update NEWS
2016-10-10 20:55:44 +02:00
Nikita Popov
c91f652ddb
Fixed bug #73273
...
As well as a few other $_SESSION separation issues.
2016-10-10 12:20:44 +02:00
Christoph M. Becker
fb08216b08
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-10 11:45:53 +02:00
Christoph M. Becker
fc989fc6e7
Fix #73279 : Integer overflow in gdImageScaleBilinearPalette()
...
The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default for `char`.
Port of <https://github.com/libgd/libgd/commit/77c8d359 >.
2016-10-10 11:41:39 +02:00
Christoph M. Becker
c930714cbe
Merge branch 'PHP-5.6' into PHP-7.0
2016-10-09 15:14:17 +02:00
Christoph M. Becker
b92216b97d
Fix #73272 : imagescale() affects imagesetinterpolation()
...
We must not permanently change the interpolation method, but rather
have to restore the old method after we're done with scaling the image.
2016-10-09 15:10:34 +02:00
Nikita Popov
2a75f5026a
Fix bug #66773 , #66862
...
This a partial backport of 8754b19
. It
a) fixes the class/function/constant import table confusion in the
namespaced case, and
b) restricts conflict checks to a single file based on a filename
pointer comparison.
It does not fix the issues with filename reuse (e.g. due to eval)
and late-bound classes. This part of the change requires globals
changes.
2016-10-08 17:00:27 +02:00
Bob Weinand
9d537951c5
Add proper escape sequences and reading stdin from file in phpdbg run command
2016-10-01 19:05:19 +01:00
Christoph M. Becker
12967bc346
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 23:54:18 +02:00
Christoph M. Becker
9acfb1a3a5
Fix #73213 : Integer overflow in imageline() with antialiasing
...
We port the respective fixes <https://github.com/libgd/libgd/commit/eca37d620 >
and <https://github.com/libgd/libgd/commit/837b7327 > to our bundled libgd.
2016-09-30 23:38:13 +02:00
Christoph M. Becker
dd93712911
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-30 11:40:55 +02:00
Christoph M. Becker
e72165bb86
Fix #73203 : passing additional_parameters causes mail to fail
...
We make sure that there's no unsigned underflow, which happened for `y==0`.
2016-09-30 11:38:09 +02:00
Ferenc Kovacs
703c247c7d
5.6.28 is next
2016-09-29 00:55:36 +02:00
Nikita Popov
b7cbaa7f43
Fix bug #73181
2016-09-27 19:47:48 +02:00
Anatol Belski
cb29c01ed6
prepare next
2016-09-27 12:49:52 +02:00
Adam Baratz
6887c4a061
update NEWS
2016-09-26 17:09:11 -04:00
Anatol Belski
3a058e3817
update NEWS
2016-09-26 19:54:10 +02:00
Dmitry Stogov
d279118422
Fixed bug #73156 (segfault on undefined function)
2016-09-26 14:14:57 +03:00
Nikita Popov
8831a12da1
Fixed bug #73163
2016-09-24 13:18:43 +02:00
Christoph M. Becker
5c81298597
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 12:41:48 +02:00
Christoph M. Becker
8f5eda4bf6
Fix #73161 : imagecreatefromgd2() may leak memory
2016-09-24 12:36:54 +02:00
Christoph M. Becker
61722743f4
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 11:31:54 +02:00
Christoph M. Becker
709731797c
Fix #73159 : imagegd2(): unrecognized formats may result in corrupted files
...
We must not apply the format correction twice for truecolor images.
2016-09-24 11:28:20 +02:00
Christoph M. Becker
0a4b72fa94
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-24 10:48:24 +02:00
Christoph M. Becker
c7936ead8f
Fix #73155 : imagegd2() writes wrong chunk sizes on boundaries
2016-09-24 10:33:49 +02:00
Christoph M. Becker
1da79a6c6e
Fix #73157 (again): imagegd2() ignores 3rd param if 4 are given
...
Obviously, there was a bad merge.
2016-09-24 00:35:24 +02:00
Christoph M. Becker
456be3ec37
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-23 23:46:22 +02:00
Christoph M. Becker
c240978067
Fix #73157 : imagegd2() ignores 3rd param if 4 are given
...
We must initialize `q` for *more* than three parameters, too.
2016-09-23 23:42:34 +02:00
Christoph M. Becker
be4489d488
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-23 16:26:05 +02:00
Christoph M. Becker
9a2a45c1df
Update NEWS
2016-09-23 16:23:58 +02:00
Anatol Belski
9ee913a773
update NEWS
2016-09-23 11:24:55 +02:00
Bob Weinand
cf35dae6e2
phpdbg next command must stop when leaving function
2016-09-23 03:29:37 +02:00
John Boehr
68e602ff0a
Fix bug #69579
2016-09-22 12:38:07 +02:00
Anatol Belski
adaf68c3b1
update NEWS
2016-09-22 12:04:37 +02:00
Adam Baratz
4b9810b9bb
update NEWS
2016-09-21 14:29:42 -04:00
Nikita Popov
01759c4346
Add test for bug #72489
2016-09-17 22:54:25 +02:00
Christoph M. Becker
48cf8dd9c3
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-16 23:43:18 +02:00
Christoph M. Becker
6682673070
Fix #73100 : session_destroy null dereference in ps_files_path_create
2016-09-16 23:41:10 +02:00
Xinchen Hui
01c7c6b152
Updte NEWS
2016-09-16 20:55:37 +08:00
Christoph M. Becker
c18263e0e0
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-16 11:41:42 +02:00
Christoph M. Becker
46df064261
Fix #73003 : Integer Overflow in gdImageWebpCtx of gd_webp.c
...
We add the missing integer overflow check to avoid potential buffer overflows.
2016-09-16 11:37:18 +02:00
Ferenc Kovacs
1d7484077a
update NEWS
2016-09-15 11:35:46 +02:00
Adam Baratz
b424d9f270
Mark change with relevant bug number
2016-09-14 17:44:56 -04:00
Adam Baratz
744d1b3c76
Add pdo_dblib changes
2016-09-14 11:19:31 -04:00
Christoph M. Becker
bc27ce98ee
Merge branch 'PHP-5.6' into PHP-7.0
2016-09-14 15:50:09 +02:00
Christoph M. Becker
09eb6ed35e
Fix #50194 : imagettftext broken on transparent background w/o alphablending
...
We must not draw the background pixels of the character glyphs, what has
already been fixed in GD 2.0.26.
2016-09-14 15:47:32 +02:00
Jakub Zelenka
cfc8522238
Sync NEWS for bug #73072
2016-09-14 12:31:45 +01:00
Jakub Zelenka
05baa92727
Fix bug #73072 (Invalid path SNI_server_certs causes segfault)
2016-09-13 18:15:34 +01:00
Anatol Belski
667d8d3522
update NEWS
2016-09-13 15:55:31 +02:00
Anatol Belski
598ed66f82
update NEWS
2016-09-13 15:45:18 +02:00
Anatol Belski
941b56dd4a
update NEWS
2016-09-13 12:34:03 +02:00
Xinchen Hui
2d8ab51576
Fixed bug #73067 (__debugInfo crashes when throwing an exception)
2016-09-13 10:58:57 +08:00
Anatol Belski
95e4e6a3ce
fix bug category
2016-09-11 13:20:25 +02:00
Anatol Belski
0fdf2ffae1
update NEWS
2016-09-11 13:05:07 +02:00
Anatol Belski
1ed07676e6
update NEWS
2016-09-10 11:04:00 +02:00
Anatol Belski
6c9d37d059
update NEWS
2016-09-10 11:02:17 +02:00
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