[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2/2] libxc: fix xc_dom_load_elf_symtab



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@xxxxxxxxxx>
> Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Wei Liu <wei.liu2@xxxxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.