Messages in this thread | | | From | Namhyung Kim <> | Date | Wed, 21 Jun 2023 10:26:57 -0700 | Subject | Re: [PATCH] tools: Fix incorrect calculation of object size by sizeof |
| |
On Tue, Jun 20, 2023 at 3:42 PM Namhyung Kim <namhyung@kernel.org> wrote: > > Hi Arnaldo, > > On Tue, Jun 20, 2023 at 3:06 PM Arnaldo Carvalho de Melo > <arnaldo.melo@gmail.com> wrote: > > > > > > > > On Tue, Jun 20, 2023, 3:19 PM Namhyung Kim <namhyung@kernel.org> wrote: > >> > >> Hello, > >> > >> On Mon, Jun 19, 2023 at 1:21 AM Li Dong <lidong@vivo.com> wrote: > >> > > >> > What we need to calculate is the size of the object, not the size of the > >> > pointer. > >> > > >> > Signed-off-by: Li Dong <lidong@vivo.com> > >> > >> Since this problem was introduced in the current dev cycle and not in the > >> mainline yet, I think we can skip the Fixes tag. > >> > >> Acked-by: Namhyung Kim <namhyung@kernel.org> > > > > > > I think we should have it anyway, if not for the stable guys to pick it up, for documentation sake :-) > > Ok, I'll add that. Thanks for the reply while on your vacation. :)
Applied to perf-tools-next with the below tag, thanks!
Fixed: 51cfe7a3e87e ("perf python: Avoid 2 leak sanitizer issues")
| |