diff options
author | Yinglin Luan <[email protected]> | 2011-06-25 18:12:12 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-06-29 05:57:35 -0700 |
commit | 55caa9241ece1c07a930e3d05a624061adcf2653 (patch) | |
tree | 58747dba1d8c7711f8187216d1e433841bcd91ad /net/lapb/lapb_timer.c | |
parent | 7ab24bfdf9a9a9f87ac8e5ad9a25f80b5b947be7 (diff) |
rionet: fix NULL pointer dereference in rionet_remove
Function rionet_remove initializes local variable 'ndev' to NULL
and do nothing changes before the call to unregister_netdev(ndev),
this could cause a NULL pointer dereference.
Reported-by: Jesper Juhl <[email protected]>
Signed-off-by: Yinglin Luan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions