]> granicus.if.org Git - php/commit
Fix null pointer UB in GC
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Jun 2020 08:33:39 +0000 (10:33 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Jun 2020 08:33:39 +0000 (10:33 +0200)
commit0949214ab3f4e60b202282a7ca72a0dd2b93032b
tree25d0a7b0db9e0fc9a2470e40db809758ac37a4e0
parentece375052b4b6b12e2d5af077d92ca7e26dd8286
Fix null pointer UB in GC

This is just plain stupid: In C, it is not permitted to add zero
to a null pointer. In C++, it is permitted.
Zend/zend_gc.c