diff options
| author | Wolfgang Schildbach | 2010-12-06 16:06:05 +0100 |
|---|---|---|
| committer | Riku Voipio | 2011-01-07 17:20:48 +0100 |
| commit | 2e8785acc601f72dd10ce19929c455689fc2649d (patch) | |
| tree | 3ed47324b6182cf419fbde9de0db436dcb57fae2 /linux-user | |
| parent | linux-user: Fix incorrect NaN detection in ARM nwfpe emulation (diff) | |
| download | qemu-2e8785acc601f72dd10ce19929c455689fc2649d.tar.gz qemu-2e8785acc601f72dd10ce19929c455689fc2649d.tar.xz qemu-2e8785acc601f72dd10ce19929c455689fc2649d.zip | |
Fix commandline handling for ARM semihosted executables
Use the copy of the command line that loader_build_argptr() sets up in guest
memory as the command line to return from the ARM SYS_GET_CMDLINE semihosting
call. Previously we were using a pointer to memory which had already been
freed before the guest program started.
This fixes https://bugs.launchpad.net/qemu/+bug/673613 .
Signed-off-by: Wolfgang Schildbach <wschi@dolby.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
