Date: Sat, 30 Jan 2016 09:36:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206754] Out of bounds negative array index in iicrdwr Message-ID: <bug-206754-8-Fo4ViSTgQq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206754-8@https.bugs.freebsd.org/bugzilla/> References: <bug-206754-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206754 --- Comment #1 from CTurt <cturt@hardenedbsd.org> --- Potential patch is to change the type of `i` from `int` to `uint32_t` to match that of `d->nmsgs`: https://github.com/HardenedBSD/hardenedBSD-playground/commit/4cf6de4b16eda71c4ae3cbec24cf6ef054351b7b.patch However, some bound checks might be a cleaner solution. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206754-8-Fo4ViSTgQq>
