Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2017 16:19:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 218911] [uma] Memory corruption with certain item sizes
Message-ID:  <bug-218911-8-ePfkS9VZdI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218911-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218911-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=218911

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
This looks reasonable to me too.

I note that the assignment keg->uk_slabsize = keg->uk_ppera * PAGE_SIZE will
overflow when uk_ppera >= 16. This field isn't actually used after the keg is
constructed, so a different solution may be to remove uk_slabsize and make
uk_pgoff 32 bits wide.

-- 
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-218911-8-ePfkS9VZdI>