From: Blue Swirl <blauwirbel@gmail.com>
To: Artyom Tarasenko <atar4qemu@googlemail.com>
Cc: qemu-devel@nongnu.org, Artyom Tarasenko <atar4qemu@gmail.com>
Subject: [Qemu-devel] Re: sparc32 fix np dereference in do_unassigned_access
Date: Sat, 23 Jan 2010 08:14:30 +0000 [thread overview]
Message-ID: <f43fc5581001230014r62582ac6r576550df7d012249@mail.gmail.com> (raw)
In-Reply-To: <1264195913-10897-1-git-send-email-atar4qemu@google.com>
Thanks, applied.
On Fri, Jan 22, 2010 at 9:31 PM, Artyom Tarasenko
<atar4qemu@googlemail.com> wrote:
> fix a potential null pointer dereference introduced in
> commit 576c2cdc767ab9e2dc038fa4c99f22e53287a3de
>
> Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
> ---
> diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
> index ce8c6f1..eb4f5a4 100644
> --- a/target-sparc/op_helper.c
> +++ b/target-sparc/op_helper.c
> @@ -3761,13 +3761,14 @@ void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
> else
> raise_exception(TT_DATA_ACCESS);
> }
> - env = saved_env;
>
> /* flush neverland mappings created during no-fault mode,
> so the sequential MMU faults report proper fault types */
> if (env->mmuregs[0] & MMU_NF) {
> tlb_flush(env, 1);
> }
> +
> + env = saved_env;
> }
> #else
> void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
>
prev parent reply other threads:[~2010-01-23 8:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-22 21:31 [Qemu-devel] sparc32 fix np dereference in do_unassigned_access Artyom Tarasenko
2010-01-23 8:14 ` Blue Swirl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f43fc5581001230014r62582ac6r576550df7d012249@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=atar4qemu@gmail.com \
--cc=atar4qemu@googlemail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).