diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-09-20 16:32:31 -0700 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-09-20 16:39:48 -0700 |
commit | e64da8c20df3ec28bd2417924b207b870e9ab99f (patch) | |
tree | 2086ff13b56f9599297eefd969852505922a2555 /sapi/phpdbg/phpdbg_opcode.c | |
parent | 00525b824af4265e7fc74d3655a04da9c4c667f7 (diff) | |
download | php-git-e64da8c20df3ec28bd2417924b207b870e9ab99f.tar.gz |
Fixed bug #66242 (don't assume char is signed)
This fixes a bug in libmagic where a cast to 'char' is assumed to result
in sign extension to occur. However, unqualified 'char' is unsigned on
architectures such as ARM, so the cast needs to be to 'signed char'
explicitly.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'sapi/phpdbg/phpdbg_opcode.c')
0 files changed, 0 insertions, 0 deletions