[libvirt PATCH 05/11] Replace bzero() with memset()

Peter Krempa pkrempa at redhat.com
Thu Jan 28 10:45:07 UTC 2021


On Thu, Jan 28, 2021 at 11:24:35 +0100, Tim Wiederhake wrote:
> This was found by clang-tidy's
> "clang-analyzer-security.insecureAPI.bzero" check.

Any reasoning behind why bzero is bad?


> 
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---
>  src/util/virarptable.c | 2 +-
>  tests/virpcimock.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)




More information about the libvir-list mailing list