xemu/linux-user
Alexander Graf 962b289ef3 linux-user: fix QEMU_STRACE=1 segfault
While debugging some issues with QEMU_STRACE I stumbled over segmentation
faults that were pretty reproducible. Turns out we tried to treat a
normal return value as errno, resulting in an access over array boundaries
for the resolution.

Fix this by allowing failure to resolve invalid errnos into strings.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2012-02-02 17:51:20 +02:00
..
2012-02-02 17:51:19 +02:00
2010-10-05 13:53:56 -05:00
2011-05-08 10:02:18 +01:00
2012-02-02 17:51:19 +02:00
2011-04-26 10:15:40 +03:00