]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mas_alloc_nodes()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 28 Jul 2022 01:08:29 +0000 (21:08 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 28 Jul 2022 01:12:11 +0000 (21:12 -0400)
commit05ec37bb60b7621b234f95b18f7ea12326f03e3d
tree9ab24996a7cfc0c04ebbf3940d8e8cd06ed00298
parent9bfbc3bfea9716b74215b0a4a87f14baeaeb4ad7
maple_tree: Fix mas_alloc_nodes()

Use MAPLE_ALLOC_SLOTS, which differs on 32bit.  This was causing an
out of bounds issue on 32bit bulk allocations

Fixes: 06b152b7980a (Maple Tree: add new data structure)
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c