diff options
| author | Li Qiang | 2018-12-15 13:03:51 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-01-15 01:31:04 +0100 |
| commit | 82248cd45e6f82da892127c4749ae89335217e31 (patch) | |
| tree | 045fee2587d269f8d5be0d89d52b04e6ea8f3406 /linux-user/uaccess.c | |
| parent | qemu: avoid memory leak while remove disk (diff) | |
| download | qemu-82248cd45e6f82da892127c4749ae89335217e31.tar.gz qemu-82248cd45e6f82da892127c4749ae89335217e31.tar.xz qemu-82248cd45e6f82da892127c4749ae89335217e31.zip | |
tests: vhost-user-test: initialize 'fd' in chr_read
Currently when processing VHOST_USER_SET_VRING_CALL
if 'qemu_chr_fe_get_msgfds' get no fd, the 'fd' will
be a stack uninitialized value.
Signed-off-by: Li Qiang <liq3ea@163.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-user/uaccess.c')
0 files changed, 0 insertions, 0 deletions
