diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-23 13:06:55 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-23 13:08:44 +0200 |
commit | e65adc9c190fbaadfc9cad044ee0a3cc5df15973 (patch) | |
tree | 54d9bd85cfb0ed3a4efe9e7e46b0ca9de38064b5 /Zend/zend_inheritance.c | |
parent | 9c89f43d55e758525c1b948915d99b5c20fd9b04 (diff) | |
download | php-git-e65adc9c190fbaadfc9cad044ee0a3cc5df15973.tar.gz |
Fix ubsan violation in parse_iv2
This fixes two issues:
* Negative the value in an unsigned type to avoid signed overflow.
* Treat -0 as 0 rather than an invalid number that gets converted
to ZEND_LONG_MIN.
Diffstat (limited to 'Zend/zend_inheritance.c')
0 files changed, 0 insertions, 0 deletions