Commit 39caa0916ef27cf1da5026eb708a2b8413156f75
Committed by
Linus Torvalds
1 parent
cbf8ae32f6
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
btree: catch NULL value before it does harm
Storing NULL values in the btree is illegal and can lead to memory corruption and possible other fun as well. Catch it on insert, instead of waiting for the inevitable. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
lib/btree.c