Files
Linux/lib
Walter Wu 98f3b56fa6 kasan: add test for invalid size in memmove
Test negative size in memmove in order to verify whether it correctly get
KASAN report.

Casting negative numbers to size_t would indeed turn up as a large size_t,
so it will have out-of-bounds bug and be detected by KASAN.

[[email protected]: fix -Wstringop-overflow warning]
  Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Walter Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Dmitry Vyukov <[email protected]>
Reviewed-by: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: kernel test robot <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
2020-04-02 09:35:30 -07:00
..
2019-09-20 09:06:26 -07:00
2020-03-21 15:24:03 +01:00
…
…
2018-10-12 09:17:46 +02:00
2020-02-04 03:05:26 +00:00
…
…
…
…
…
…
…
…
…
…
…
2019-12-07 11:00:19 -08:00
…
2020-03-06 11:56:59 +01:00
2018-10-16 13:45:44 +02:00
…
…
…
2018-10-15 16:31:29 -04:00
…