Relased on Tue, 14 Jun 2011 15:13:23 +0000
[klibc] strndup(): Fix possible null pointer dereference

Directly return NULL if malloc failed.

Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: maximilian attems <max@stro.at>
1 file changed