]> git.sur5r.net Git - openocd/commit
target: fix segfault in arm7_9 8/16bit read
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 23 May 2012 11:31:16 +0000 (12:31 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 25 May 2012 12:09:11 +0000 (12:09 +0000)
commitc3074f377c1da33ca8ba8493826e1b52351eebc6
treef6941cd391ded85a564cfddd4d7b79bc313e017a
parent3d2dd4a3a31d730de244d2f35f351e826ced55b1
target: fix segfault in arm7_9 8/16bit read

Seems I5347352e7595686634bd0de13fcf6de6e55027b0 introduced an issue when
reading 8/16 bit data - the in buffer was always set to 32bits.

Change-Id: Ife2bb6a20fcb3ec0e486655512164f25ae9196b4
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/660
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
src/target/arm7tdmi.c
src/target/arm9tdmi.c