Philippe Mathieu-Daudé 72cd500b72 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>
2017-07-31 13:06:39 +03:00
..
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-09-22 07:24:21 +03:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2017-02-16 15:29:30 +01:00
2017-07-14 12:04:41 +02:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00