[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: |
Julia Suvorova |
Subject: |
Re: [PATCH] hw/rdma/vmw/pvrdma_dev_ring: Replace strncpy with pstrcpy |
Date: |
Fri, 20 Mar 2020 18:30:02 +0100 |
On Fri, Mar 20, 2020 at 4:20 PM Stefan Hajnoczi <address@hidden> wrote:
>
> 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.
Oops, sorry, I guess I didn't search carefully enough for the solution.
> Reviewed-by: Stefan Hajnoczi <address@hidden>