Received: from eggs.gnu.org ([2001:4830:134:3::10]:38358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8nkb-0004Qk-Ev for qemu-devel@nongnu.org; Mon, 21 Nov 2016 07:31:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8nkY-0002L2-Bg for qemu-devel@nongnu.org; Mon, 21 Nov 2016 07:31:09 -0500 Received: from indium.canonical.com ([91.189.90.7]:36995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8nkY-0002KU-63 for qemu-devel@nongnu.org; Mon, 21 Nov 2016 07:31:06 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1c8nkV-0002TH-Eq for ; Mon, 21 Nov 2016 12:31:03 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 092192E81A4 for ; Mon, 21 Nov 2016 12:31:00 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 21 Nov 2016 12:16:17 -0000 From: dcb <1643537@bugs.launchpad.net> Reply-To: Bug 1643537 <1643537@bugs.launchpad.net> Sender: bounces@canonical.com Message-Id: <20161121121617.5146.1948.malonedeb@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1643537] [NEW] 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 Public bug reported: 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 ** Affects: qemu Importance: Undecided Status: New -- = 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: New 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