[libvirt] [PATCH 1/1] virStrncpy: fix to successfully copy empty string

Martin Kletzander mkletzan at redhat.com
Mon Sep 16 19:13:23 UTC 2019


On Mon, Sep 16, 2019 at 05:03:23PM +0300, Nikolay Shirokovskiy wrote:
>After [1] we got failure on attempt to copy empty string.
>Before the patch empty string was copied successfuly.
>Restore the original behaviour.
>
>[1] 7d70a63b util: Improve virStrncpy() implementation
>
>Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
>---
> src/util/virstring.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Martin Kletzander <mkletzan at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190916/86045243/attachment-0001.sig>


More information about the libvir-list mailing list