[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/rdma/vmw/pvrdma_dev_ring: Replace strncpy with pstrcpy
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] hw/rdma/vmw/pvrdma_dev_ring: Replace strncpy with pstrcpy |
Date: |
Fri, 20 Mar 2020 15:20:22 +0000 |
On Wed, Mar 18, 2020 at 02:48:49PM +0100, Julia Suvorova wrote:
> ring->name is defined as 'char name[MAX_RING_NAME_SZ]'. Replace untruncated
> strncpy with QEMU function.
> This case prevented QEMU from compiling with --enable-sanitizers.
>
> Signed-off-by: Julia Suvorova <address@hidden>
> ---
> hw/rdma/vmw/pvrdma_dev_ring.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Here is my equivalent patch
<address@hidden> but feel free to merge
this.
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature