diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-12-26 11:02:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-28 17:11:18 +0300 |
commit | ec36ae7189acd9a24f417e4814e627034da68922 (patch) | |
tree | 0f5b6ac3226f14968c68406bf001570f4bf2d59b /drivers/staging/fwserial/fwserial.c | |
parent | 850c35bb28ecd80bdbecc5cc4d47d0c6941d6d83 (diff) | |
download | linux-ec36ae7189acd9a24f417e4814e627034da68922.tar.xz |
staging: rtl8192u: Add null check in rtl8192_usb_initendpoints
There is an allocation for priv->rx_urb[16] has no null check,
which may lead to a null pointer dereference.
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20201226080258.6576-1-dinghao.liu@zju.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fwserial/fwserial.c')
0 files changed, 0 insertions, 0 deletions