On 31/01/2019 14:26, Jan Beulich wrote: > Array indexes used in the I/O port read/write emulation functions are > derived from guest controlled values. Where this is not already done, > restrict their ranges to limit the side effects of speculative execution. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Reviewed-by: Andrew Cooper <andrew.coop...@citrix.com> Amazingly, this makes each of the functions shorter. I was concerned that the compiler could optimise away the !!, but these are all external calls and the compiler can't actually prove the valid ranges of irq. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel