Messages in this thread | | | Date | Wed, 27 Feb 2013 21:43:31 -0700 | From | David Ahern <> | Subject | Re: [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
| |