From: Jeff King <peff@peff.net>
To: git@vger.kernel.org
Subject: [PATCH 0/4] a few minor buffer cleanups in fast-import
Date: Fri, 24 Mar 2017 13:22:46 -0400 [thread overview]
Message-ID: <20170324172246.fy5drvhzqxghu44a@sigill.intra.peff.net> (raw)
I don't think any of these is a triggerable bug. They're just cleanups
to make it more obvious that the code is doing the right thing (and
making it harder to do the wrong thing).
[1/4]: fast-import: use xsnprintf for writing sha1s
[2/4]: fast-import: use xsnprintf for formatting headers
[3/4]: encode_in_pack_object_header: respect output buffer length
[4/4]: pack.h: define largest possible encoded object size
builtin/pack-objects.c | 12 ++++++++----
bulk-checkin.c | 2 +-
fast-import.c | 16 +++++++---------
pack-write.c | 5 ++++-
pack.h | 9 ++++++++-
5 files changed, 28 insertions(+), 16 deletions(-)
-Peff
next reply other threads:[~2017-03-24 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-24 17:22 Jeff King [this message]
2017-03-24 17:25 ` [PATCH 1/4] fast-import: use xsnprintf for writing sha1s Jeff King
2017-03-24 17:26 ` [PATCH 2/4] fast-import: use xsnprintf for formatting headers Jeff King
2017-03-24 17:26 ` [PATCH 3/4] encode_in_pack_object_header: respect output buffer length Jeff King
2017-03-24 17:26 ` [PATCH 4/4] pack.h: define largest possible encoded object size Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170324172246.fy5drvhzqxghu44a@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).