From: Nguyễn Thái Ngọc Duy Date: Thu, 21 May 2009 09:32:44 +0000 (+1000) Subject: Terminate argv with NULL before calling setup_revisions() X-Git-Tag: v1.6.4-rc0~147 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a80aad7b85fc560451e07792d64ab6cb15a39914?hp=a80aad7b85fc560451e07792d64ab6cb15a39914 Terminate argv with NULL before calling setup_revisions() It is convention that argv should be terminated with NULL, even if argc is used to specify the size of argv. setup_revisions() requires this and may segfault otherwise. This patch makes sure that all argv (that I can find) is NULL terminated. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---