summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2017-04-24 21:35:02 +0000
committerbrooks <brooks@FreeBSD.org>2017-04-24 21:35:02 +0000
commitb14e85d2ea3800b9e3e8978f553b877a5792918a (patch)
treed052660aeb7b200f23e8588cd901e9b70899ce8d /lib/libc
parentcf4ab84469a788112504e003f9d924a9b6341c96 (diff)
downloadFreeBSD-src-b14e85d2ea3800b9e3e8978f553b877a5792918a.zip
FreeBSD-src-b14e85d2ea3800b9e3e8978f553b877a5792918a.tar.gz
MFC r316766:
Correct an out of bounds read with HN_AUTOSCALE and very large numbers. The maximum scale is 6 (K, M, G, T, P, E) (B is 0). Overly large explict scales were checked correctly, but for sufficently large numbers HN_AUTOSCALE would get to 7 resulting in an out of bounds read. Found with humanize_number_test and CHERI bounds checking. Reviewed by: emaste Obtained from: CheriBSD Sponsored by: DARPA, AFRL
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud