openocd/src
Andreas Fritiofson 3560c8e06b gdb_server: Fix segfault in (and rewrite) decode_xfer_read
Introduced by 537b06a81 (free non-malloced memory).

Rewrite to use standard C string routines and make returning annex
optional since it's not currently used.

Change-Id: Idf3698a482dfeff7fa5ea1660fd89122eb80b68d
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2023
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-03-07 11:40:55 +00:00
..
flash Add support for the Atmel SAMG53 2014-03-04 20:18:37 +00:00
helper command: Fix formatting for empty usage string 2014-01-09 13:21:51 +00:00
jtag CMSIS-DAP: Fix build errors on Mac OS X 2014-03-04 20:18:17 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos Constify received GDB packet 2014-03-04 20:17:34 +00:00
server gdb_server: Fix segfault in (and rewrite) decode_xfer_read 2014-03-07 11:40:55 +00:00
svf svf: off-by-one error; do not access after the allocated memory 2013-09-13 19:34:46 +00:00
target Constify received GDB packet 2014-03-04 20:17:34 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00