[PATCH 0/2] kasan: a couple of test fixes

From: Andrey Konovalov
Date: Thu Mar 01 2018 - 12:16:36 EST


The first one fixes the invalid-free test crashing the kernel, and the
second one fixes the memset tests working incorrectly due to compiler
optimizations.

Andrey Konovalov (2):
kasan: fix invalid-free test crashing the kernel
kasan: disallow compiler to optimize away memset in tests

lib/Makefile | 1 +
lib/test_kasan.c | 8 ++++++++
2 files changed, 9 insertions(+)

--
2.16.2.395.g2e18187dfd-goog