mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
After calling radix_tree_iter_retry(), 'slot' will be set to NULL. This can cause radix_tree_next_slot() to dereference the NULL pointer. Add Konstantin Khlebnikov's test to the regression framework. Signed-off-by: Matthew Wilcox <[email protected]> Reported-by: Konstantin Khlebnikov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
9 lines
146 B
C
9 lines
146 B
C
#ifndef __REGRESSION_H__
|
|
#define __REGRESSION_H__
|
|
|
|
void regression1_test(void);
|
|
void regression2_test(void);
|
|
void regression3_test(void);
|
|
|
|
#endif
|