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

From: Danila Chernetsov
Date: Thu Mar 30 2023 - 16:11:42 EST


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.