From: Kip Macy <kip.macy@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] xc_ptrace.c fix
Date: Sat, 2 Jul 2005 18:07:59 -0700 [thread overview]
Message-ID: <b1fa291705070218077e176e28@mail.gmail.com> (raw)
Could you please apply the following trivial patch (yes I know, gmail
screws up whitespace). It fixes a crash in the gdbserver that can be
hit when debugging linux.
--- a/tools/libxc/xc_ptrace.c Fri Jul 1 21:25:45 2005
+++ b/tools/libxc/xc_ptrace.c Sun Jul 3 01:05:21 2005
@@ -200,7 +200,7 @@
pde_phys[cpu] >>
PAGE_SHIFT)) == NULL)
goto error_out;
}
- if ((page = pde_virt[cpu][vtopti(va)]) == 0) /* logical address */
+ if ((pde_virt[cpu] == NULL) || (page = pde_virt[cpu][vtopti(va)])
== 0) /* logical address */
goto error_out;
if (ctxt[cpu].flags & VGCF_VMX_GUEST)
page = page_array[page >> PAGE_SHIFT] << PAGE_SHIFT;
next reply other threads:[~2005-07-03 1:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-03 1:07 Kip Macy [this message]
2005-07-03 8:30 ` [PATCH] xc_ptrace.c fix Keir Fraser
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=b1fa291705070218077e176e28@mail.gmail.com \
--to=kip.macy@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.