-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hello and thank you for this igmp/mld proxy code
I run some static code analysis on it and I would like to share somes results with you
- input.c mcast_recv_igmp() => unreachable code : else if (ip->protocol == 0)
- proxy.c main() => unreachable code : free_resource();
I think the proxy need to handle system signal in order to cleanup ressources - output.c send_igmp_mld_query() => unreachable code : if(p_if == NULL) (line 84)
- proxy.c load_config() => resource lost : need to close fd
- output.c send_igmp_mld_query() => possible memory leak : p = malloc(max_len)
if family is neither AF_INET nor AF_INET6
I hope it help
Best Reagrds
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels