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
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
Unknown Object (File)
Sep 7 2023, 10:18 AM
Unknown Object (File)
Sep 1 2023, 8:35 PM
Unknown Object (File)
Jun 27 2023, 10:00 PM
Unknown Object (File)
Jun 27 2023, 10:00 PM
Unknown Object (File)
Jun 27 2023, 9:55 PM
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 Not Applicable
Unit
Tests Not Applicable