[Bug 209661] amd64_set_ioperm overflow

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 20 18:53:06 UTC 2016


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

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #3 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to CTurt from comment #2)
Suppose that uap->start is > 0x80000000, and uap->length is large enough so
that the sum appears under the 3 pages * 8.  Then negative i falls under the
loop condition and causes wrong accesses.

WRT return of success in this case, right, thank you for noting, I will fix it
as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list