author | Jim Meyering <jim@meyering.net> | |
Tue, 12 Jun 2007 20:59:21 +0000 (22:59 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 13 Jun 2007 05:16:29 +0000 (22:16 -0700) | ||
commit | aa32eedc69e4966cc822a2f9f07c30b437e40b8c | |
tree | dc7ab2a1438f9da60925184c844bd8da6eb552a1 | tree | snapshot |
parent | c43f64a0afd7b4bd87ec83449995fad21b741af6 | commit | diff |
Don't dereference a strdup-returned NULL
There are only a dozen or so uses of strdup in all of git.
Of those, most seem ok, but this one isn't:
Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
There are only a dozen or so uses of strdup in all of git.
Of those, most seem ok, but this one isn't:
Signed-off-by: Jim Meyering <jim@meyering.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c | diff | blob | history |