aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-03-24 15:21:35 +0000
committerGreg Kroah-Hartman <[email protected]>2021-03-26 14:58:57 +0100
commit0933e51a0b3ce66eb2cf21b0dda265655fa43f53 (patch)
tree387738b54cb250051621466b9990db8cf8275c9b /tools/perf/scripts/python/bin
parentd8827ae8e22badd339e1b6225c03a1e417765a3d (diff)
staging: rtl8188eu: Fix null pointer dereference on free_netdev call
An unregister_netdev call checks if pnetdev is null, hence a later call to free_netdev can potentially be passing a null pointer, causing a null pointer dereference. Avoid this by adding a null pointer check on pnetdev before calling free_netdev. Fixes: 1665c8fdffbb ("staging: rtl8188eu: use netdev routines for private data") Reviewed-by: Martin Kaiser <[email protected]> Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions