Peter Maydell 1669add752 linux-user: Fix broken m68k signal handling on 64 bit hosts
The m68k signal frame setup code which writes the signal return
trampoline code to the stack was assuming that a 'long' was 32 bits;
on 64 bit systems this meant we would end up writing the 32 bit
(2 insn) trampoline sequence to retaddr+4,retaddr+6 instead of
the intended retaddr+0,retaddr+2, resulting in a guest crash when
it tried to execute the invalid zero-bytes at retaddr+0.
Fix by using uint32_t instead; also use uint16_t rather than short
for consistency. This fixes bug LP:1404690.

Reported-by: Michel Boaventura
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2015-01-27 22:33:57 +02:00
2015-01-26 12:26:55 +01:00
…
2014-11-14 12:15:40 +01:00
2015-01-13 11:47:56 +00:00
…
2014-06-16 13:24:35 +02:00
…
2014-06-23 11:12:28 -04:00
…
…
…
…
2015-01-07 16:16:26 +01:00
2015-01-26 12:27:05 +01:00
…
2014-10-24 12:19:11 +01:00
2014-09-26 13:37:06 -04:00
2015-01-26 12:26:55 +01:00
2014-12-10 10:31:12 +01:00
2015-01-15 10:44:13 +03:00
2014-12-12 15:48:26 +00:00
2014-05-24 00:07:29 +04:00
…
…
…
2015-01-14 10:38:57 +01:00
…
…
2014-06-05 16:10:33 +02:00
2014-12-09 21:48:34 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
710 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%