Re: Possible null deref on pf.c

2021-02-12 Thread Claudio Jeker
On Fri, Feb 12, 2021 at 01:20:01PM +0100, Alexander Bluhm wrote: > On Fri, Feb 12, 2021 at 01:11:24PM +0100, Claudio Jeker wrote: > > On Fri, Feb 12, 2021 at 12:03:49PM +, Ricardo Mestre wrote: > > > This was reported on CID 1501718, ifp starts as NULL and then might be > > > deref'ed. > > >

Re: Possible null deref on pf.c

2021-02-12 Thread Alexander Bluhm
On Fri, Feb 12, 2021 at 01:11:24PM +0100, Claudio Jeker wrote: > On Fri, Feb 12, 2021 at 12:03:49PM +, Ricardo Mestre wrote: > > This was reported on CID 1501718, ifp starts as NULL and then might be > > deref'ed. > This code is strange, the scope for the IPv6 address needs to be pulled > ou

Re: Possible null deref on pf.c

2021-02-12 Thread Claudio Jeker
On Fri, Feb 12, 2021 at 12:03:49PM +, Ricardo Mestre wrote: > Hi, > > This was reported on CID 1501718, ifp starts as NULL and then might be > deref'ed. > > The question is does the below make any sense to solve it since I don't know > what I'm doing? :) > > What do you net gurus say? > >

Possible null deref on pf.c

2021-02-12 Thread Ricardo Mestre
Hi, This was reported on CID 1501718, ifp starts as NULL and then might be deref'ed. The question is does the below make any sense to solve it since I don't know what I'm doing? :) What do you net gurus say? Index: pf.c === RCS fi