Re: [PATCH] net/sunrpc/svcauth_unix.c: unix_domain_find: returnNULL if kmalloc fails

From: David S. Miller
Date: Mon Apr 26 2004 - 18:39:10 EST


On Mon, 26 Apr 2004 19:17:19 +0300 (EEST)
"Petri T. Koistinen" <petri.koistinen@xxxxxx> wrote:

> I browsed http://linuxbugs.coverity.com/ site and found this:
>
> NULL_RETURNS error: Dereference of possibly NULL ptr "new" returned by "kmalloc".
...
> Is this correct fix? What happens when unix_domain_find return NULL?
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html