[libvirt PATCH v2 08/10] tests: Prevent malloc with size 0

Peter Krempa pkrempa at redhat.com
Mon Feb 1 13:28:18 UTC 2021


On Mon, Feb 01, 2021 at 13:42:05 +0100, Tim Wiederhake wrote:
> Found by clang-tidy's "clang-analyzer-optin.portability.UnixAPI" check.
> 
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---
>  tests/commandhelper.c | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list