]> Git Repo - qemu.git/commit - linux-user/signal.c
linux-user/signal.c: Correct error path for AArch64 do_rt_sigreturn
authorPeter Maydell <[email protected]>
Wed, 12 Mar 2014 13:06:00 +0000 (13:06 +0000)
committerRiku Voipio <[email protected]>
Mon, 17 Mar 2014 09:44:31 +0000 (11:44 +0200)
commit7f72cd235fa33f2fc7a8d1cc4d621bf7db61e9eb
treeb848ff56cf03cf8f1087b2b2fdaa6eab9468abcc
parent6fffa26244737f8fd8641a21fee29bd6aa9fdff5
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 <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/signal.c
This page took 0.025625 seconds and 4 git commands to generate.