rev-parse: check i before using argv[i] against argc
authorDavid Sharp <dhsharp@google.com>
Tue, 28 Jan 2014 21:21:00 +0000 (13:21 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jan 2014 22:10:06 +0000 (14:10 -0800)
commita43219f...aaa39fbc53ba0aee2481e1cca3c0e649
tree4f8d969...3cf247a21d48df911ccb1a71a750074fcopy hash to clipboard (tree)
parentd2446df...7f3b3f8948142cfb07a0270e2497d93fcopy hash to clipboard (diff)
builtin/rev-parse.c