summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2015-12-18 15:10:09 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:20 -0600
commit4bef0791822b7340b1104d591d8471b5e15433e0 (patch)
tree641a421a86e5292263b290ef2001d74afad1fd1f /tests
parentdceb5ae4a7a1592c0bcf3464f0a7a6d7b0afa9fd (diff)
downloadhqemu-4bef0791822b7340b1104d591d8471b5e15433e0.zip
hqemu-4bef0791822b7340b1104d591d8471b5e15433e0.tar.gz
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 'tests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud