diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-03-12 13:06:00 +0000 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2014-03-17 11:44:31 +0200 |
| commit | 7f72cd235fa33f2fc7a8d1cc4d621bf7db61e9eb (patch) | |
| tree | b848ff56cf03cf8f1087b2b2fdaa6eab9468abcc /include/hw/qdev-properties.h | |
| parent | 6fffa26244737f8fd8641a21fee29bd6aa9fdff5 (diff) | |
| download | focaccia-qemu-7f72cd235fa33f2fc7a8d1cc4d621bf7db61e9eb.tar.gz focaccia-qemu-7f72cd235fa33f2fc7a8d1cc4d621bf7db61e9eb.zip | |
linux-user/signal.c: Correct error path for AArch64 do_rt_sigreturn
The error path in AArch64 do_rt_sigreturn() which fails before attempting lock_user_struct() was doing an unlock_user_struct() on an uninitialized variable. Initialize frame to NULL so we can use the same error-exit path in all cases (unlock of NULL is permitted and does nothing). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'include/hw/qdev-properties.h')
0 files changed, 0 insertions, 0 deletions