Searched refs:strncpy (Results 1 – 4 of 4) sorted by relevance
| /lib/test_fortify/ |
| A D | write_overflow-strncpy-src.c | 3 strncpy(small, large_src, sizeof(small) + 1)
|
| A D | write_overflow-strncpy.c | 3 strncpy(instance.buf, large_src, sizeof(instance.buf) + 1)
|
| /lib/ |
| A D | string.c | 92 char *strncpy(char *dest, const char *src, size_t count) in strncpy() function 104 EXPORT_SYMBOL(strncpy);
|
| /lib/tests/ |
| A D | fortify_kunit.c | 550 KUNIT_ASSERT_TRUE(test, strncpy(pad.buf, src, sizeof_buf - 1) in fortify_test_strncpy() 559 KUNIT_ASSERT_TRUE(test, strncpy(pad.buf, src, sizeof_buf) in fortify_test_strncpy() 570 KUNIT_ASSERT_TRUE(test, strncpy(pad.buf, src, sizeof_buf + 1) in fortify_test_strncpy() 581 KUNIT_ASSERT_TRUE(test, strncpy(pad.buf, src, sizeof_buf + 2) in fortify_test_strncpy()
|
Completed in 9 milliseconds