diff options
author | Brandon Casey <drafnel@gmail.com> | 2013-09-23 11:49:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-10-16 09:35:31 -0700 |
commit | 73bbc0796b4ce65bfb1a12b47a0edc27845ecf50 (patch) | |
tree | 58672477c840a90eed386d58410bb125b1bd7e5d /pathspec.c | |
parent | contrib/git-credential-gnome-keyring.c: strlen() returns size_t, not ssize_t (diff) | |
download | tgif-73bbc0796b4ce65bfb1a12b47a0edc27845ecf50.tar.xz |
contrib/git-credential-gnome-keyring.c: ensure buffer is non-empty before accessing
Ensure buffer length is non-zero before attempting to access the last
element.
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pathspec.c')
0 files changed, 0 insertions, 0 deletions