diff options
author | Micah Gruber <micah.gruber@gmail.com> | 2007-07-09 05:29:04 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-16 23:56:00 +0200 |
commit | 8910b49fbb8d4517a20bb3de7dc239dcfa7d2b6f (patch) | |
tree | c8ccd449c333a82cf8837df8275eec92d9986640 /security | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drz... (diff) | |
download | linux-8910b49fbb8d4517a20bb3de7dc239dcfa7d2b6f.tar.xz linux-8910b49fbb8d4517a20bb3de7dc239dcfa7d2b6f.zip |
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: Micah Gruber < micah.gruber@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions