Date: Wed, 04 Jul 2018 08:55:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 229508] src/sys/arm/freescale/imx/imx_gpio.c:856: array index out of bounds ? Message-ID: <bug-229508-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229508 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@FreeBSD.org Reporter: dcb314@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 =3D 1; irq <=3D 2; irq++) { if (sc->gpio_ih[irq]) but void *gpio_ih[2]; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229508-7>