[Bug 229508] src/sys/arm/freescale/imx/imx_gpio.c:856: array index out of bounds ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 4 08:55:55 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229508
Bug ID: 229508
Summary: src/sys/arm/freescale/imx/imx_gpio.c:856: array index
out of bounds ?
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: dcb314 at hotmail.com
src/sys/arm/freescale/imx/imx_gpio.c:856]: (error) Array 'sc->gpio_ih[2]'
accessed at index 2, which is out of bounds.
Source code is
for (irq = 1; irq <= 2; irq++) {
if (sc->gpio_ih[irq])
but
void *gpio_ih[2];
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list