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
type
Documentation/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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html