From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP9RS-0001v5-KU for qemu-devel@nongnu.org; Tue, 20 Nov 2018 12:04:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP9RR-0001Yx-PB for qemu-devel@nongnu.org; Tue, 20 Nov 2018 12:04:02 -0500 References: <20181120152753.10463-1-marcandre.lureau@redhat.com> <20181120152753.10463-4-marcandre.lureau@redhat.com> From: Eric Blake Message-ID: Date: Tue, 20 Nov 2018 11:03:37 -0600 MIME-Version: 1.0 In-Reply-To: <20181120152753.10463-4-marcandre.lureau@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-3.1? 3/3] acpi: fix stringop-truncation warnings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Juan Quintela , Jeff Cody , "Michael S. Tsirkin" , "Dr. David Alan Gilbert" , Max Reitz , Igor Mammedov , Liu Yuan On 11/20/18 9:27 AM, Marc-Andr=C3=A9 Lureau wrote: > Replace strcpy() that don't mind about having dest not ending with NUL > char by qemu strpadcpy(). >=20 > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > hw/acpi/aml-build.c | 6 ++++-- > hw/acpi/core.c | 13 +++++++------ > 2 files changed, 11 insertions(+), 8 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org