diff options
author | Johan Hovold <[email protected]> | 2017-05-10 18:18:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-05-17 11:53:02 +0200 |
commit | 2c25a2c818023df64463aac3288a9f969491e507 (patch) | |
tree | ddf956c04e2d94384f7a8ab9e676d05ce5052497 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ec963b412a54aac8e527708ecad06a6988a86fb4 (diff) |
USB: hub: fix SS hub-descriptor handling
A SuperSpeed hub descriptor does not have any variable-length fields so
bail out when reading a short descriptor.
This avoids parsing and leaking two bytes of uninitialised slab data
through sysfs removable-attributes.
Fixes: dbe79bbe9dcb ("USB 3.0 Hub Changes")
Cc: stable <[email protected]> # 2.6.39
Cc: John Youn <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions