Re: bgpd: getifaddrs ifa_addr NULL check

2020-12-29 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2020.12.29 10:29:00 +0100: > On Thu, Dec 17, 2020 at 01:26:09PM +0100, Claudio Jeker wrote: > > getifaddrs can return a struct ifaddrs entry with a NULL ifa_addr. > > I think an unnumbered point-to-point interface can trigger this. > > So better check for

Re: bgpd: getifaddrs ifa_addr NULL check

2020-12-29 Thread Claudio Jeker
On Thu, Dec 17, 2020 at 01:26:09PM +0100, Claudio Jeker wrote: > getifaddrs can return a struct ifaddrs entry with a NULL ifa_addr. > I think an unnumbered point-to-point interface can trigger this. > So better check for it before accessing anything in ifa_addr. I will commit this later today.

bgpd: getifaddrs ifa_addr NULL check

2020-12-17 Thread Claudio Jeker
getifaddrs can return a struct ifaddrs entry with a NULL ifa_addr. I think an unnumbered point-to-point interface can trigger this. So better check for it before accessing anything in ifa_addr. -- :wq Claudio Index: config.c ===