lkml.org 
[lkml]   [2013]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: ixgbe: fix potential null dereference
From
On Wed, Feb 20, 2013 at 8:32 PM, Linux Kernel Mailing List
<linux-kernel@vger.kernel.org> wrote:
> Gitweb: http://git.kernel.org/linus/;a=commit;h=f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a
> Commit: f752be9c3de4fbb6a9b2c060f3794bd928a0ad7a
> Parent: 07ce870bed2f631ad53a2c1a90db20b5f8126ab9
> Author: Josh Hay <joshua.a.hay@intel.com>
> AuthorDate: Fri Jan 4 03:34:36 2013 +0000
> Committer: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> CommitDate: Tue Feb 5 01:43:49 2013 -0800
>
> ixgbe: fix potential null dereference
>
> This patch adds a default case which goes to the next loop iteration
> in the case where p is not set, preventing p from being dereferenced.
>
> Signed-off-by: Josh Hay <joshua.a.hay@intel.com>
> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> ---

Jeff/Josh,

Should this patch be considered for stable release 3.7 and 3.4. It
applied cleanly to both of these releases. I haven't tested it yet
though.

-- Shuah


\
 
 \ /
  Last update: 2013-02-21 19:21    [W:0.026 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site