aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-01-21 13:40:54 -0600
committerJohn W. Linville <linville@tuxdriver.com>2011-01-21 15:07:38 -0500
commitbdc4bf652bc0271ba8f1f25bbd3dbac90bead44e (patch)
tree0df37186346b816a1f2c3c09b091175fc0f35568 /drivers/bluetooth
parent783cd01e140d9db5c2d2279a96b81e16f9d81fef (diff)
downloadkernel_samsung_aries-bdc4bf652bc0271ba8f1f25bbd3dbac90bead44e.zip
kernel_samsung_aries-bdc4bf652bc0271ba8f1f25bbd3dbac90bead44e.tar.gz
kernel_samsung_aries-bdc4bf652bc0271ba8f1f25bbd3dbac90bead44e.tar.bz2
rtlwifi: Fix possible NULL dereference
In drivers/net/wireless/rtlwifi/pci.c::_rtl_pci_rx_interrupt() we call dev_alloc_skb(), which may fail and return NULL, but we do not check the returned value against NULL before dereferencing the returned pointer. This may lead to a NULL pointer dereference which means we'll crash - not good. In a separate call to dev_alloc_skb(), the debug level is changed so that the failure message will always be logged. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions