diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-03-24 16:28:26 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-03-24 16:28:26 +0300 |
commit | bdf7fc67d8a146b4a5387c56268181c63047dfe6 (patch) | |
tree | 14e61737771a7bfe810f08ae3d838b4fbf1886e6 /ext/standard/php_fopen_wrapper.c | |
parent | d659ee24ab9246be6ae4d371401d0234579325a0 (diff) | |
download | php-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