author | Jeff King <peff@peff.net> | |
Mon, 28 Jun 2010 08:59:07 +0000 (04:59 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 28 Jun 2010 16:15:15 +0000 (09:15 -0700) | ||
commit | bbb1b8a35a06203020f7ab6d1ad58bcb4afe8e93 | |
tree | c7e4500bf95872f4ffa394fef1af3ebac236a72a | tree | snapshot |
parent | 9eafa1201b2dcc703258ca7cd53de8ac4de74565 | commit | diff |
notes: check number of parameters to "git notes copy"
Otherwise we may segfault with too few parameters.
Signed-off-by: Jeff King <peff@peff.net>
Tested-by: Bert Wesarg <Bert.Wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Otherwise we may segfault with too few parameters.
Signed-off-by: Jeff King <peff@peff.net>
Tested-by: Bert Wesarg <Bert.Wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/notes.c | diff | blob | history | |
t/t3301-notes.sh | diff | blob | history |