Messages in this thread | | | Date | Tue, 27 Mar 2012 17:30:26 -0400 (EDT) | Subject | Re: [PATCH 1/5] perf: Validate address in symbol__inc_addr_samples(). | From | David Miller <> |
| |
From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Date: Tue, 27 Mar 2012 11:15:24 -0300
> Em Sun, Mar 25, 2012 at 04:28:08PM -0400, David Miller escreveu: >> If addr < sym->start then we are going to access past the end of the >> h->addr[] array, since the offset calculated will be huge. >> >> Trigger an assertion instead of randomly scribbling memory when this >> situation occurs. > > I'm applying this one instead, please check if you have any concerns > with this approach:
No objections.
| |