summaryrefslogtreecommitdiffstats
path: root/hw/openrisc/openrisc_sim.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2017-07-27 04:42:16 +0200
committerMichael Tokarev2017-07-31 12:06:39 +0200
commit72cd500b725fd9a3bbefeb468d54c192fdc28318 (patch)
tree802a59ba8b96edd921b66b0db0fa4f0d56f74fa9 /hw/openrisc/openrisc_sim.c
parentm68k/translate: fix incorrect copy/paste (diff)
downloadqemu-72cd500b725fd9a3bbefeb468d54c192fdc28318.tar.gz
qemu-72cd500b725fd9a3bbefeb468d54c192fdc28318.tar.xz
qemu-72cd500b725fd9a3bbefeb468d54c192fdc28318.zip
linux-user/sh4: fix incorrect memory write
not hit since 2009! :) linux-user/elfload.c:1102:20: warning: Out of bound memory access (access exceeds upper limit of memory block) (*regs[i]) = tswap32(env->gregs[i]); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/openrisc/openrisc_sim.c')
0 files changed, 0 insertions, 0 deletions