We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e93c54 commit 5901255Copy full SHA for 5901255
tools/testing/selftests/bpf/prog_tests/snprintf.c
@@ -116,6 +116,8 @@ static void test_snprintf_negative(void)
116
ASSERT_ERR(load_single_snprintf("%llc"), "invalid specifier 7");
117
ASSERT_ERR(load_single_snprintf("\x80"), "non ascii character");
118
ASSERT_ERR(load_single_snprintf("\x1"), "non printable character");
119
+ ASSERT_ERR(load_single_snprintf("%p%"), "invalid specifier 8");
120
+ ASSERT_ERR(load_single_snprintf("%s%"), "invalid specifier 9");
121
}
122
123
void test_snprintf(void)
0 commit comments