summaryrefslogtreecommitdiffstats
path: root/fsdev/qemu-fsdev-opts.c
diff options
context:
space:
mode:
authorStefano Stabellini2017-06-27 23:45:34 +0200
committerStefano Stabellini2017-06-27 23:45:34 +0200
commitb0ac694fdb9113b973048ebe5619927e74965f61 (patch)
tree1cb8cb236d78e1d5395206fbd3fae78f99043a2a /fsdev/qemu-fsdev-opts.c
parentMerge remote-tracking branch 'remotes/edgar/tags/edgar/mmio-exec-v2.for-upstr... (diff)
downloadqemu-b0ac694fdb9113b973048ebe5619927e74965f61.tar.gz
qemu-b0ac694fdb9113b973048ebe5619927e74965f61.tar.xz
qemu-b0ac694fdb9113b973048ebe5619927e74965f61.zip
xen/disk: don't leak stack data via response ring
Rather than constructing a local structure instance on the stack, fill the fields directly on the shared ring, just like other (Linux) backends do. Build on the fact that all response structure flavors are actually identical (aside from alignment and padding at the end). This is XSA-216. Reported by: Anthony Perard <anthony.perard@citrix.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org> Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'fsdev/qemu-fsdev-opts.c')
0 files changed, 0 insertions, 0 deletions