]> git.puffer.fish Git - mirror/frr.git/commit
pimd: fix missing checking the return value for igmp command 16599/head
authoranlan_cs <vic.lan@pica8.com>
Thu, 15 Aug 2024 12:49:24 +0000 (20:49 +0800)
committeranlan_cs <anlan_cs@tom.com>
Fri, 16 Aug 2024 14:33:59 +0000 (22:33 +0800)
commitcbe50989d94c549de23e35f15121321fe56fd40e
tree07bd16ca6ffad231793bd8313350f18909c12c31
parent4f70004723262626cd2d9db50092e0f47ee8a08d
pimd: fix missing checking the return value for igmp command

`gm_join_new()` will return NULL in the case of running out of
socket/file resources.  Just add the check for it.

Signed-off-by: anlan_cs <anlan_cs@tom.com>
pimd/pim_iface.c