Skip to content
Commit bbd20c93 authored by Aditya Pakki's avatar Aditya Pakki Committed by David S. Miller
Browse files

fore200e: Fix incorrect checks of NULL pointer dereference



In fore200e_send and fore200e_close, the pointers from the arguments
are dereferenced in the variable declaration block and then checked
for NULL. The patch fixes these issues by avoiding NULL pointer
dereferences.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 03d51c4f
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