Re: some problems about kasan

2015-10-15 Thread Dmitry Vyukov
On Thu, Oct 15, 2015 at 8:59 AM, zhong jiang wrote: > 1、 I feel confused about one of the cases when testing the cases kasan can > solve . the function come from the kernel in the /lib/test_kasan.c. > > static noinline void __init kmalloc_uaf2(void) > { > char *ptr1, *ptr2; >

some problems about kasan

2015-10-15 Thread zhong jiang
1、 I feel confused about one of the cases when testing the cases kasan can solve . the function come from the kernel in the /lib/test_kasan.c. static noinline void __init kmalloc_uaf2(void) { char *ptr1, *ptr2; size_t size = 43; pr_info("use-after-free after another

some problems about kasan

2015-10-15 Thread zhong jiang
1、 I feel confused about one of the cases when testing the cases kasan can solve . the function come from the kernel in the /lib/test_kasan.c. static noinline void __init kmalloc_uaf2(void) { char *ptr1, *ptr2; size_t size = 43; pr_info("use-after-free after another

Re: some problems about kasan

2015-10-15 Thread Dmitry Vyukov
On Thu, Oct 15, 2015 at 8:59 AM, zhong jiang wrote: > 1、 I feel confused about one of the cases when testing the cases kasan can > solve . the function come from the kernel in the /lib/test_kasan.c. > > static noinline void __init kmalloc_uaf2(void) > { > char