HomeFreeBSD

Fix caveat in new implementation of linprocfs_docpuinfo():

Description

Fix caveat in new implementation of linprocfs_docpuinfo():
Prevent kernel panic in case that extended-cpuid isn't supported by CPU

Reviewed by: kib, ngie, trasz
Approved by: trasz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D11294

Details

Provenance
mmokhiAuthored on
Reviewer
kib
Differential Revision
Restricted Differential Revision
Parents
rS320264: Check the length of a COOKIE chunk before accessing fields in it.
Branches
Unknown
Tags
Unknown