]> xenbits.xensource.com Git - people/pauldu/xen.git/commit
xen: Add missing va_end() in hypercall_create_continuation()
authorJulien Grall <julien@xen.org>
Wed, 20 Nov 2019 13:37:51 +0000 (13:37 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 21 Nov 2019 15:50:01 +0000 (15:50 +0000)
commitdf7a19338a892b5cf585fd2bee8584cb15e0cace
tree9b3f0b21c56b3e884a8183ea308a3994391e344d
parent83ac5ab54bba37e2761d77584ab9e2d8a24401c9
xen: Add missing va_end() in hypercall_create_continuation()

The documentation requires va_start() to always be matched with a
corresponding va_end(). However, this is not the case in the path used
for bad format.

This was introduced by XSA-296.

Coverity-ID: 1488727
Fixes: 0bf9f8d3e3 ("xen/hypercall: Don't use BUG() for parameter checking in hypercall_create_continuation()")
Signed-off-by: Julien Grall <julien@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/arm/domain.c
xen/arch/x86/hypercall.c