HomeFreeBSD

Fix an off-by-one error by adding proper range checks when parsing the

Description

Fix an off-by-one error by adding proper range checks when parsing the
HDA association descriptors. This fixes a crash during device probe
for some HDA PCI devices.

Reported by: David Wolfskill <david@catwhisker.org>
Reviewed by: mav @
MFC after: 1 week

Details

Provenance
hselaskyAuthored on
Reviewer
mav
Parents
rS283063: A miss from r283061: don't dereference NULL is pf_get_mtag() fails.
Branches
Unknown
Tags
Unknown