diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-03-24 16:18:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-25 21:35:52 -0700 |
commit | e5e9b56528294e9455d22d1abb21ad32f098a1be (patch) | |
tree | 12c6a871b24c161b553e7c32afa9a8d5fbbba716 /t/t4135/add-with quote.diff | |
parent | GIT 1.3.0 (diff) | |
download | tgif-e5e9b56528294e9455d22d1abb21ad32f098a1be.tar.xz |
combine-diff: fix loop index underflow
If both la and context are zero at the start of the loop, la wraps around
and we end up reading from memory far away. Skip the loop in that case
instead.
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4135/add-with quote.diff')
0 files changed, 0 insertions, 0 deletions