[compiler-rt] r268046 - [sanitizers] [SystemZ] Mark kernel 3.12.58+ as safe from CVE-2016-2143.

Marcin Koscielnicki via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 07:59:20 PDT 2016


Author: koriakin
Date: Fri Apr 29 09:59:19 2016
New Revision: 268046

URL: http://llvm.org/viewvc/llvm-project?rev=268046&view=rev
Log:
[sanitizers] [SystemZ] Mark kernel 3.12.58+ as safe from CVE-2016-2143.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_s390.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_s390.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_s390.cc?rev=268046&r1=268045&r2=268046&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_s390.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_s390.cc Fri Apr 29 09:59:19 2016
@@ -142,6 +142,9 @@ static bool FixedCVE_2016_2143() {
     // 3.2.79+ is OK.
     if (minor == 2 && patch >= 79)
       return true;
+    // 3.12.58+ is OK.
+    if (minor == 12 && patch >= 58)
+      return true;
     // Otherwise, bad.
     return false;
   } else if (major == 4) {




More information about the llvm-commits mailing list