aboutsummaryrefslogtreecommitdiff
path: root/docs/specs
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2015-12-18 15:09:58 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2015-12-18 15:09:58 +0000
commitf9e98e5d7a67367b862941e339a98b8322fa0cea (patch)
tree8139588be82cb11f0f6d0720833d577db7b57f07 /docs/specs
parent18f49881cf8359e89396aac12f5d3cf3f8a632ba (diff)
downloadqemu-f9e98e5d7a67367b862941e339a98b8322fa0cea.zip
qemu-f9e98e5d7a67367b862941e339a98b8322fa0cea.tar.gz
qemu-f9e98e5d7a67367b862941e339a98b8322fa0cea.tar.bz2
xen/blkif: Avoid double access to src->nr_segments
src is stored in shared memory and src->nr_segments is dereferenced twice at the end of the function. If a compiler decides to compile this into two separate memory accesses then the size limitation could be bypassed. Fix it by removing the double access to src->nr_segments. This is part of XSA-155. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions