diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-12-23 14:42:54 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-03 14:31:03 +0100 |
commit | b48f2625b57f70eea858033e623e6bf13b595e3b (patch) | |
tree | 2b31d1e68a118561431ae485b7993b7deee88365 /ext/reflection/php_reflection.c | |
parent | 0cecf83b264cbbb5683ab8a843cc4a4d9c294644 (diff) | |
download | php-git-b48f2625b57f70eea858033e623e6bf13b595e3b.tar.gz |
Fix #79015: undefined-behavior in php_date.c
We check that the given microsecond fraction is in the valid range
[0, 1000000[, and otherwise mark it as invalid. We also drop the
useless do loop; a plain block is sufficient here.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions