History

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.

Peter Collingbourne committed 4 years ago

Commit 2dfd1bd1 parent 09eb9111 file · +3 −3Browse files

Showing the changes to lib (1 of 1 file). Show all

Unified · Split

lib/test_kasan.c+3−3
@@ -786,7 +786,7 @@ static void ksize_uaf(struct kunit *test) · 785 unmodified lines
786786 static void kasan_stack_oob(struct kunit *test)
787787 {
788788 char stack_array[10];
789− /* See comment in kasan_global_oob. */
789+ /* See comment in kasan_global_oob_right. */
790790 char *volatile array = stack_array;
791791 char *p = &array[ARRAY_SIZE(stack_array) + OOB_TAG_OFF];
792792
@@ -799,7 +799,7 @@ static void kasan_alloca_oob_left(struct kunit *test) · 6 unmodified lines
799799 {
800800 volatile int i = 10;
801801 char alloca_array[i];
802− /* See comment in kasan_global_oob. */
802+ /* See comment in kasan_global_oob_right. */
803803 char *volatile array = alloca_array;
804804 char *p = array - 1;
805805
@@ -814,7 +814,7 @@ static void kasan_alloca_oob_right(struct kunit *test) · 8 unmodified lines
814814 {
815815 volatile int i = 10;
816816 char alloca_array[i];
817− /* See comment in kasan_global_oob. */
817+ /* See comment in kasan_global_oob_right. */
818818 char *volatile array = alloca_array;
819819 char *p = array + i;
820820

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t