diff options
| author | Stefano Stabellini | 2015-12-18 16:10:09 +0100 |
|---|---|---|
| committer | Stefano Stabellini | 2015-12-18 16:10:09 +0100 |
| commit | 7ea11bf376aea4bf8340eb363de9777c7f93e556 (patch) | |
| tree | 64f99103ff5838afd549d7edc7da01dc6032f23c /include/exec | |
| parent | xen/blkif: Avoid double access to src->nr_segments (diff) | |
| download | qemu-7ea11bf376aea4bf8340eb363de9777c7f93e556.tar.gz qemu-7ea11bf376aea4bf8340eb363de9777c7f93e556.tar.xz qemu-7ea11bf376aea4bf8340eb363de9777c7f93e556.zip | |
xenfb: avoid reading twice the same fields from the shared page
Reading twice the same field could give the guest an attack of
opportunity. In the case of event->type, gcc could compile the switch
statement into a jump table, effectively ending up reading the type
field multiple times.
This is part of XSA-155.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
