author | Miklos Vajna <vmiklos@frugalware.org> | |
Mon, 17 Nov 2008 20:48:37 +0000 (21:48 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 18 Nov 2008 23:46:42 +0000 (15:46 -0800) | ||
commit | da3f78a29cafee487c107a81c442213fa41463f7 | |
tree | 53cc35445e094d49a24599cf890f4354499d34a5 | tree | snapshot |
parent | d3f9f9a92eca0dd6379d836a083e823cc5e3eeb6 | commit | diff |
builtin-branch: use strbuf in rename_branch()
In case the length of branch name is greather then PATH_MAX-11, 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-11, 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 |