summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-03-18 10:26:53 +0100
committerStanislav Malyshev <stas@php.net>2020-05-11 13:47:38 -0700
commit1c9bd513ac5c7c1d13d7f0dfa7c16a7ad2ce0f87 (patch)
tree79d9f317bb40d2836c52b9558b04da9228dc20b8 /ext/reflection/php_reflection.h
parentbef96b9d2c7330909f43faf4f8ff12c7723bf857 (diff)
downloadphp-git-1c9bd513ac5c7c1d13d7f0dfa7c16a7ad2ce0f87.tar.gz
Fix #78875: Long filenames cause OOM and temp files are not cleaned
We must not cast `size_t` to `int` (unless the `size_t` value is guaranteed to be less than or equal to `INT_MAX`). In this case we can declare `array_len` as `size_t` in the first place.
Diffstat (limited to 'ext/reflection/php_reflection.h')
0 files changed, 0 insertions, 0 deletions