diff options
| author | Heinrich Schuchardt <[email protected]> | 2015-04-28 17:30:47 +0000 |
|---|---|---|
| committer | Peter Chen <[email protected]> | 2015-05-06 06:28:18 +0000 |
| commit | bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d (patch) | |
| tree | 207a768da295aac03cdfe4db7bbab0f3f97ea772 /net/unix/af_unix.c | |
| parent | cdc-acm: prevent infinite loop when parsing CDC headers. (diff) | |
| download | kernel-bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d.tar.gz kernel-bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
