Searched hist:"82248 cd45e6f82da892127c4749ae89335217e31" (Results 1 – 1 of 1) sorted by relevance
/qemu/tests/qtest/ |
H A D | vhost-user-test.c | 82248cd45e6f82da892127c4749ae89335217e31 Sat Dec 15 12:03:51 UTC 2018 Li Qiang <liq3ea@163.com> 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>
|