File openssl-CVE-2016-0702_3.patch of Package openssl.openSUSE_Evergreen_11.4

From: Andy Polyakov <appro@openssl.org>
Date: Fri, 12 Sep 2014 00:06:00 +0200
Subject: perlasm/x86_64-xlate.pl: handle inter-bank movd.
Patch-mainline: OpenSSL_1_0_1s
Git-commit: c582e9d2139b9c9311718c20bbfeac37718e0b21
References: CVE-2016-0702 bsc#968050

Reviewed-by: Rich Salz <rsalz@openssl.org>

---
 crypto/perlasm/x86_64-xlate.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl
index 56d9b64b6fb3..b262b8dae909 100755
--- a/crypto/perlasm/x86_64-xlate.pl
+++ b/crypto/perlasm/x86_64-xlate.pl
@@ -121,7 +121,7 @@ my %globals;
 		$self->{sz} = "";
 	    } elsif ($self->{op} =~ /^v/) { # VEX
 		$self->{sz} = "";
-	    } elsif ($self->{op} =~ /movq/ && $line =~ /%xmm/) {
+	    } elsif ($self->{op} =~ /mov[dq]/ && $line =~ /%xmm/) {
 		$self->{sz} = "";
 	    } elsif ($self->{op} =~ /([a-z]{3,})([qlwb])$/) {
 		$self->{op} = $1;
-- 
2.7.2

openSUSE Build Service is sponsored by