]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mas_append of extra null.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 7 May 2020 01:12:28 +0000 (21:12 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:28:28 +0000 (12:28 -0500)
commit05cf30d6f127f7004912b31f3971762c67d9d7d2
tree6e32d4b40786e6411aea5b90c45836b78f4051d8
parent7f81aead126612210c0a2ddd2706b905df64762f
maple_tree: Fix mas_append of extra null.

When attempting to append to a node, it is possible that the source
contains multiple NULL entries that will be coalesced together and thus
will not overflow even though it may appear that was on initial
inspection.

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