lkml.org 
[lkml]   [2013]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf kvm: fix segfault by initializing file_name to NULL
On 2/27/13 9:31 PM, Xiao Guangrong wrote:
>
> On 02/28/2013 11:29 AM, David Ahern wrote:
>> Dongsoo reported that perf-kvm was segfaulting. The bug was introduced by
>> commit 3786063 which moved file_name from struct perf_kvm which was
>> initialized on the stack to an uninitialized stack variable. Fix by
>> initializing.
>>
>> Needs to be applied to 3.7 and 3.8 as well.
>
> David, The bug has already been fixed by by Arnaldo, see:
> http://git.kernel.org/?p=virt/kvm/kvm.git;a=commit;h=20914ce5b9e1ef4a35f1f09a2c9c8fb8eb1c4d86
>

very odd. Arnaldo's latest perf/urgent has the problem -- and no
initialized variable. Seems to have been dropped somewhere.

David


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