lkml.org 
[lkml]   [2019]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] qlcnic: Avoid potential NULL pointer dereference
From
From: Aditya Pakki <pakki001@umn.edu>
Date: Thu, 14 Mar 2019 15:31:40 -0500

> netdev_alloc_skb can fail and return a NULL pointer which is
> dereferenced without a check. The patch avoids such a scenario.
>
> Signed-off-by: Aditya Pakki <pakki001@umn.edu>

Applied.

\
 
 \ /
  Last update: 2019-03-15 19:57    [W:0.031 / U:10.784 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site