Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206754

--- Comment #1 from CTurt <cturt@hardenedbsd.org> ---
Potential patch is to change the type of `i` from `int` to `uint32_t` to ma=
tch
that of `d->nmsgs`:

https://github.com/HardenedBSD/hardenedBSD-playground/commit/4cf6de4b16eda7=
1c4ae3cbec24cf6ef054351b7b.patch

However, some bound checks might be a cleaner solution.

--=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-206754-8-Fo4ViSTgQq>