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 12, 2023
1 parent 1c33481 commit 4fc5c7c
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 4fc5c7c

Please sign in to comment.