diff options
author | Andreas Gal <gal@uci.edu> | 2005-04-24 14:04:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-24 14:04:13 -0700 |
commit | da6abf5d9c342a74dffbcc2015b9c27d7819a900 (patch) | |
tree | fc8e8c5906aedbe8b1b99c422b14ae2dbd2220c8 /blob.c | |
parent | Support a fine-grained diff-tree (diff) | |
download | tgif-da6abf5d9c342a74dffbcc2015b9c27d7819a900.tar.xz |
[PATCH] fix segfault in fsck-cache
Here is how to trigger it:
echo blob 100 > .git/objects/00/ae4e8d3208e09f2cf7a38202a126f728cadb49
Then run fsck-cache. It will try to unpack after the header to calculate
the hash, inflate returns total_out == 0 and memcpy() dies.
The patch below seems to work with ZLIB 1.1 and 1.2.
Signed-off-by: Andreas Gal <gal@uci.edu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'blob.c')
0 files changed, 0 insertions, 0 deletions