summaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree
diff options
context:
space:
mode:
authorMatthew Wilcox2017-01-30 22:22:30 +0100
committerMatthew Wilcox2017-02-14 03:44:05 +0100
commitf7137f79c57f228321dde2ab4586015504feaaac (patch)
tree2e8fb8bf6e705b3b002f9f2d41b286b76571caff /tools/testing/radix-tree
parentradix-tree: Store a pointer to the root in each node (diff)
downloadkernel-qcow2-linux-f7137f79c57f228321dde2ab4586015504feaaac.tar.gz
kernel-qcow2-linux-f7137f79c57f228321dde2ab4586015504feaaac.tar.xz
kernel-qcow2-linux-f7137f79c57f228321dde2ab4586015504feaaac.zip
radix_tree_iter_resume: Fix out of bounds error
The address sanitizer occasionally finds an out of bounds error while running the test-suite. It turned out to be a read of the pointer immediately next to the tree root, but this out of bounds error could have occurred elsewhere. This happens because radix_tree_iter_resume() dereferences 'slot' before checking whether we've come to the end of the chunk. We can just delete this line; the value was never used. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Diffstat (limited to 'tools/testing/radix-tree')
0 files changed, 0 insertions, 0 deletions