Searched refs:ptr1 (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | test_kasan.c | 286 char *ptr1, *ptr2; in krealloc_more_oob_helper() local 292 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper() 293 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); in krealloc_more_oob_helper() 295 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper() 318 char *ptr1, *ptr2; in krealloc_less_oob_helper() local 324 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper() 325 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); in krealloc_less_oob_helper() 327 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_less_oob_helper() 390 char *ptr1, *ptr2; in krealloc_uaf() local 394 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_uaf() [all …]
|