Re: [Qemu-devel] [PATCH v2 3/5] sockets: avoid string truncation warnings when copying UNIX path

2019-05-02 Thread Laurent Vivier
On 12/04/2019 14:16, Daniel P. Berrangé wrote: > In file included from /usr/include/string.h:494, > from include/qemu/osdep.h:101, > from util/qemu-sockets.c:18: > In function ‘strncpy’, > inlined from ‘unix_connect_saddr.isra.0’ at util/qemu-sockets.c:925:5: >

Re: [Qemu-devel] [PATCH v2 3/5] sockets: avoid string truncation warnings when copying UNIX path

2019-05-02 Thread Daniel P . Berrangé
On Thu, May 02, 2019 at 05:45:30PM +0200, Laurent Vivier wrote: > Dan, > > do you want I take this through the trivial branch queue or do you add > it into the Sockets branch queue? I'm fine with you sending it via trivial queue since there's nothing else pending for the sockets code. Regards,

Re: [Qemu-devel] [PATCH v2 3/5] sockets: avoid string truncation warnings when copying UNIX path

2019-05-02 Thread Laurent Vivier
Dan, do you want I take this through the trivial branch queue or do you add it into the Sockets branch queue? Thanks, Laurent On 12/04/2019 14:16, Daniel P. Berrangé wrote: > In file included from /usr/include/string.h:494, > from include/qemu/osdep.h:101, > fro

[Qemu-devel] [PATCH v2 3/5] sockets: avoid string truncation warnings when copying UNIX path

2019-04-12 Thread Daniel P . Berrangé
In file included from /usr/include/string.h:494, from include/qemu/osdep.h:101, from util/qemu-sockets.c:18: In function ‘strncpy’, inlined from ‘unix_connect_saddr.isra.0’ at util/qemu-sockets.c:925:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__b