Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-15 Thread Rob Herring
On Thu, Apr 15, 2021 at 2:51 PM Arnaldo Carvalho de Melo wrote: > > Em Thu, Apr 15, 2021 at 04:48:34PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Apr 15, 2021 at 04:46:46PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Wed, Apr 14, 2021 at 03:53:36PM -0500, Rob Herring escreveu: >

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-15 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 15, 2021 at 04:48:34PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Apr 15, 2021 at 04:46:46PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Wed, Apr 14, 2021 at 03:53:36PM -0500, Rob Herring escreveu: > > > On Wed, Apr 14, 2021 at 3:25 PM Namhyung Kim wrote: > > > > > +stati

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-15 Thread Arnaldo Carvalho de Melo
Em Thu, Apr 15, 2021 at 04:46:46PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Apr 14, 2021 at 03:53:36PM -0500, Rob Herring escreveu: > > On Wed, Apr 14, 2021 at 3:25 PM Namhyung Kim wrote: > > > > > > On Thu, Apr 15, 2021 at 4:58 AM Rob Herring wrote: > > > > > > > > xyarray__entry() is

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-15 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 14, 2021 at 03:53:36PM -0500, Rob Herring escreveu: > On Wed, Apr 14, 2021 at 3:25 PM Namhyung Kim wrote: > > > > On Thu, Apr 15, 2021 at 4:58 AM Rob Herring wrote: > > > > > > xyarray__entry() is missing any bounds checking yet often the x and y > > > parameters come from external ca

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-14 Thread Rob Herring
On Wed, Apr 14, 2021 at 3:25 PM Namhyung Kim wrote: > > On Thu, Apr 15, 2021 at 4:58 AM Rob Herring wrote: > > > > xyarray__entry() is missing any bounds checking yet often the x and y > > parameters come from external callers. Add bounds checks and an > > unchecked __xyarray__entry(). > > > > Cc

Re: [PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-14 Thread Namhyung Kim
On Thu, Apr 15, 2021 at 4:58 AM Rob Herring wrote: > > xyarray__entry() is missing any bounds checking yet often the x and y > parameters come from external callers. Add bounds checks and an > unchecked __xyarray__entry(). > > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo

[PATCH] libperf: xyarray: Add bounds checks to xyarray__entry()

2021-04-14 Thread Rob Herring
xyarray__entry() is missing any bounds checking yet often the x and y parameters come from external callers. Add bounds checks and an unchecked __xyarray__entry(). Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyu