[Intel-wired-lan] [PATCH] i40e: Fix a potential NULL pointer dereference
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Sep 13 22:22:43 UTC 2017
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Christophe JAILLET
> Sent: Sunday, August 6, 2017 2:37 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>
> Cc: netdev at vger.kernel.org; kernel-janitors at vger.kernel.org; Christophe
> JAILLET <christophe.jaillet at wanadoo.fr>; intel-wired-lan at lists.osuosl.org;
> linux-kernel at vger.kernel.org
> Subject: [Intel-wired-lan] [PATCH] i40e: Fix a potential NULL pointer
> dereference
>
> If 'kzalloc()' fails, a NULL pointer will be dereferenced.
> Return an error code (-ENOMEM) instead.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---
> drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 3 +++
> 1 file changed, 3 insertions(+)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list