Re: [PATCH][next] sfc: fix dereference of table before it is null checked

2020-05-13 Thread David Miller
From: Colin King Date: Tue, 12 May 2020 18:13:55 +0100 > From: Colin Ian King > > Currently pointer table is being dereferenced on a null check of > table->must_restore_filters before it is being null checked, leading > to a potential null pointer dereference issue. Fix this by null > checking

Re: [PATCH][next] sfc: fix dereference of table before it is null checked

2020-05-13 Thread Edward Cree
On 12/05/2020 18:13, Colin King wrote: > From: Colin Ian King > > Currently pointer table is being dereferenced on a null check of > table->must_restore_filters before it is being null checked, leading > to a potential null pointer dereference issue. Fix this by null > checking table before deref

[PATCH][next] sfc: fix dereference of table before it is null checked

2020-05-12 Thread Colin King
From: Colin Ian King Currently pointer table is being dereferenced on a null check of table->must_restore_filters before it is being null checked, leading to a potential null pointer dereference issue. Fix this by null checking table before dereferencing it when checking for a null table->must_r