[Bug 198500] [gjournal] sysctl kern.geom.journal.cache.limit 32 bit integer overflow
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 10 17:37:18 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198500
Bug ID: 198500
Summary: [gjournal] sysctl kern.geom.journal.cache.limit 32 bit
integer overflow
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: eugen at grosbein.net
sysctl kern.geom.journal.cache.limit shows negative value for FreeBSD/amd64
system having over 4GB RAM. That's due to:
1) the limit being u_int instead of u_long like vm.kmem_size (the limit is 1/2
of vm.kmem_size by default for amd64);
2) sysctl handler g_journal_cache_limit_sysctl() using signed int instead of
long.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list