History log of /PHP-8.0/Zend/zend_alloc.c (Results 76 – 100 of 453)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.1
# f99bf703 14-Dec-2016 Nikita Popov

Partially fix bug #70492

The libmagic portion is missing.


Revision tags: php-5.6.29, php-7.0.14, php-7.1.0
# b204b3ab 26-Nov-2016 Anatol Belski

further normalizations, uint vs uint32_t

fix merge mistake

yet one more replacement run


Revision tags: php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1
# 3fb0a1a4 26-Oct-2016 Dmitry Stogov

Fixded bug #72736 (Slow performance when fetching large dataset with mysqli / PDO)


Revision tags: php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12
# d35d9d1d 13-Oct-2016 Anatol Belski

missed piece for renaming

(cherry picked from commit 5ba9eab4361cf9d0d9085f969acc2e96b8af3241)


# 0362d61a 13-Oct-2016 Stanislav Malyshev

Fix potential overflows in php_pcre_replace_impl

(cherry picked from commit 9c50ba42d6503a5fcfffad6c6823a9bee0e033c0)


# 5ba9eab4 13-Oct-2016 Anatol Belski

missed piece for renaming


# 9c50ba42 13-Oct-2016 Stanislav Malyshev

Fix potential overflows in php_pcre_replace_impl


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# 19866fb7 02-Sep-2016 Stanislav Malyshev

Fix various int size overflows.

Add function for detection of string zvals with length that does not fit
INT_MAX.


# 5880428d 07-Sep-2016 Christoph M. Becker

Fix potential memory issue with USE_ZEND_ALLOC=0

The PHP core and extensions are written with the assumption that memory
allocation either succeeds, or the allocator bails out (i.e. the

Fix potential memory issue with USE_ZEND_ALLOC=0

The PHP core and extensions are written with the assumption that memory
allocation either succeeds, or the allocator bails out (i.e. the allocator
is infallible). Therefore the result of emalloc() and friends are not checked
for NULL values.

However, with USE_ZEND_ALLOC=0, malloc() and friends are used as allocators,
but these are fallible, i.e. they return NULL instead of bailing out if they
fail. This easily leads to invalid memory accesses in the following, such as
in <https://bugs.php.net/73032>. Some of these cases may constitute
exploitable vulnerabilities.

Therefore we make the infallible __zend_alloc() and friends the default for
USE_ZEND_ALLOC=0.

show more ...


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10
# c2a13ced 15-Aug-2016 Stanislav Malyshev

Fix bug #72742 - memory allocator fails to realloc small block to large one


Revision tags: php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# 0cfb4765 28-Jun-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-7.1.0alpha2, php-7.0.8
# ebb99a1a 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-5.6.23
# 16160386 21-Jun-2016 Dmitry Stogov

Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.


Revision tags: php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7
# 14023d39 17-May-2016 Nikita Popov

Move builtin_ctzl portability into zend_bitset.h

Use this function in both zend_mm_bitset_find_one and
zend_bitset_first.

Maybe zend_bitset.h is not quite the right place for it

Move builtin_ctzl portability into zend_bitset.h

Use this function in both zend_mm_bitset_find_one and
zend_bitset_first.

Maybe zend_bitset.h is not quite the right place for it, but I did
not want to include this in a globally included header like
zend_long.h or zend_portability.h.

show more ...


Revision tags: php-5.6.22RC1, php-7.0.7RC1
# a8d46490 29-Apr-2016 Dmitry Stogov

Use unsigned shift to clear the bit.


Revision tags: php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5
# 06c2b318 22-Mar-2016 Rasmus Lerdorf

Disable huge pages in the Zend allocator by default
As per the discussion on internals, this is an expert feature
that needs special system-level configuration and care.


# 75dd4a7a 17-Mar-2016 Dmitry Stogov

Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.


# 1efcdaf0 22-Mar-2016 Rasmus Lerdorf

Disable huge pages in the Zend allocator by default
As per the discussion on internals, this is an expert feature
that needs special system-level configuration and care.


# 945a6619 17-Mar-2016 Dmitry Stogov

Added ability to disable huge pages in Zend Memeory Manager through the environment variable USE_ZEND_ALLOC_HUGE_PAGES=0.


Revision tags: php-5.6.20RC1, php-7.0.5RC1
# 741bfe39 10-Mar-2016 Anatol Belski

fix build with clang on Winodws


Revision tags: php-5.6.19, php-5.5.33, php-7.0.4
# 0b9c87a0 24-Feb-2016 Dmitry Stogov

Fixed bug #71535 (Integer overflow in zend_mm_alloc_heap())


Revision tags: php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 97a9470d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


# 3537e95d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1
# 59424bb7 03-Dec-2015 Dmitry Stogov

Fixed bug #71006 (symbol referencing errors on Sparc/Solaris)


Revision tags: php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1
# 83de5364 08-Nov-2015 Xinchen Hui

manually apply the typo fix in master


12345678910>>...19