From: Ian Campbell <ian.campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xenproject.org,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Roger Pau Monne <roger.pau@citrix.com>
Subject: Re: [PATCH 2/2] libxc: fix xc_dom_load_elf_symtab
Date: Wed, 17 Jun 2015 12:14:15 +0100 [thread overview]
Message-ID: <1434539655.13744.327.camel@citrix.com> (raw)
In-Reply-To: <20150617095624.GF1813@zion.uk.xensource.com>
On Wed, 2015-06-17 at 10:56 +0100, Wei Liu wrote:
> On Thu, Jun 11, 2015 at 06:05:20PM +0200, Roger Pau Monne wrote:
> > xc_dom_load_elf_symtab was incorrectly trying to perform the same
> > calculations already done in elf_parse_bsdsyms when load == 0 is used.
> > Instead of trying to repeat the calculations, just trust what
> > elf_parse_bsdsyms has already accounted for.
> >
> > This also simplifies the code by allowing the non-load case to return
> > earlier.
> >
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> > Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> > Cc: Ian Campbell <ian.campbell@citrix.com>
> > Cc: Wei Liu <wei.liu2@citrix.com>
>
> Acked-by: Wei Liu <wei.liu2@citrix.com>
Applied, thanks (#1 was committed by Jan already).
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2015-06-17 11:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 16:05 [PATCH 0/2] Fix BSD symtab/strtab loading Roger Pau Monne
2015-06-11 16:05 ` [PATCH 1/2] libelf: fix elf_parse_bsdsyms call Roger Pau Monne
2015-06-11 16:05 ` [PATCH 2/2] libxc: fix xc_dom_load_elf_symtab Roger Pau Monne
2015-06-17 9:56 ` Wei Liu
2015-06-17 11:14 ` Ian Campbell [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=1434539655.13744.327.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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 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.