File tree 2 files changed +2
-1
lines changed 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ PHP NEWS
58
58
- Fixed bug #39652 (Wrong negative results from memeory_get_usage()). (Dmitry)
59
59
- Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are not
60
60
thread safe). (Ilia, wharmby at uk dot ibm dot com)
61
+ - Fixed bug #39640 (Segfault with "Allowed memory size exhausted"). (Dmitry)
61
62
- Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic).
62
63
(Ilia, wharmby at uk dot ibm dot com)
63
64
- Fixed bug #39621 (str_replace() is not binary safe on strings with equal
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ static long _mem_block_end_magic = MEM_BLOCK_END_MAGIC;
438
438
439
439
#else
440
440
441
- # define ZEND_MM_VALID_PTR (ptr ) 1
441
+ # define ZEND_MM_VALID_PTR (ptr ) (ptr != NULL)
442
442
443
443
# define ZEND_MM_SET_MAGIC (block , val )
444
444
You can’t perform that action at this time.
0 commit comments