From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpqQG-0001LR-SH for qemu-devel@nongnu.org; Wed, 15 Aug 2018 03:40:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpqQF-00079E-RP for qemu-devel@nongnu.org; Wed, 15 Aug 2018 03:40:52 -0400 Received: from indium.canonical.com ([91.189.90.7]:52226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpqQF-00077D-Ad for qemu-devel@nongnu.org; Wed, 15 Aug 2018 03:40:51 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1fpqQE-0006e2-EI for ; Wed, 15 Aug 2018 07:40:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 69D3D2E800F for ; Wed, 15 Aug 2018 07:40:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 15 Aug 2018 07:28:18 -0000 From: Thomas Huth <1753437@bugs.launchpad.net> Reply-To: Bug 1753437 <1753437@bugs.launchpad.net> Sender: bounces@canonical.com References: <152024589806.7327.9844777027357521578.malonedeb@gac.canonical.com> Message-Id: <153431809953.24330.16373174678084087439.launchpad@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1753437] Re: pc-bios/s390-ccw/libc: size_t should be unsigned List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Status: Fix Committed =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1753437 Title: pc-bios/s390-ccw/libc: size_t should be unsigned Status in QEMU: Fix Released Bug description: qemu/pc-bios/s390-ccw/libc.c:82]: (style) Unsigned variable 'num_idx' can't be negative so it is unnecessary to test it. Source code is = while (num_idx >=3D 0) { but size_t num_idx =3D 1; /* account for NUL */ So there is no escape from the while loop. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1753437/+subscriptions