summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBui Quang Minh <minhquangbui99@gmail.com>2020-12-04 06:24:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-07 15:25:23 +0100
commite90cfa813da7a527785033a0b247594c2de93dd8 (patch)
tree03b8b6375ea204a1ca1e3e2ed5d8ff521facd60e /tools/perf/scripts/python/export-to-sqlite.py
parentc7721e15f434920145c376e8fe77e1c079fc3726 (diff)
USB: dummy-hcd: Fix uninitialized array use in init()
This error path err_add_pdata: for (i = 0; i < mod_data.num; i++) kfree(dum[i]); can be triggered when not all dum's elements are initialized. Fix this by initializing all dum's elements to NULL. Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@vger.kernel.org> Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com> Link: https://lore.kernel.org/r/1607063090-3426-1-git-send-email-minhquangbui99@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions