qemu/tests
Christian Schoenebeck f91ce58cb2 tests/9p: fix potential leak in v9fs_rreaddir()
Free allocated directory entries in v9fs_rreaddir() if argument
`entries` was passed as NULL, to avoid a memory leak. It is
explicitly allowed by design for `entries` to be NULL. [1]

[1] https://lore.kernel.org/all/1690923.g4PEXVpXuU@silver

Reported-by: Coverity (CID 1487558)
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <E1psh5T-0002XN-1C@lizzy.crudebyte.com>
2023-05-16 16:21:54 +02:00
..
avocado tests/avocado: Add LoongArch machine start test 2023-05-15 19:09:33 +08:00
bench util: import GTree as QTree 2023-03-28 15:23:10 -07:00
data bios-tables-test: use 128M numa nodes on aarch64 2023-03-20 09:59:25 +01:00
decode
docker tests/docker: bump the xtensa base to debian:11-slim 2023-05-10 15:58:05 +01:00
fp tests: make fp-test less chatty when running from test suite 2023-03-01 10:31:28 +00:00
guest-debug tests/guest-debug: better handle gdb crashes 2022-04-20 16:04:20 +01:00
image-fuzzer
include
keys
lcitool .gitlab-ci.d/cirrus: Drop the CI job for compiling with FreeBSD 12 2023-04-27 14:58:23 +01:00
migration hw/misc/sga: Remove the deprecated "sga" device 2023-02-14 09:02:42 +01:00
multiboot
perf/block/qcow2
plugin tests/plugins: add instruction matching to libinsn.so 2022-02-09 12:08:42 +00:00
qapi-schema qapi: Relax doc string @name: description indentation rules 2023-05-10 10:00:40 +02:00
qemu-iotests block: add accounting for zone append operation 2023-05-15 08:18:10 -04:00
qtest tests/9p: fix potential leak in v9fs_rreaddir() 2023-05-16 16:21:54 +02:00
rocker
tcg tests: tcg: ppc64: Add tests for Vector Extract Mask Instructions 2023-05-05 12:34:22 -03:00
tsan
uefi-test-tools
unit test-bdrv-drain: Don't modify the graph in coroutines 2023-05-10 14:16:53 +02:00
vm tests/vm/freebsd: Update to FreeBSD 13.2 2023-04-20 11:28:16 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests/requirements.txt: bump up avocado-framework version to 101.0 2023-04-27 14:57:22 +01:00
meson.build meson: create have_vhost_* variables 2022-05-07 07:46:58 +02:00
requirements.txt tests/requirements.txt: bump up avocado-framework version to 101.0 2023-04-27 14:57:22 +01:00
test-qht-par.c
vhost-user-bridge.c error handling: Use RETRY_ON_EINTR() macro where applicable 2023-01-09 13:50:47 +01:00