Re: [PATCH] [2.6.22] Fix a potential NULL pointer dereference infree_shared_mem() in drivers/net/s2io.c

From: Jeff Garzik
Date: Sun Jul 08 2007 - 23:26:05 EST


Micah Gruber wrote:
This patch fixes a potential null dereference bug where we dereference nic before a null check. This patch simply moves the dereferencing after the null check.

Signed-off-by: Micah Gruber < micah.gruber@xxxxxxxxx <mailto:micah.gruber@xxxxxxxxx>>

any chance you can resend in an email format other than format=flowed?

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/