diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-12-18 15:10:09 +0000 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2016-03-15 12:20:35 -0500 |
commit | ff083d3c3bc3e3e0194a8d1bd0419121edc054fc (patch) | |
tree | 57d3d22e73d1bf5f3df52c3bb9e034528f240776 /hw/sparc | |
parent | 4d59e78dfe6c1df181b54ee90f273de7d4cdfe86 (diff) |
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>
(cherry picked from commit 7ea11bf376aea4bf8340eb363de9777c7f93e556)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/sparc')
0 files changed, 0 insertions, 0 deletions