aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJörg Wunsch <openocd@uriah.heep.sax.de>2014-03-14 10:50:36 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2014-03-17 12:48:29 +0000
commit0c7db47e58e5fe267219735630cd004b504e8535 (patch)
tree41fb6dd56da980a074494a4b4ebbf9f9839f28f2 /NEWS
parent6bc7ddeffd194444f9bae0d18a5bce8fa39d672f (diff)
Prevent segfault when the USB product string cannot be retrieved
In the CMSIS-DAP driver, if nothing has been specified by the user, an attempt is made to find the first device with the (mandatory) substring "CMSIS-DAP" in any USB device's product string. However, while (usually) all devices can be traversed, devices the user does not have permission for cannot be read the product string from, resulting in a NULL pointer. Trying to find the substring "CMSIS-DAP" causes a segementation fault then. This has also been filed as Trac bug #67: https://sourceforge.net/apps/trac/openocd/ticket/67 Change-Id: Idfc9f072e34152e9af99fe1c8ec88c99dea4624c Signed-off-by: Jörg Wunsch <openocd@uriah.heep.sax.de> Reviewed-on: http://openocd.zylin.com/2044 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions