Re: [PATCH 0/3] may miss to set node dead on destroy

Wei Yang
2025-02-12T00:49:40Z

On Tue, Feb 11, 2025 at 10:28:53AM -0500, Liam R. Howlett wrote:
>* Wei Yang <richard.weiyang@gmail.com> [250211 03:11]:
>> On Mon, Feb 10, 2025 at 09:31:28AM -0500, Liam R. Howlett wrote:
>> >* Wei Yang <richard.weiyang@gmail.com> [250207 20:26]:
>> >
>> >The subject of this patch set makes the issue sound much more sever than
>> >it is. It currently sounds like a memory leak or a UAF, which isn't the
>> >case.
>> >
>>
>> Not intend to exaggerate the impact.
>>
>> Is this one would be better?
>>
>> maple_tree: make sure each node is dead on destroy
>
>Not really, you are fixing two nodes, one isn't even to do with the
>destry/dead node. You are also not making sure each node is dead, but
>fixing an issue with the leaf node.
>
>maple_tree: Fix the replacement of a root leaf node ?
>

Thanks, it looks more precise.

BTW, after addressing your current comments, could I send a v2?

--
Wei Yang
Help you, Help me