diff options
author | Dan Carpenter <error27@gmail.com> | 2010-07-15 10:23:10 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-16 20:03:42 +0200 |
commit | 48d5548fc5e5ad79ca98a287b67f403834929739 (patch) | |
tree | 728303cb63471478d6bb0c0a11ac62b6ed15ec69 /net/mac80211 | |
parent | ath9k_hw: Fix AR9003 MPDU delimeter CRC check for middle subframes (diff) | |
download | linux-48d5548fc5e5ad79ca98a287b67f403834929739.tar.xz linux-48d5548fc5e5ad79ca98a287b67f403834929739.zip |
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')
0 files changed, 0 insertions, 0 deletions