Skip to content

Commit

Permalink
Fix null pointer dereference in IGMP
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Sep 5, 2023
1 parent d7d62fb commit 531dc03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/pico_igmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ static int pico_igmp_timer_is_running(struct igmp_timer *t)
test.type = t->type;
test.mcast_link = t->mcast_link;
test.mcast_group = t->mcast_group;
if (!t->stack)
return 0;
timer = pico_tree_findKey(&t->stack->IGMPTimers, &test);
if (timer)
return 1;
Expand Down

0 comments on commit 531dc03

Please sign in to comment.