]> git.sur5r.net Git - openocd/commit
disassembly: fix access to undefined memory pointer upon unknown instruction
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sat, 5 Nov 2011 12:13:50 +0000 (13:13 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 7 Nov 2011 20:37:11 +0000 (20:37 +0000)
commit6fa4c5a456e27ed1446b08a590c0494199c95c8a
tree148810aeea58fe3da061a1745145ef1282a30b5c
parent3bab8990635af47de01e86c32a8ee9fe87789190
disassembly: fix access to undefined memory pointer upon unknown instruction

return error message instead. Found by clang.

Change-Id: Ica109d077206236a12d007e77cc78061ffd05834
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/169
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/arm_disassembler.c