commit | bd5fb0aec3dd7cde7ec4c397b10e55d4c9626d8d | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Apr 28 19:30:47 2015 +0200 |
committer | Peter Chen <peter.chen@freescale.com> | Wed May 06 14:28:18 2015 +0800 |
tree | 207a768da295aac03cdfe4db7bbab0f3f97ea772 | |
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 <xypron.glpk@gmx.de> Signed-off-by: Peter Chen <peter.chen@freescale.com>