Fix out-of-bounds memory access in gemm_beta
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 13 Feb 2019 21:08:37 +0000 (22:08 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Feb 2019 21:08:37 +0000 (22:08 +0100)
Fixes #2011 (as suggested by davemq), assuming typo by K.Goto

kernel/power/zgemm_beta.S

index 43b72ca..1f4c292 100644 (file)
@@ -134,7 +134,7 @@ LL(12):
        STFD    f0,  14 * SIZE(CO1)
        STFD    f0,  15 * SIZE(CO1)
 
-       dcbst   PRE, CO1
+       dcbtst  PRE, CO1
        addi    CO1, CO1,  16 * SIZE
        bdnz    LL(12)
        .align 4