Re: [PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread David Miller
From: Colin King Date: Tue, 10 Oct 2017 18:01:16 +0100 > From: Colin Ian King > > Currently rt6_ex is being dereferenced before it is null checked > hence there is a possible null dereference bug. Fix this by only > dereferencing rt6_ex after

Re: [PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread David Miller
From: Colin King Date: Tue, 10 Oct 2017 18:01:16 +0100 > From: Colin Ian King > > Currently rt6_ex is being dereferenced before it is null checked > hence there is a possible null dereference bug. Fix this by only > dereferencing rt6_ex after it has been null checked. > > Detected by

Re: [PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread Martin KaFai Lau
On Tue, Oct 10, 2017 at 05:01:16PM +, Colin King wrote: > From: Colin Ian King > > Currently rt6_ex is being dereferenced before it is null checked > hence there is a possible null dereference bug. Fix this by only > dereferencing rt6_ex after it has been null

Re: [PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread Martin KaFai Lau
On Tue, Oct 10, 2017 at 05:01:16PM +, Colin King wrote: > From: Colin Ian King > > Currently rt6_ex is being dereferenced before it is null checked > hence there is a possible null dereference bug. Fix this by only > dereferencing rt6_ex after it has been null checked. > > Detected by

Re: [PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread Eric Dumazet
On Tue, 2017-10-10 at 18:01 +0100, Colin King wrote: > From: Colin Ian King > > Currently rt6_ex is being dereferenced before it is null checked > hence there is a possible null dereference bug. Fix this by only > dereferencing rt6_ex after it has been null checked. >

Re: [PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread Eric Dumazet
On Tue, 2017-10-10 at 18:01 +0100, Colin King wrote: > From: Colin Ian King > > Currently rt6_ex is being dereferenced before it is null checked > hence there is a possible null dereference bug. Fix this by only > dereferencing rt6_ex after it has been null checked. > > Detected by

[PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread Colin King
From: Colin Ian King Currently rt6_ex is being dereferenced before it is null checked hence there is a possible null dereference bug. Fix this by only dereferencing rt6_ex after it has been null checked. Detected by CoverityScan, CID#1457749 ("Dereference before null

[PATCH][net-next] ipv6: fix dereference of rt6_ex before null check error

2017-10-10 Thread Colin King
From: Colin Ian King Currently rt6_ex is being dereferenced before it is null checked hence there is a possible null dereference bug. Fix this by only dereferencing rt6_ex after it has been null checked. Detected by CoverityScan, CID#1457749 ("Dereference before null check") Fixes: