diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-12-03 11:41:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-07 15:26:18 +0100 |
commit | 3f6f6343a29d9ea7429306b83b18e66dc1331d5c (patch) | |
tree | d3e4042f75a1ba65d6d4ff9fe008147841782ffa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e90cfa813da7a527785033a0b247594c2de93dd8 (diff) |
usb: mtu3: fix memory corruption in mtu3_debugfs_regset()
This code is using the wrong sizeof() so it does not allocate enough
memory. It allocates 32 bytes but 72 are required. That will lead to
memory corruption.
Fixes: ae07809255d3 ("usb: mtu3: add debugfs interface files")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X8ikqc4Mo2/0G72j@mwanda
Cc: stable <stable@vger.kernel.org>
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