qemu/contrib
Stefan Hajnoczi a606169aca contrib/vhost-user-input: avoid g_return_val_if() input validation
Do not validate input with g_return_val_if(). This API is intended for
checking programming errors and is compiled out with -DG_DISABLE_CHECKS.

Use an explicit if statement for input validation so it cannot
accidentally be compiled out.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201118091644.199527-4-stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-12-09 13:04:17 -05:00
..
elf2dmp elf2dmp: Fix memory leak on main() error paths 2020-10-27 16:48:40 +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: convert to Meson 2020-08-21 06:30:10 -04: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 contrib/vhost-user-gpu: avoid g_return_val_if() input validation 2020-12-09 13:04:17 -05:00
vhost-user-input contrib/vhost-user-input: avoid g_return_val_if() input validation 2020-12-09 13:04:17 -05:00
vhost-user-scsi libvhost-user: make it a meson subproject 2020-12-08 13:48:58 -05:00