diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-28 13:42:46 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-01 13:26:52 -0800 |
commit | a9ff277e583782346181f431784e48046b0dfaa9 (patch) | |
tree | 01a2fc07ee976a9f9cbd32d8c5fec906ffc19009 /builtin | |
parent | Merge branch 'cb/maint-orphan-merge-noclobber' (diff) | |
download | tgif-a9ff277e583782346181f431784e48046b0dfaa9.tar.xz |
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>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions