Re: [PATCH] tools lib traceevent: Fix buffer overflow in arg_eval

2019-02-28 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 28, 2019 at 04:01:23PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Feb 27, 2019 at 10:12:50PM -0500, Steven Rostedt escreveu: > > On Wed, 27 Feb 2019 17:55:32 -0800 > > Tony Jones wrote: > > > > > Fix buffer overflow observed when running perf test. > > > > > > The overflow i

Re: [PATCH] tools lib traceevent: Fix buffer overflow in arg_eval

2019-02-28 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 27, 2019 at 10:12:50PM -0500, Steven Rostedt escreveu: > On Wed, 27 Feb 2019 17:55:32 -0800 > Tony Jones wrote: > > > Fix buffer overflow observed when running perf test. > > > > The overflow is when trying to evaluate "1ULL << (64 - 1)" which > > is resulting in -9223372036854775808

Re: [PATCH] tools lib traceevent: Fix buffer overflow in arg_eval

2019-02-27 Thread Steven Rostedt
On Wed, 27 Feb 2019 17:55:32 -0800 Tony Jones wrote: > Fix buffer overflow observed when running perf test. > > The overflow is when trying to evaluate "1ULL << (64 - 1)" which > is resulting in -9223372036854775808 which overflows the 20 character > buffer. > > If is possible this bug has been