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

[Xen-changelog] [xen master] xsplice: Missing if ( sec )



commit 356b5512b0dc9ce81a8007983a110de9798206dc
Author:     Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
AuthorDate: Mon May 2 08:59:43 2016 -0400
Commit:     Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
CommitDate: Mon May 2 09:18:38 2016 -0400

    xsplice: Missing if ( sec )
    
    Add the missing conditional.
    
    Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
    Reported-by: Jan Beulich <JBeulich@xxxxxxxx>
    Acked-by: Jan Beulich <JBeulich@xxxxxxxx>
    Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 xen/common/xsplice.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/common/xsplice.c b/xen/common/xsplice.c
index 777faa7..c9fc53a 100644
--- a/xen/common/xsplice.c
+++ b/xen/common/xsplice.c
@@ -548,6 +548,7 @@ static int prepare_payload(struct payload *payload,
     }
 
     sec = xsplice_elf_sec_by_name(elf, ELF_XSPLICE_DEPENDS);
+    if ( sec )
     {
         n = sec->load_addr;
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

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