Git development
 help / color / mirror / Atom feed
* [PATCH 0/3] builtin-branch: use strbuf
@ 2008-11-17 20:48 Miklos Vajna
  2008-11-17 20:48 ` [PATCH 1/3] builtin-branch: use strbuf in delete_branches() Miklos Vajna
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Miklos Vajna @ 2008-11-17 20:48 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

These 3 patches do what's in the subject: use the strbuf API instead of
snprintf() / sprintf().

The current risk of writing unallocated memory is low, I think, but
still, the return value of these functions were not checked at several
places.

Miklos Vajna (3):
  builtin-branch: use strbuf in delete_branches()
  builtin-branch: use strbuf in fill_tracking_info()
  builtin-branch: use strbuf in rename_branch()

 builtin-branch.c |   65 +++++++++++++++++++++++++++--------------------------
 1 files changed, 33 insertions(+), 32 deletions(-)

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

end of thread, other threads:[~2008-11-19 19:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-17 20:48 [PATCH 0/3] builtin-branch: use strbuf Miklos Vajna
2008-11-17 20:48 ` [PATCH 1/3] builtin-branch: use strbuf in delete_branches() Miklos Vajna
2008-11-17 20:48 ` [PATCH 2/3] builtin-branch: use strbuf in fill_tracking_info() Miklos Vajna
2008-11-17 20:48 ` [PATCH 3/3] builtin-branch: use strbuf in rename_branch() Miklos Vajna
2008-11-18 23:57   ` Junio C Hamano
2008-11-19  1:11     ` Johannes Schindelin
2008-11-19 19:48       ` Lars Hjemli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox