]> git.ipfire.org Git - thirdparty/git.git/commit - read-cache.c
[PATCH] Fix buffer overflow in ce_flush().
authorQingning Huo <qhuo@mayhq.co.uk>
Sun, 11 Sep 2005 13:27:47 +0000 (14:27 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 11 Sep 2005 17:51:13 +0000 (10:51 -0700)
commit2c865d9aa7b9c3511f901b2544b667c5188f510e
tree3df04617960fd4dbd7aa2378f5fb7e50583f0142
parent720d150c48fc35fca13c6dfb3c76d60e4ee83b87
[PATCH] Fix buffer overflow in ce_flush().

Add a check before appending SHA1 signature to write_buffer,
flush it first if necessary.

Signed-off-by: Junio C Hamano <junkio@cox.net>
read-cache.c