Files
linux/drivers
Dan Carpenter df28169e15 usb: gadget: Potential NULL dereference on allocation error
The source_sink_alloc_func() function is supposed to return error
pointers on error.  The function is called from usb_get_function() which
doesn't check for NULL returns so it would result in an Oops.

Of course, in the current kernel, small allocations always succeed so
this doesn't affect runtime.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2019-01-14 10:29:55 +02:00
..
2018-12-19 09:40:13 +01:00
2018-12-29 08:20:44 -07:00
2019-01-11 00:15:04 +01:00
2018-12-24 12:06:56 +01:00