Summary: | sysctl(8) suffers a multiplication overflow when formatting vm.vmtotal | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Vitaly Magerya <vmagerya> | ||||
Component: | bin | Assignee: | Alan Somers <asomers> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | asomers | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | 10.0-RELEASE | Flags: | asomers:
mfc-stable10+
|
||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Vitaly Magerya
2015-04-24 19:05:10 UTC
A commit references this bug: Author: asomers Date: Fri Jun 24 14:58:38 UTC 2016 New revision: 302174 URL: https://svnweb.freebsd.org/changeset/base/302174 Log: Fix "sysctl vm.vmtotal" output on machines with > 2TB virtual memory sbin/sysctl/sysctl.c Fix integer overflows in printf format strings PR: 199673 Submitted by: Vitaly Magerya Reviewed by: cem Approved by: re (marius) MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6941 Changes: head/sbin/sysctl/sysctl.c A commit references this bug: Author: asomers Date: Tue Jul 12 22:19:25 UTC 2016 New revision: 302688 URL: https://svnweb.freebsd.org/changeset/base/302688 Log: MFC r302174 Fix "sysctl vm.vmtotal" output on machines with > 2TB virtual memory sbin/sysctl/sysctl.c Fix integer overflows in printf format strings PR: 199673 Changes: _U stable/10/ stable/10/sbin/sysctl/sysctl.c |