diff options
author | Nicolas Pitre <nico@cam.org> | 2008-10-29 19:02:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-02 15:22:34 -0800 |
commit | d8f325563d85abcd9816311b3a84093b2d1cda9f (patch) | |
tree | f564b9bd64fd42b1bc38dfa8b0e80f52c78f60eb /t/t9120-git-svn-clone-with-percent-escapes.sh | |
parent | close another possibility for propagating pack corruption (diff) | |
download | tgif-d8f325563d85abcd9816311b3a84093b2d1cda9f.tar.xz |
better validation on delta base object offsets
In one case, it was possible to have a bad offset equal to 0 effectively
pointing a delta onto itself and crashing git after too many recursions.
In the other cases, a negative offset could result due to off_t being
signed. Catch those.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9120-git-svn-clone-with-percent-escapes.sh')
0 files changed, 0 insertions, 0 deletions