]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Avoid crashing on mte_set_pivot() out of range
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 30 Nov 2022 16:33:54 +0000 (11:33 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 13 Dec 2022 21:22:37 +0000 (16:22 -0500)
commit5dfc819cee0c8a021828d68c897d68bde23e51fe
tree60828a567e59083a06e8118167011d0aa3ec4428
parenta50220fc832c864377806f342cfc18778da7c1f8
maple_tree: Avoid crashing on mte_set_pivot() out of range

Emit a warning and return.  The tree will be in an undefined state, but
the warning is more likely to be recorded.

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