[5.10,0/1] staging: rtl8192u: Add null check in rtl8192_usb_initendpoints

Message ID 20230330201107.17647-1-listdansp@mail.ru
Headers
Series staging: rtl8192u: Add null check in rtl8192_usb_initendpoints |

Message

Danila Chernetsov March 30, 2023, 8:11 p.m. UTC
  SVACE reports return value of a function 'usb_alloc_urb' is dereferenced
 without checking for null in 5.10 stable releases.
The problem has been fixed by the following 
patch which can be cleanly applied to the 5.10 branch.

Found by Linux Verification Center (linuxtesting.org) with SVACE.