diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-03-18 10:26:53 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-05-12 09:00:40 +0200 |
commit | c71416cba2ad7b596233e3c0da117a90a2e78bbf (patch) | |
tree | 44654099a313c4f429c9cf244171955f86a92fa3 /scripts/Makefile.frag | |
parent | 47a2da69519b9ed2c10c679edbc4f559d2409f4c (diff) | |
download | php-git-c71416cba2ad7b596233e3c0da117a90a2e78bbf.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.
(cherry picked from commit 1c9bd513ac5c7c1d13d7f0dfa7c16a7ad2ce0f87)
Diffstat (limited to 'scripts/Makefile.frag')
0 files changed, 0 insertions, 0 deletions