diff options
| author | Kangjie Lu <[email protected]> | 2019-03-09 02:42:26 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-29 07:42:56 -0400 |
| commit | f8ee34c3e77afd8cfc13f98e326325f17494f1e5 (patch) | |
| tree | f58d15f180a2c6a99146e0eb7cc16990254f8c13 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | aeb0d0f581e2079868e64a2e5ee346d340376eae (diff) | |
media: usbvision: fix a potential NULL pointer dereference
In case usb_alloc_coherent fails, the fix returns -ENOMEM to
avoid a potential NULL pointer dereference.
Signed-off-by: Kangjie Lu <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions