]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mast_split_data() issue with right node
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 12 Oct 2021 13:32:41 +0000 (09:32 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Oct 2021 19:23:10 +0000 (15:23 -0400)
commit77ef8fd33b23fbfac278f1fac278f42b66b483bb
tree0988a2b51e7a0a0b5a9f48c7bfddfaa1fa0341f0
parent1ac2d7c17e8ff714ecfafea4f82579e4970db689
maple_tree: Fix mast_split_data() issue with right node

Don't overwrite the maximum of the right node as it could be the most
right node and be ULONG_MAX with a NULL.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c