Re: [PATCH RFC] maple_tree: should get pivots boundary by type

From: Wei Yang
Date: Thu Nov 10 2022 - 21:20:16 EST


On Thu, Nov 10, 2022 at 04:14:31PM +0000, Liam Howlett wrote:
>* Wei Yang <richard.weiyang@xxxxxxxxx> [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.

>
>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@xxxxxxxxxx>
>

--
Wei Yang
Help you, Help me