diff options
| author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-05-21 19:32:44 +1000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-05-21 08:56:24 -0700 |
| commit | a80aad7b85fc560451e07792d64ab6cb15a39914 (patch) | |
| tree | ed917349c318912c25f5653260f4dc970287f099 /replace_object.c | |
| parent | doc/git-rebase.txt: remove mention of multiple strategies (diff) | |
| download | git-a80aad7b85fc560451e07792d64ab6cb15a39914.tar.gz git-a80aad7b85fc560451e07792d64ab6cb15a39914.zip | |
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 <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'replace_object.c')
0 files changed, 0 insertions, 0 deletions
