]> 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>
Fri, 30 Oct 2020 19:04:42 +0000 (15:04 -0400)
commit8f9cd2bdcfd24b5bb543813a8f7f7e24b61c702d
tree79132ab5008f3d0db816363a5a135f61d4b84847
parentd9d01b5eeebf50cf792fb8fd87405c402b40f682
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