commit | 82248cd45e6f82da892127c4749ae89335217e31 | [log] [tgz] |
---|---|---|
author | Li Qiang <liq3ea@163.com> | Sat Dec 15 04:03:51 2018 -0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Jan 14 19:31:04 2019 -0500 |
tree | 045fee2587d269f8d5be0d89d52b04e6ea8f3406 | |
parent | a5390d936714482ac5996e1635a6ffd9c3c133df [diff] |
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>