Page MenuHomeFreeBSD

Check that ifma_protospec != NULL in inm_lookup
ClosedPublic

Authored by shurd on May 15 2018, 2:14 AM.
Tags
None
Referenced Files
F83079270: D15440.diff
Sun, May 5, 11:56 PM
Unknown Object (File)
Tue, Apr 30, 10:46 PM
Unknown Object (File)
Tue, Apr 30, 10:38 PM
Unknown Object (File)
Tue, Apr 30, 10:13 PM
Unknown Object (File)
Tue, Apr 30, 8:05 PM
Unknown Object (File)
Sep 23 2023, 11:02 AM
Unknown Object (File)
Sep 7 2023, 10:20 AM
Unknown Object (File)
Sep 7 2023, 10:19 AM
Subscribers

Details

Summary

If ifma_protospec is NULL when inm_lookup() is called, there
is a dereference in a NULL struct pointer. This ensures that struct is
not NULL before comparing the address.

Test Plan

Have reporter test to ensure crash is fixed, beat on IGMP and
ensure the panic cannot be reproduced.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16594
Build 16506: arc lint + arc unit