diff options
author | Vincent Pelletier <[email protected]> | 2017-01-18 00:57:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-01-25 12:03:52 +0100 |
commit | 83e526f2a2fa4b2e82b6bd3ddbb26b70acfa8947 (patch) | |
tree | 3067a6dfefc8299039bc89f9eca8dc36a77e1ab4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d9b2997e4a0a874e452df7cdd7de5a54502bd0aa (diff) |
usb: gadget: f_fs: Assorted buffer overflow checks.
OS descriptor head, when flagged as provided, is accessed without
checking if it fits in provided buffer. Verify length before access.
Also, there are other places where buffer length it checked
after accessing offsets which are potentially past the end. Check
buffer length before as well to fail cleanly.
Signed-off-by: Vincent Pelletier <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions