#
5db44e39 |
| 28-Aug-2020 |
Nikita Popov |
Fix tracked_realloc We should only drop the information about the old allocation after checking the memory limit. This makes the code a bit more awkward... |
#
bd6feb7b |
| 26-Aug-2020 |
Nikita Popov |
Enforce memory limit in tracked allocation mode A very basic limit (for single allocations) was already enforced. This extends it to count the total memory allocations. This is
Enforce memory limit in tracked allocation mode A very basic limit (for single allocations) was already enforced. This extends it to count the total memory allocations. This is useful to avoid out of memory conditions while fuzzing.
show more ...
|
Revision tags: php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21 |
|
#
7d4ae7fa |
| 01-Aug-2020 |
tangl163 |
Drop the unneeded pointer casting The standard says that "A pointer to void may be converted to or from a pointer to any object type". So the casting is unneeded. REF: *
Drop the unneeded pointer casting The standard says that "A pointer to void may be converted to or from a pointer to any object type". So the casting is unneeded. REF: * c11: http://port70.net/~nsz/c/c11/n1570.html#6.3.2.3p1 * c99: http://port70.net/~nsz/c/c99/n1256.html Closes GH-5916
show more ...
|
Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1 |
|
#
370c00e9 |
| 28-Jan-2020 |
Nikita Popov |
Add crude memory limit to tracked alloc Check whether the requested allocation size exceeds limit (rather than the cumulative size). This is useful to prevent allocations trigge
Add crude memory limit to tracked alloc Check whether the requested allocation size exceeds limit (rather than the cumulative size). This is useful to prevent allocations triggering OOM during fuzzing.
show more ...
|
#
4786207e |
| 27-Feb-2020 |
Dmitry Stogov |
Merge branch 'PHP-7.4' * PHP-7.4: Fixed incorrect behavior of internal memory debugger
|
#
d9f56903 |
| 27-Feb-2020 |
Dmitry Stogov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fixed incorrect behavior of internal memory debugger
|
#
45b4368d |
| 27-Feb-2020 |
Dmitry Stogov |
Fixed incorrect behavior of internal memory debugger |
Revision tags: php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5 |
|
#
9d48bf51 |
| 27-Oct-2019 |
Tyson Andre |
Fix miscellaneous typos in docs and error messages Closes GH-4863. |
#
af57b633 |
| 23-Oct-2019 |
Rasmus Lerdorf |
Reverting push to wrong repo |
#
5870efbc |
| 23-Oct-2019 |
Rasmus Lerdorf |
Update alloc patch |
Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1 |
|
#
6627f782 |
| 04-Oct-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #78620: Out of memory error
|
#
cf183a5e |
| 04-Oct-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #78620: Out of memory error
|
#
abaf9a76 |
| 03-Oct-2019 |
Christoph M. Becker |
Fix #78620: Out of memory error The integer addition in `ZEND_MM_ALIGNED_SIZE_EX` can overflow, what we have to catch early. |
#
25081315 |
| 02-Oct-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Revert "Fix #78620: Out of memory error"
|
#
d295e1dc |
| 02-Oct-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Revert "Fix #78620: Out of memory error"
|
#
f2fb37a7 |
| 02-Oct-2019 |
Christoph M. Becker |
Revert "Fix #78620: Out of memory error" This reverts commit 8ce04df7e0108a10f7b782a28204e9384ab1129c. Cf. <https://github.com/php/php-src/pull/4766#discussion_r330658679>. |
#
b262b24b |
| 02-Oct-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #78620: Out of memory error
|
#
752a34fb |
| 02-Oct-2019 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #78620: Out of memory error
|
#
8ce04df7 |
| 02-Oct-2019 |
Christoph M. Becker |
Fix #78620: Out of memory error If the integer addition in `ZEND_MM_ALIGNED_SIZE_EX` overflows, the macro evaluates to `0`, what we should catch early. |
Revision tags: php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8 |
|
#
ce25fa0d |
| 27-Jul-2019 |
David Carlier |
Monitoring anonymous pages on mac via vmmap tag |
#
bad49e55 |
| 26-Aug-2019 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4
|
#
a26f6321 |
| 26-Aug-2019 |
Nikita Popov |
Merge branch 'PHP-7.2' into PHP-7.3
|
#
16d35eb6 |
| 26-Aug-2019 |
Nikita Popov |
Fix overflow in memory limit checks Due to overflows in the memory limit checks, we were missing cases where the allocation size was close to the address space size, and caused an OO
Fix overflow in memory limit checks Due to overflows in the memory limit checks, we were missing cases where the allocation size was close to the address space size, and caused an OOM condition rather than a memory limit error.
show more ...
|
Revision tags: php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20 |
|
#
70fa4715 |
| 28-Jun-2019 |
Nikita Popov |
Fix custom heap free This seems to be designed around the use-case where the custom allocator is a wrapper around ZMM. |
#
cfeda978 |
| 27-Jun-2019 |
Nikita Popov |
Add tracked allocator mode In this case we will use the system allocator, but still remember all allocations and free them the same way that Zend MM does. This allows us to accuratel
Add tracked allocator mode In this case we will use the system allocator, but still remember all allocations and free them the same way that Zend MM does. This allows us to accurately model leak behavior. Enabled using USE_ZEND_ALLOC=0 USE_TRACKED_ALLOC=1.
show more ...
|