qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 13/22] virtio-9p: avoid unwarranted use of strnc


From: Jim Meyering
Subject: Re: [Qemu-devel] [PATCH 13/22] virtio-9p: avoid unwarranted use of strncpy
Date: Wed, 09 May 2012 16:19:04 +0200

Aneesh Kumar K.V wrote:
> Jim Meyering <address@hidden> writes:
>
>> From: Jim Meyering <address@hidden>
>>
>> The use of strncpy in pt_listxattr is unnecessary, since we
>> know that the NUL-terminated source bytes fit in the destination
>> buffer.  Use memcpy in place of strncpy.
>>
>> Signed-off-by: Jim Meyering <address@hidden>
>
> Fold this with Patch 11 ?
>
> Reviewed-by: Aneesh Kumar K.V <address@hidden>

Thanks for the reviews.
I've noted the Reviewed-by: and merged those three into one.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]