Re: [PATCH 0/2] Avoid memcpy with NULL argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/25/22 13:01, Peter Krempa wrote:
> Behaviour is undefined per C standard.
> 
> Peter Krempa (2):
>   virNetMessageEncodePayloadRaw: Tolerate empty 'data'
>   virNetMessageEncodePayloadEmpty: Replace by
>     virNetMessageEncodePayloadRaw(msg, NULL, 0)
> 
>  src/rpc/virkeepalive.c        |  2 +-
>  src/rpc/virnetmessage.c       | 76 ++++++++++++++---------------------
>  src/rpc/virnetmessage.h       |  2 -
>  src/rpc/virnetserverprogram.c |  9 +----
>  4 files changed, 34 insertions(+), 55 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux