[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1643537] Re: target-ppc/int_helper.c: 2 * bad array in
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [Bug 1643537] Re: target-ppc/int_helper.c: 2 * bad array index |
Date: |
Mon, 21 Nov 2016 15:15:23 -0000 |
Thanks for the bug report! Jose posted a patch:
marc.info/address@hidden
** Changed in: qemu
Status: New => 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 = 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