[PATCH 0/3] hash-object crash fix and new doc and tests
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- May 4, 2015, 07:25 UTC
- Message-ID
- <1430724315-524-1-git-send-email-sunshine@sunshineco.com>
This patch series fixes a buffer overrun triggered by an extra-long bogus object type specified via hash-object --literally.
It also adds documentation and tests which were missing from the initial series which introduced "hash-object --literally".
Eric Sunshine (3):
git-hash-object.txt: document --literally option
t1007: add hash-object --literally tests
write_sha1_file_prepare: fix buffer overrun with extra-long object
typeDocumentation/git-hash-object.txt | 10 ++++++++-- sha1_file.c | 21 ++++++++++----------- t/t1007-hash-object.sh | 11 +++++++++++ 3 files changed, 29 insertions(+), 13 deletions(-)
-- 2.4.0.319.g7a04823