lkml.org 
[lkml]   [2022]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH RFC] maple_tree: should get pivots boundary by type
Date
* Wei Yang <richard.weiyang@gmail.com> [221110 21:20]:
> On Thu, Nov 10, 2022 at 04:14:31PM +0000, Liam Howlett wrote:
> >* Wei Yang <richard.weiyang@gmail.com> [221110 02:25]:
> >> If my understanding is correct, we should get pivots boundary by type.
> >>
> >
> >Thank you, yes - you are correct. This is a bug, and should have:
>
> Thanks. I am curious why this doesn't trigger a problem yet?
>
> From code, it seems we may access the out of boundary array.

yes, it would likely access the array out of bounds. This code is not
used by the mm code right now.

>
> >
> >Fixes: 54a611b60590 (Maple Tree: add new data structure)
> >
> >Please fix your commit message and add the fixes line and resend.
> >
> >Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
> >
>
> --
> Wei Yang
> Help you, Help me
\
 
 \ /
  Last update: 2022-11-11 18:14    [W:0.042 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site