summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-20 20:40:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-03 12:48:55 +0100
commit123c0aab0050cd0e07ce18e453389fbbb0a5a425 (patch)
tree50c7925452ed2f5ba632abd926a747f443c81954 /fs/overlayfs
parent66d32fdcbf03851724a8b551d490ae1ddfe6eef2 (diff)
downloadlinux-123c0aab0050cd0e07ce18e453389fbbb0a5a425.tar.bz2
staging: rtl8188eu: avoid a null dereference on pmlmepriv
There is a check on pmlmepriv before dereferencing it when vfree'ing pmlmepriv->free_bss_buf however the previous call to rtw_free_mlme_priv_ie_data deferences pmlmepriv causing a null pointer deference if it is null. Avoid this by also calling rtw_free_mlme_priv_ie_data if the pointer is non-null. Detected by CoverityScan, CID#1230262 ("Dereference before null check") Fixes: 7b464c9fa5cc ("staging: r8188eu: Add files for new driver - part 4") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions