summaryrefslogtreecommitdiff
path: root/src/target/arm720t.c
diff options
context:
space:
mode:
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>2011-01-26 12:13:14 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2011-01-26 12:14:51 +0000
commit5b34018ccd244e888e8b7e1619e0e979b2a6147e (patch)
treee4b1e734bf8dc90385796628fb8eb8f52eb49440 /src/target/arm720t.c
parenta72741818431d693e48b0f016258be0fec1f79da (diff)
downloadopenocd_libswd-5b34018ccd244e888e8b7e1619e0e979b2a6147e.tar.gz
openocd_libswd-5b34018ccd244e888e8b7e1619e0e979b2a6147e.tar.bz2
openocd_libswd-5b34018ccd244e888e8b7e1619e0e979b2a6147e.tar.xz
openocd_libswd-5b34018ccd244e888e8b7e1619e0e979b2a6147e.zip
fix segfault from stack corruption in ahbap_debugport_init
ahbap_debugport_init was queueing reads to a local stack variable but didn't execute the queue before returning. Since the result of the reads are not used anyway, it's better to pass NULL as the destination instead of a dummy variable. I changed this throughout the function, even for the reads that were actually executed. Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/target/arm720t.c')
0 files changed, 0 insertions, 0 deletions