Skip to content
Commit 8910b49f authored by Micah Gruber's avatar Micah Gruber Committed by Jeff Garzik
Browse files

Fix a potential NULL pointer dereference in free_shared_mem() in drivers/net/s2io.c



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: default avatarMicah Gruber &lt; <micah.gruber@gmail.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 4c75f741
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment