linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] KASAN: fix a type conversion error and add test
@ 2015-09-09  3:59 Wang Long
  2015-09-09  3:59 ` [PATCH 1/2] lib: test_kasan: add some testcases Wang Long
  2015-09-09  3:59 ` [PATCH 2/2] kasan: Fix a type conversion error Wang Long
  0 siblings, 2 replies; 10+ messages in thread
From: Wang Long @ 2015-09-09  3:59 UTC (permalink / raw)
  To: ryabinin.a.a, adech.fo
  Cc: akpm, rusty, long.wanglong, linux-mm, linux-kernel, wanglong,
	peifeiyue, morgan.wang

Hi,

This patchset fix a type conversion error for KASAN.

patch 1: this patch add some out-of-bounds testcases, the current KASAN code
can not find these bugs.

patch 2: fix the type conversion error, with this patch, KASAN could find
these out-of-bounds bugs.

Wang Long (2):
  lib: test_kasan: add some testcases
  kasan: Fix a type conversion error

 lib/test_kasan.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mm/kasan/kasan.c |  2 +-
 2 files changed, 70 insertions(+), 1 deletion(-)

-- 
1.8.3.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-09-09 11:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09  3:59 [PATCH 0/2] KASAN: fix a type conversion error and add test Wang Long
2015-09-09  3:59 ` [PATCH 1/2] lib: test_kasan: add some testcases Wang Long
2015-09-09 10:10   ` Andrey Ryabinin
2015-09-09  3:59 ` [PATCH 2/2] kasan: Fix a type conversion error Wang Long
2015-09-09  9:01   ` Vladimir Murzin
2015-09-09  9:25     ` long.wanglong
2015-09-09  9:40   ` Andrey Ryabinin
2015-09-09 10:22     ` long.wanglong
2015-09-09 10:48       ` Andrey Ryabinin
2015-09-09 11:04         ` [PATCH v2] " Wang Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).