Stanislav Malyshev
3ed0114e7f
Merge branch 'PHP-5.5' into PHP-7.0.7
* PHP-5.5:
Fix memory leak in imagescale()
Update NEWS
Better fix for bug #72135
Fixed bug #72227 : imagescale out-of-bounds read
Fix bug #72241 : get_icu_value_internal out-of-bounds read
Fix bug #72135 - don't create strings with lengths outside int range
Add check for string overflow to all string add operations
Fix bug #72114 - int/size_t confusion in fread
Updated NEWS
Fixed bug #71331 - Uninitialized pointer in phar_make_dirstream()
Conflicts:
Zend/zend_operators.c
ext/intl/locale/locale_methods.c
ext/phar/dirstream.c
ext/phar/tests/bug71331.phpt
ext/standard/file.c
ext/standard/html.c
10 years ago
Stanislav Malyshev
9a826a3bd9
Fix memory leak in imagescale()
10 years ago
Stanislav Malyshev
f423e1bb89
Update NEWS
10 years ago
Stanislav Malyshev
e955913115
Better fix for bug #72135
10 years ago
Stanislav Malyshev
7a1aac3343
Fixed bug #72227 : imagescale out-of-bounds read
Ported from 4f65a3e4ee
10 years ago
Stanislav Malyshev
97eff7eb57
Fix bug #72241 : get_icu_value_internal out-of-bounds read
10 years ago
Stanislav Malyshev
0da8b8b801
Fix bug #72135 - don't create strings with lengths outside int range
10 years ago
Anatol Belski
2beacaad49
set versions
10 years ago
Nikita Popov
a1ed4ab3ca
Fixed bug #72174
Also fixes a memory leak if ::getValue() is used with __get().
10 years ago
Stanislav Malyshev
41fc3c76e9
Add check for string overflow to all string add operations
10 years ago
Stanislav Malyshev
abd159cce4
Fix bug #72114 - int/size_t confusion in fread
10 years ago
Anatol Belski
3407931108
update NEWS
10 years ago
Anatol Belski
a430f8a562
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
10 years ago
Anatol Belski
0ea2bfb30e
update NEWS
10 years ago
Anatol Belski
fc2a45b70a
Revert "Fixed bug #71820 pg_fetch_object bind parameters before call constructor"
This reverts commit b4eedd128b .
This fixed bug #72151 , and reverts the fix for bug #71820 .
See also bug #50636 and #49521 for the history.
10 years ago
Anatol Belski
692c262526
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Revert "Backport patch for bug #71820"
10 years ago
Anatol Belski
1cc536af5a
Revert "Backport patch for bug #71820"
This reverts commit 1b632cfe83 .
This fixed bug #72151 , and reverts the fix for bug #71820 .
See also bug #50636 and #49521 for the history.
10 years ago
Anatol Belski
f152c3fa57
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fixed bug #64524 Add intl.use_exceptions to php.ini-*
10 years ago
Anatol Belski
41b159fd11
Fixed bug #64524 Add intl.use_exceptions to php.ini-*
10 years ago
Xinchen Hui
69adf2370e
Fixed test
10 years ago
Xinchen Hui
29079f263e
Strlen cleanup (additions for previous one fix)
Probably compilers will do similar optimization
10 years ago
Xinchen Hui
f7439afeda
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
Zend/zend_strtod.c
10 years ago
Xinchen Hui
1c7f608071
Fixed bug #72172 (zend_hex_strtod should not use strlen)
10 years ago
Xinchen Hui
197470b62f
Revert "Fixed bug #72170 (JsonSerializable may inc apply count without dec it)"
This reverts commit 459a7cc209 .
10 years ago
Xinchen Hui
459a7cc209
Fixed bug #72170 (JsonSerializable may inc apply count without dec it)
I don't want use zend_try here, but seems I have no choice :<
10 years ago
Anatol Belski
627b5aae3f
update NEWS
10 years ago
Anatol Belski
d76638b491
reorder entry alphabetically
10 years ago
Anatol Belski
5afba67bfe
Re-fix #72165
Reverted previous wrong patch, throw warning for numeric keys.
Numeric field names are not supported, see "distinguished name"
section here https://www.openssl.org/docs/manmaster/apps/req.html
10 years ago
Anatol Belski
dd5479ea4c
Revert "Fixed bug #72165 Null pointer dereference - openssl_csr_new"
This reverts commit 7277c85765 .
10 years ago
Anatol Belski
7277c85765
Fixed bug #72165 Null pointer dereference - openssl_csr_new
10 years ago
Xinchen Hui
080f6b10ec
Fixed test
10 years ago
Xinchen Hui
441d1b8ef0
Revert "Fix bug #72162 (again)"
The problem is because we release p->value too early
and later you try to convert an object to string, which is a fatal error
then leave p->value double free, change to expect long is a BC break
This reverts commit 8e5b381004 .
10 years ago
Nikita Popov
8e5b381004
Fix bug #72162 (again)
Not sure what the previous fix was supposed to do. The issue was
that error_reporting() simply assumes that the value must either
be an integer or a string.
Fixed by using zpp properly.
10 years ago
Xinchen Hui
395863b1d1
Fixed bug #72164 (Null Pointer Dereference - mb_ereg_replace)
10 years ago
Xinchen Hui
c15b6134f6
Fixed bug #72154 (pcntl_wait/pcntl_waitpid array internal structure overwrite)
10 years ago
Xinchen Hui
1a5d58b28f
Fixed bug #72157 (use-after-free caused by dba_open)
10 years ago
Xinchen Hui
9191862121
Fixed bug #72162 (use-after-free - error_reporting)
10 years ago
Nikita Popov
0691e7a8e1
Fix JMPZ, JMPZNZ_EX chain optimization
The result_type was not copied, resulting in a corrupted JMPZ_EX.
Fix can be verified by inspecting the opcodes of the following
function (it should not contain any _EX opcodes):
function test() {
if ($a && $b) {
echo "a";
}
if ($b || $c || $d) {
echo "b";
}
}
Conflicts:
ext/opcache/Optimizer/block_pass.c
10 years ago
Nikita Popov
9af0c96af4
Fix bug #72159
10 years ago
Anatol Belski
44372d6953
fix NEWS, patch for #71428 was reverted
10 years ago
Joe Watkins
a17e4187e7
correct wording
10 years ago
Joe Watkins
9bbee305e3
add compiler option to disable builtins (special case function calls)
10 years ago
Anatol Belski
2d0081cebd
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add test fo rbug 71805
10 years ago
Anatol Belski
5351151352
add test fo rbug 71805
10 years ago
Anatol Belski
578ba03339
update libs versions
10 years ago
Anatol Belski
07519d4c4b
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
upate libs versions
10 years ago
Anatol Belski
a387075954
upate libs versions
10 years ago
Nikita Popov
fbae590bf0
Fix leaks in QM_ASSIGN, JMP_SET and COALESCE
The QM_ASSIGN code was rewritten to use the standard pattern for
handling CVs and VARs.
10 years ago
Bob Weinand
b4c5009220
Mark fcc as initialized for object calls
This results in 1% speedup (cycle count) on some real world applications
10 years ago
Nikita Popov
ec7c3c22b6
Fix leak in zend_get_constant_ex
10 years ago