author | Miklos Vajna <vmiklos@frugalware.org> | |
Mon, 17 Nov 2008 20:48:35 +0000 (21:48 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 18 Nov 2008 23:40:02 +0000 (15:40 -0800) | ||
commit | 3c59c50d76cd479caf14cab73fdb09b68597d5e5 | |
tree | 79749fcfafcf3a65d13e7a79fb314069436fb8e9 | tree | snapshot |
parent | 47577456bfe61c32df73a7cf4a388f007af3b18f | commit | diff |
builtin-branch: use strbuf in delete_branches()
In case the length of branch name is greather then PATH_MAX-7, we write
to unallocated memory otherwise.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In case the length of branch name is greather then PATH_MAX-7, we write
to unallocated memory otherwise.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c | diff | blob | history |