summaryrefslogtreecommitdiff
path: root/ext/standard/php_fopen_wrapper.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-03-24 16:28:26 +0300
committerDmitry Stogov <dmitry@zend.com>2015-03-24 16:28:26 +0300
commitbdf7fc67d8a146b4a5387c56268181c63047dfe6 (patch)
tree14e61737771a7bfe810f08ae3d838b4fbf1886e6 /ext/standard/php_fopen_wrapper.c
parentd659ee24ab9246be6ae4d371401d0234579325a0 (diff)
downloadphp-git-bdf7fc67d8a146b4a5387c56268181c63047dfe6.tar.gz
We can't stay zend_string->h to be zero, because it may lead to hash value recalculation and update.
But in general zend_string may be put and read-only memory, that would lead to crash. Always set the high bit of hash_value to prevent recaclulation.
Diffstat (limited to 'ext/standard/php_fopen_wrapper.c')
0 files changed, 0 insertions, 0 deletions