Skip to content

Commit

Permalink
Merge pull request #16929 from Jafaral/pim-oil-fix
Browse files Browse the repository at this point in the history
pimd: fix a possible use after free bug when doing pim trace
  • Loading branch information
donaldsharp authored Sep 26, 2024
2 parents 51b19f9 + 7bd03cf commit f610ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pimd/pim_tib.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,5 @@ void tib_sg_gm_prune(struct pim_instance *pim, pim_sgaddr sg,
*/
pim_ifchannel_local_membership_del(oif, &sg);

pim_channel_oil_del(*oilp, __func__);
*oilp = pim_channel_oil_del(*oilp, __func__);
}

0 comments on commit f610ca5

Please sign in to comment.