File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
- Core:
6
6
. Fixed bug GH-16344 (setRawValueWithoutLazyInitialization() and
7
7
skipLazyInitialization() may change initialized proxy). (Arnaud)
8
+ . Fix is_zend_ptr() huge block comparison. (nielsdos)
8
9
9
10
- DOM:
10
11
. Fixed bug GH-16906 (Reloading document can cause UAF in iterator).
Original file line number Diff line number Diff line change @@ -2617,8 +2617,8 @@ ZEND_API bool is_zend_ptr(const void *ptr)
2617
2617
2618
2618
zend_mm_huge_list * block = AG (mm_heap )-> huge_list ;
2619
2619
while (block ) {
2620
- if (ptr >= ( void * ) block
2621
- && ptr < (void * )((char * )block + block -> size )) {
2620
+ if (ptr >= block -> ptr
2621
+ && ptr < (void * )((char * )block -> ptr + block -> size )) {
2622
2622
return 1 ;
2623
2623
}
2624
2624
block = block -> next ;
You can’t perform that action at this time.
0 commit comments