From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW5Gi-00022G-RB for qemu-devel@nongnu.org; Wed, 17 Feb 2016 11:48:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW5Gf-0003rU-M0 for qemu-devel@nongnu.org; Wed, 17 Feb 2016 11:48:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW5Gf-0003rP-Gg for qemu-devel@nongnu.org; Wed, 17 Feb 2016 11:47:57 -0500 From: marcandre.lureau@redhat.com Date: Wed, 17 Feb 2016 17:47:50 +0100 Message-Id: <1455727675-20625-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/5] qga: win32 guest-set-user-password improvements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , lersek@redhat.com, mdroth@linux.vnet.ibm.com From: Marc-Andr=C3=A9 Lureau Hi, Laszlo Ersek pointed out a few worthy improvements to the win32 guest-set-user-password command. Marc-Andr=C3=A9 Lureau (5): qga: use more idiomatic qemu-style eol operators qga: use size_t for wcslen() return value qga: use wide-chars constants for wchar_t comparisons qga: fix off-by-one length check qga: check utf8-to-utf16 conversion qga/commands-win32.c | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) --=20 2.5.0