]> granicus.if.org Git - php/commit
Bail out earlier in zend_memnrstr
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 20 Jun 2019 10:18:54 +0000 (12:18 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 20 Jun 2019 14:21:53 +0000 (16:21 +0200)
commite4455c32ed76b74197f1a2647c163d0d470df9fe
tree57dfaceb9adb0b1749e1d7dcfe97969364b44589
parenta59e0cfce528669642f8199410b267146a30b714
Bail out earlier in zend_memnrstr

To avoid decrementing a null pointer lateron. As we need to check
for NULL here anayway, we should take the chance to bail out right
away.
Zend/zend_operators.h