Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dhcp6relay] Check interface address is not NULL (#11359)
Why I did it Daemon dhcp6relay may crash due to null pointer access to ifa_addr member of struct ifaddrs. It's not guaranteed that the interface must have available ifa_addr. That is true for some special virtual/pseudo interfaces. How I did it Check the pointer to ifa_addr is valid ahead of accessing it.
- Loading branch information