[Bug 206754] Out of bounds negative array index in iicrdwr

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 30 09:36:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206754

--- Comment #1 from CTurt <cturt at 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.


More information about the freebsd-bugs mailing list