diff options
author | Heinrich Schuchardt <[email protected]> | 2015-04-28 19:30:47 +0200 |
---|---|---|
committer | Peter Chen <[email protected]> | 2015-05-06 14:28:18 +0800 |
commit | bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d (patch) | |
tree | 207a768da295aac03cdfe4db7bbab0f3f97ea772 /lib/memory-notifier-error-inject.c | |
parent | 0d3bba0287d4e284c3ec7d3397e81eec920d5e7e (diff) |
usb: chipidea: debug: avoid out of bound read
A string written by the user may not be zero terminated.
sscanf may read memory beyond the buffer if no zero byte
is found.
For testing build with CONFIG_USB_CHIPIDEA=y, CONFIG_USB_CHIPIDEA_DEBUG=y.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions