aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/wep.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-07-15 04:23:10 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-16 14:03:42 -0400
commit48d5548fc5e5ad79ca98a287b67f403834929739 (patch)
tree728303cb63471478d6bb0c0a11ac62b6ed15ec69 /net/mac80211/wep.c
parent9171acc7e094b3ca88e624f39891a4f3bf9d083c (diff)
orinoco_usb: potential null dereference
Smatch complains that "upriv->read_urb" gets dereferenced before checking for NULL. It turns out that it's possible for "upriv->read_urb" to be NULL so I added checks around the dereferences. Also I remove an "if (upriv->bap_buf != NULL)" check because "kfree(NULL) is OK. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wep.c')
0 files changed, 0 insertions, 0 deletions