diff options
author | 2016-10-17 14:13:58 +0200 | |
---|---|---|
committer | 2016-10-17 14:13:58 +0200 | |
commit | eb687602853b4ae656e9236ee4222609f3a6887d (patch) | |
tree | 875f836b8c6eca1e69fb32ab9ead7f22f0078d13 /util/qemu-thread-posix.c | |
parent | virtio-9p: add reset handler (diff) | |
download | qemu-eb687602853b4ae656e9236ee4222609f3a6887d.tar.xz qemu-eb687602853b4ae656e9236ee4222609f3a6887d.zip |
9pfs: fix information leak in xattr read
9pfs uses g_malloc() to allocate the xattr memory space, if the guest
reads this memory before writing to it, this will leak host heap memory
to the guest. This patch avoid this.
Signed-off-by: Li Qiang <liqiang6-s@360.cn>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions