aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Utility/(developers-only)
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-08-11 16:42:41 +0000
committerMark Johnston <markj@FreeBSD.org>2026-08-11 17:02:40 +0000
commitb9db5a5b16477863654f92ec653e8464528ef981 (patch)
treec5e83e156639decee85db8744d60add688b4b8aa /lldb/source/Plugins/Process/Utility/(developers-only)
parentb7b73d0fc1f0969e7e53d1a967d4ecc8aef2d35d (diff)
in_mcast: Fix uninitialized variable usage in inm_merge()HEADmain
When the first loop in inm_merge() hits an error, generally because it hit some limit on the number of source filters for a multicast group, inm_merge() tries to atomically roll back changes to the group source filter list. To roll back, it iterates over the global source filter list for the multicast group, starting at the last entry that we updated ("nims"). But, if we have not yet updated any entries, this variable is uninitialized. Initialize it to NULL, so that RB_FOREACH_REVERSE_FROM doesn't visit any source filters in this case. All of the above applies to the v6 case. Reported by: Daniel Birtwhistle MFC after: 1 week Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/(developers-only)')
0 files changed, 0 insertions, 0 deletions