Home
last modified time | relevance | path

Searched refs:invalid_size (Results 1 – 1 of 1) sorted by relevance

/lib/
Dtest_kasan.c519 size_t invalid_size = -2; in kmalloc_memmove_negative_size() local
533 OPTIMIZER_HIDE_VAR(invalid_size); in kmalloc_memmove_negative_size()
535 memmove((char *)ptr, (char *)ptr + 4, invalid_size)); in kmalloc_memmove_negative_size()
543 volatile size_t invalid_size = size; in kmalloc_memmove_invalid_size() local
551 memmove((char *)ptr, (char *)ptr + 4, invalid_size)); in kmalloc_memmove_invalid_size()