diff options
author | 2016-04-28 11:42:21 +0800 | |
---|---|---|
committer | 2016-04-28 12:35:36 -0700 | |
commit | 26186e5f2c1a6d1c244a3052f02e46ae29d823f2 (patch) | |
tree | f11ffd2e06d3e622175e24893917af145ead163f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: core: buffer: avoid NULL pointer dereferrence (diff) | |
download | linux-dev-26186e5f2c1a6d1c244a3052f02e46ae29d823f2.tar.xz linux-dev-26186e5f2c1a6d1c244a3052f02e46ae29d823f2.zip |
usb: misc: usbtest: fix error of urb allocation
urb allocation will fail when usbtest_alloc_urb() tries to
allocate zero length buffer, but it doesn't need it in fact,
so just skips buffer allocation in the case.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions