Code

Don't dereference a strdup-returned NULL
authorJim Meyering <jim@meyering.net>
Tue, 12 Jun 2007 20:59:21 +0000 (22:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jun 2007 05:16:29 +0000 (22:16 -0700)
commitaa32eedc69e4966cc822a2f9f07c30b437e40b8c
treedc7ab2a1438f9da60925184c844bd8da6eb552a1
parentc43f64a0afd7b4bd87ec83449995fad21b741af6
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>
remote.c