diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-08-19 08:20:36 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-08-22 06:56:45 +0000 |
commit | 8a07b45fd3c2dda24fad43639be5335a4595196a (patch) | |
tree | 316b17ad4b9ece0d4aa10d59bec0ce4ce94cb2be /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6ad4194d6a1e1d11b285989cd648ef695b4a93c0 (diff) |
platform/chrome: fix memory corruption in ioctl
If "s_mem.bytes" is larger than the buffer size it leads to memory
corruption.
Fixes: eda2e30c6684 ("mfd / platform: cros_ec: Miscellaneous character device to talk with the EC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/Yv8dpCFZJdbUT5ye@kili
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions