fix a potential null pointer reference in strdup (as found by Patrick Georgi)
authorStefan Reinauer <stepan@coresystems.de>
Mon, 26 Jan 2009 00:57:54 +0000 (00:57 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 26 Jan 2009 00:57:54 +0000 (00:57 +0000)
commitac29d61a454f0562c5c63ea1f5e14f9068904bf0
treead59cd56664635a14298fe719a4305c5f289cdf0
parent8c4421ddbdd6f4fec3de2fa431d42f0421a758d1
fix a potential null pointer reference in strdup (as found by Patrick Georgi)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3902 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/libc/string.c