git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hash-object crash fix and new doc and tests
@ 2015-05-04  7:25 Eric Sunshine
  2015-05-04  7:25 ` [PATCH 1/3] git-hash-object.txt: document --literally option Eric Sunshine
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Eric Sunshine @ 2015-05-04  7:25 UTC (permalink / raw)
  To: git; +Cc: Eric Sunshine, Junio C Hamano, Karthik Nayak

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-05-05 18:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04  7:25 [PATCH 0/3] hash-object crash fix and new doc and tests Eric Sunshine
2015-05-04  7:25 ` [PATCH 1/3] git-hash-object.txt: document --literally option Eric Sunshine
2015-05-04  7:25 ` [PATCH 2/3] t1007: add hash-object --literally tests Eric Sunshine
2015-05-04  7:25 ` [PATCH 3/3] write_sha1_file_prepare: fix buffer overrun with extra-long object type Eric Sunshine
2015-05-04 17:58   ` Junio C Hamano
2015-05-04 17:59     ` Junio C Hamano
2015-05-04 21:37 ` [PATCH 0/4] "hash-object --literally" fixes Junio C Hamano
2015-05-04 21:37   ` [PATCH 1/4] git-hash-object.txt: document --literally option Junio C Hamano
2015-05-04 21:37   ` [PATCH 2/4] write_sha1_file_prepare: fix buffer overrun with extra-long object type Junio C Hamano
2015-05-05  0:13     ` Eric Sunshine
2015-05-05  0:28       ` Junio C Hamano
2015-05-05 17:30       ` Junio C Hamano
2015-05-05 18:49         ` Eric Sunshine
2015-05-04 21:37   ` [PATCH 3/4] t1007: add hash-object --literally tests Junio C Hamano
2015-05-04 21:37   ` [PATCH 4/4] write_sha1_file(): do not use a separate sha1[] array Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).