read_object_with_reference: don't read beyond the buffer
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>
Mon, 18 Feb 2008 20:47:52 +0000 (21:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Feb 2008 03:20:17 +0000 (19:20 -0800)
commit50974ec99408b2d814360863e72a5eca613889c8
tree340049890a965da37de20bb4b24349da2edd3aba
parente5fc9a0aea2c3c49829b5cdf499339e5c759706b
read_object_with_reference: don't read beyond the buffer

Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c