qemu-patch-raspberry4/qga
Jim Meyering 1ab516ed9b qemu-ga: prefer pstrcpy: consistently NUL-terminate ifreq.ifr_name
NUL-termination of the .ifr_name field is not required, but is fine
(and preferable to using strncpy and leaving the reader to wonder),
since the first thing the linux kernel does is to clear the last byte.
Besides, using pstrcpy here makes this setting of ifr_name consistent
with the other code (e.g., net/tap-linux.c) that does the same thing.

Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-10-05 07:58:37 -05:00
..
channel-posix.c
channel-win32.c
channel.h
commands-posix.c qemu-ga: prefer pstrcpy: consistently NUL-terminate ifreq.ifr_name 2012-10-05 07:58:37 -05:00
commands-win32.c qemu-ga: add guest-fstrim command 2012-06-21 17:59:27 -05:00
commands.c qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
guest-agent-command-state.c
guest-agent-core.h qemu-ga: align versioning with QEMU_VERSION 2012-05-15 09:17:06 -05:00
Makefile.objs build: Fix linking failure for qemu-ga 2012-07-29 08:41:53 +00:00
service-win32.c
service-win32.h