author | Jochen Voss <voss@seehuhn.de> | |
Sat, 28 Jun 2008 16:04:24 +0000 (17:04 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 28 Jun 2008 20:43:21 +0000 (13:43 -0700) | ||
commit | 74d817cf8cf68104564cf6c93c1361f66dad1901 | |
tree | f0c09283b2cb90a64ad50d402943cf42807879b7 | tree | snapshot |
parent | 7ac749c96d143ba4f76723959892cbaddbe8ed07 | commit | diff |
avoid off-by-one error in run_upload_archive
Make sure that buf has enough space to store the trailing \0 of
the command line argument, too.
Signed-off-by: Jochen Voss <voss@seehuhn.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Make sure that buf has enough space to store the trailing \0 of
the command line argument, too.
Signed-off-by: Jochen Voss <voss@seehuhn.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-upload-archive.c | diff | blob | history |