Date: Wed, 04 Jul 2018 08:47:36 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 229507] src/sys/arm/cavium/cns11xx/econa.c:392: array index out of range ? Message-ID: <bug-229507-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229507 Bug ID: 229507 Summary: src/sys/arm/cavium/cns11xx/econa.c:392: array index out of range ? 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/cavium/cns11xx/econa.c:392]: (error) Array 'intc_trigger_table[= 25]' accessed at index 31, which is out of bounds. Source code is for (i =3D 0; i < 32; i++) { if (intc_trigger_table[i].mode !=3D INTC_TRIGGER_UNKNOWN) { Compiling this code with compiler flag -D_FORTIFY_SOURCE=3D2 would also find this problem. --=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-229507-7>