summaryrefslogtreecommitdiff
path: root/line-log.c
diff options
context:
space:
mode:
authorLibravatar Carlo Marcelo Arenas Belón <carenas@gmail.com>2019-06-15 09:11:35 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-17 18:14:29 -0700
commit5d137fc2c7ba08455b2734c8e2ca9b9a284f3706 (patch)
treeb54994239200f16bc8531a97a9886e08868621e5 /line-log.c
parentmingw: allow building with an MSYS2 runtime v3.x (diff)
downloadtgif-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 'line-log.c')
0 files changed, 0 insertions, 0 deletions