[PATCH 2/2] net/virtio: fix fortify memcpy warning

Thomas Monjalon thomas at monjalon.net
Tue May 28 23:33:56 CEST 2024


21/05/2024 03:01, Stephen Hemminger:
> If fortify is enabled, it will generate a warning if memcpy
> src is NULL even if size is zero. This happens if the MP message
> sync is called with no file descriptors.
> 
> Bugzilla ID 1446
> Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer")

    Bugzilla ID: 1446
    Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer")
    Cc: stable at dpdk.org

> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Series applied quickly as it is blocking compilation on recent Ubuntu.




More information about the dev mailing list