qemu-e2k/contrib
AlexChen eed31bc5e2 contrib/rdmacm-mux: Fix error condition in hash_tbl_search_fd_by_ifid()
When fd is not found according to ifid, the _hash_tbl_search_fd_by_ifid()
returns 0 and assigns the result to *fd, so We have to check that *fd is 0,
not that fd is 0.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: AlexChen <alex.chen@huawei.com>
Message-Id: <5F9AC6FF.4000301@huawei.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2020-12-18 20:15:42 +02:00
..
elf2dmp elf2dmp/pdb: Plug memleak in pdb_init_from_file 2020-12-13 23:56:16 +01:00
gitdm contrib/gitdm: Add more individual contributors 2020-10-27 09:53:47 +00:00
ivshmem-client contrib/: fix some comment spelling errors 2020-09-17 20:41:44 +02:00
ivshmem-server contrib/ivshmem: convert to meson 2020-08-21 06:30:11 -04:00
plugins plugins: Fix two resource leaks in setup_socket() 2020-11-16 11:07:37 +00:00
rdmacm-mux contrib/rdmacm-mux: Fix error condition in hash_tbl_search_fd_by_ifid() 2020-12-18 20:15:42 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk contrib/vhost-user-blk: avoid g_return_val_if() input validation 2020-12-09 13:04:17 -05:00
vhost-user-gpu Clean up includes 2020-12-10 17:16:44 +01:00
vhost-user-input Clean up includes 2020-12-10 17:16:44 +01:00
vhost-user-scsi libvhost-user: make it a meson subproject 2020-12-08 13:48:58 -05:00