lkml.org 
[lkml]   [2014]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/nmi: fix use of unallocated cpumask_var_t
On Tue, 25 Nov 2014 11:06:00 -0500
Sasha Levin <sasha.levin@oracle.com> wrote:

> Commit "x86/nmi: Perform a safe NMI stack trace on all CPUs" has introduced
> a cpumask_var_t variable:
>
> +static cpumask_var_t printtrace_mask;
>
> But never allocated it before using it, which caused a NULL ptr deref when
> trying to print the stack trace:

Thanks, I pulled this in and I'm running it under my test suite now.

-- Steve


\
 
 \ /
  Last update: 2014-11-25 21:21    [W:0.118 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site