summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-12-21 23:42:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 08:44:19 +0100
commit8751b9509990fe4d5faa7affdf77fc6374055a1e (patch)
treefe35995c383ea42e2227ff3f3277b8fa1b87918d /tools/perf/scripts/python/export-to-postgresql.py
parentf84996563d7ba74d915955572bfc31a50c50fecd (diff)
usb: gadget: Potential NULL dereference on allocation error
[ Upstream commit df28169e1538e4a8bcd8b779b043e5aa6524545c ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions