Skip to content
Snippets Groups Projects
Commit e66ab61f authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

swim: check broadcast interfaces more rigorously

Appeared, that getifaddrs() standard function can return
addresses having IFF_BROADCAST flag, but at the same time not
having struct sockaddr *ifa_broadaddr pointer (NULL).

It led to a crash. The patch does additional check if the address
is NULL.
parent 55e1a140
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment