From c0020ec1977c811f8e7c888a5662cc2c7abd627d Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Mon, 11 Dec 2017 15:23:19 +0100 Subject: pkg/report: detect corrupted old-style KASAN reports --- pkg/report/linux.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pkg/report/linux.go') diff --git a/pkg/report/linux.go b/pkg/report/linux.go index b862bf54e..a37104c2d 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -722,6 +722,18 @@ var linuxOopses = []*oops{ title: compile("INFO: task .* blocked for more than [0-9]+ seconds"), fmt: "INFO: task hung", }, + { + // This gets captured for corrupted old-style KASAN reports. + title: compile("INFO: Freed in (.*)"), + fmt: "INFO: Freed in %[1]v", + corrupted: true, + }, + { + // This gets captured for corrupted old-style KASAN reports. + title: compile("INFO: Allocated in (.*)"), + fmt: "INFO: Allocated in %[1]v", + corrupted: true, + }, }, []*regexp.Regexp{ compile("INFO: lockdep is turned off"), -- cgit mrf-deployment