From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8qOt-0000EW-3T for qemu-devel@nongnu.org; Mon, 21 Nov 2016 10:20:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8qOq-0000C8-06 for qemu-devel@nongnu.org; Mon, 21 Nov 2016 10:20:55 -0500 Received: from indium.canonical.com ([91.189.90.7]:32879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8qOp-0000Bi-QO for qemu-devel@nongnu.org; Mon, 21 Nov 2016 10:20:51 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1c8qOn-0004m8-Ho for ; Mon, 21 Nov 2016 15:20:49 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id B5A082E80C9 for ; Mon, 21 Nov 2016 15:20:45 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Nov 2016 15:15:23 -0000 From: Thomas Huth <1643537@bugs.launchpad.net> Reply-To: Bug 1643537 <1643537@bugs.launchpad.net> Sender: bounces@canonical.com References: <20161121121617.5146.1948.malonedeb@wampee.canonical.com> Message-Id: <20161121151523.8801.52650.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1643537] Re: target-ppc/int_helper.c: 2 * bad array index List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Thanks for the bug report! Jose posted a patch: marc.info/?i=3D1479740113-26834-1-git-send-email-joserz@linux.vnet.ibm.com ** Changed in: qemu Status: New =3D> Confirmed -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1643537 Title: target-ppc/int_helper.c: 2 * bad array index Status in QEMU: Confirmed Bug description: 1. [qemu/target-ppc/int_helper.c:2575]: (error) Array 'reg.u16[8]' accessed at index 8, which is out of bounds. Source code is return reg->u16[8 - n]; and qemu/target-ppc/cpu.h: uint16_t u16[8]; but at least once, n is zero, for example line 2725 in the int_helper.c file: uint16_t sgnb =3D get_national_digit(b, 0); 2. [qemu/target-ppc/int_helper.c:2584]: (error) Array 'reg.u16[8]' accessed at index 8, which is out of bounds. Duplicate To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1643537/+subscriptions