author | Jonathan Nieder <jrnieder@gmail.com> | |
Sun, 28 Nov 2010 19:42:46 +0000 (13:42 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Dec 2010 21:26:52 +0000 (13:26 -0800) | ||
commit | a9ff277e583782346181f431784e48046b0dfaa9 | |
tree | 01a2fc07ee976a9f9cbd32d8c5fec906ffc19009 | tree | snapshot |
parent | 7d43de925b2771d295d8fc4341b7bd544e2a74fa | commit | diff |
fast-import: stricter parsing of integer options
Check the result from strtoul to avoid accepting arguments like
--depth=-1 and --active-branches=foo,bar,baz.
Requested-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Check the result from strtoul to avoid accepting arguments like
--depth=-1 and --active-branches=foo,bar,baz.
Requested-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fast-import.c | diff | blob | history | |
t/t9300-fast-import.sh | diff | blob | history |