summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_cmd.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-03-05 13:25:21 -0800
committerStanislav Malyshev <stas@php.net>2019-03-06 00:50:09 -0800
commitdb777e9199a94f95416ea16baf82a7d10a0bbe51 (patch)
treedddcdc2fc9fa6bc55c68cbfa15e921651c16d216 /sapi/phpdbg/phpdbg_cmd.c
parentf651397b1f874a09a7d3885a7463cdf8ea6eafa7 (diff)
downloadphp-git-db777e9199a94f95416ea16baf82a7d10a0bbe51.tar.gz
Fix shifting signed values too far
Signed shift of 31 for int and 63 for long is flagged as undefined behavior by UBSan (-fsanitize=undefined) and seems to be indeed so according to the standard. The patch converts such cases to use unsigned.
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
0 files changed, 0 insertions, 0 deletions