summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2016-10-11 20:43:02 -0700
committerSara Golemon <pollita@php.net>2016-11-01 09:35:54 -0700
commit65d7bbaddcb7d039d201b0c0cd452736fd326c73 (patch)
treef29f72b30b7a5fcd0bf3b5b328e8d725ef5a7128 /ext/reflection/php_reflection.c
parenta5458e7e8e22c8f58a00cd649c8a55a93ba1e625 (diff)
downloadphp-git-65d7bbaddcb7d039d201b0c0cd452736fd326c73.tar.gz
Change Big Endian backup implementations to use signed indexes
load64() counted down from 7..0, but the decrement turned 0 into 255. This means the loop would never terminate on Big Endian systems. Just use signed char integers since we're only dealing with values from 0..7 anyway. Closes https://bugs.php.net/bug.php?id=73282
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions