aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/u8500.cfg
diff options
context:
space:
mode:
authorStefan Mahr <stefan.mahr@sphairon.com>2013-03-12 10:43:21 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-03-13 12:54:40 +0000
commitfac9057f022e5752fdfbe238ea69219d945d884e (patch)
tree42d54beeb17cd351041bcc34c0134c2c95f5499b /tcl/target/u8500.cfg
parent02192f6b8c63d740a551e371441d85d59930e65c (diff)
downloadriscv-openocd-fac9057f022e5752fdfbe238ea69219d945d884e.zip
riscv-openocd-fac9057f022e5752fdfbe238ea69219d945d884e.tar.gz
riscv-openocd-fac9057f022e5752fdfbe238ea69219d945d884e.tar.bz2
jtag: parport: avoid freeing read-only memory section
If command parport_cable is not executed, parport_cable points to const char array in read-only memory as default. On exit free() will try to free this read-only memory. This patch uses strdup to allocate memory when defining default setting. Change-Id: I290e707ac6a37e9dc1b45c85ca51d8bd6aac6761 Signed-off-by: Stefan Mahr <stefan.mahr@sphairon.com> Reviewed-on: http://openocd.zylin.com/1223 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl/target/u8500.cfg')
0 files changed, 0 insertions, 0 deletions