diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2019-06-15 09:11:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-17 18:14:29 -0700 |
commit | 5d137fc2c7ba08455b2734c8e2ca9b9a284f3706 (patch) | |
tree | b54994239200f16bc8531a97a9886e08868621e5 /t/t4018 | |
parent | mingw: allow building with an MSYS2 runtime v3.x (diff) | |
download | tgif-5d137fc2c7ba08455b2734c8e2ca9b9a284f3706.tar.xz |
fsmonitor: avoid signed integer overflow / infinite loop
883e248b8a ("fsmonitor: teach git to optionally utilize a file system
monitor to speed up detecting new or changed files.", 2017-09-22) uses
an int in a loop that would wrap if index_state->cache_nr (unsigned)
is bigger than INT_MAX
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018')
0 files changed, 0 insertions, 0 deletions