[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1380203977.1810.0.camel@leonhard>
Date: Thu, 26 Sep 2013 22:59:37 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc: David Ahern <dsahern@...il.com>, Sonny Rao <sonnyrao@...omium.org>,
linux-kernel@...r.kernel.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...hat.com>, Jiri Olsa <jolsa@...hat.com>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH] perf: fix infinite loop with corrupted header
2013-09-26 (목), 10:46 -0300, Arnaldo Carvalho de Melo:
> Em Thu, Sep 26, 2013 at 07:34:56AM -0600, David Ahern escreveu:
> > On 9/25/13 11:20 PM, Sonny Rao wrote:
> > >We recently ran into a corrupt perf data file which mostly looked okay
> > >but the section size for data was set to 0. This caused perf report to
> > >get into an infinite loop in __perf_session_process_events(). Let's
> > >just avoid this by bailing early and reporting it if there's an
> > >invalid header.
> >
> > Been suggested before:
> > https://lkml.org/lkml/2013/5/9/405
>
> Thanks for the pointer (and this latest patch as well), looking at it
> now.
>
> - Arnaldo
>
> > Other changes went in around that time as well. Are you still seeing
> > the loop on latest source?
Did you mean this?
https://lkml.org/lkml/2013/5/9/670
Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists