mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
kasan: update function name in comments
The function kasan_global_oob was renamed to kasan_global_oob_right, but the comments referring to it were not updated. Do so. Link: https://linux-review.googlesource.com/id/I20faa90126937bbee77d9d44709556c3dd4b40be Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Peter Collingbourne <[email protected]> Reviewed-by: Miaohe Lin <[email protected]> Reviewed-by: Marco Elver <[email protected]> Reviewed-by: Andrey Konovalov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
09eb911d93
commit
2dfd1bd992
1 file changed
+3
-3
+3
-3
@@ -786,7 +786,7 @@ static void ksize_uaf(struct kunit *test)
|
||||
static void kasan_stack_oob(struct kunit *test)
|
||||
{
|
||||
char stack_array[10];
|
||||
/* See comment in kasan_global_oob. */
|
||||
/* See comment in kasan_global_oob_right. */
|
||||
char *volatile array = stack_array;
|
||||
char *p = &array[ARRAY_SIZE(stack_array) + OOB_TAG_OFF];
|
||||
|
||||
@@ -799,7 +799,7 @@ static void kasan_alloca_oob_left(struct kunit *test)
|
||||
{
|
||||
volatile int i = 10;
|
||||
char alloca_array[i];
|
||||
/* See comment in kasan_global_oob. */
|
||||
/* See comment in kasan_global_oob_right. */
|
||||
char *volatile array = alloca_array;
|
||||
char *p = array - 1;
|
||||
|
||||
@@ -814,7 +814,7 @@ static void kasan_alloca_oob_right(struct kunit *test)
|
||||
{
|
||||
volatile int i = 10;
|
||||
char alloca_array[i];
|
||||
/* See comment in kasan_global_oob. */
|
||||
/* See comment in kasan_global_oob_right. */
|
||||
char *volatile array = alloca_array;
|
||||
char *p = array + i;
|
||||
|
||||
|
||||
Reference in new issue
Block a user