summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2025-02-28 10:40:35 -0300
committerRafael Zalamena <rzalamena@opensourcerouting.org>2025-02-28 11:34:36 -0300
commitcacdff75a6fc9c4fa983408c6035d6763161788a (patch)
treeca23c646f8e1add9f7df606e1f5dd52ba64452ee /lib/command.h
parentd49561e32a8ea870a4597e56591cd4ca44abaa7c (diff)
pimd: fix null memory access on IGMP source limit
When the IGMP group source limit is reached the function `igmp_get_source_by_addr` won't return a `struct gm_source` so we must test for that condition before attempting to access its fields. Fixes coverity scan issue 1637406. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions