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)
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>
No differences found