On 04/04/18 12:11, Paul Durrant wrote: >> -----Original Message----- >> From: Wei Liu [mailto:wei.l...@citrix.com] >> Sent: 04 April 2018 12:03 >> To: Xen-devel <xen-devel@lists.xenproject.org> >> Cc: Wei Liu <wei.l...@citrix.com>; Jan Beulich <jbeul...@suse.com>; >> Andrew Cooper <andrew.coop...@citrix.com>; Paul Durrant >> <paul.durr...@citrix.com> >> Subject: [PATCH] x86/hvm/ioreq: fix out of bounds access in error path >> >> It is possible to call the error path with i pointing beyond the end >> of the array. >> >> There is another bug that if there is already a default ioreq server, >> the code will actually sets the element to NULL, hence leaking memory. >> >> Move setting NULL to where it is needed. >> >> Coverity-ID: 1433777 >> Signed-off-by: Wei Liu <wei.l...@citrix.com> > Reviewed-by: Paul Durrant <paul.durr...@citrix.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel