From b3f479a85a3e191befbe821d787d7f71c0f64e79 Mon Sep 17 00:00:00 2001 From: Liubov Dmitrieva Date: Wed, 15 Aug 2012 21:06:55 +0200 Subject: Fix segmentation fault in strncasecmp for i686 2012-08-15 Liubov Dmitrieva [BZ #14195] * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix segmentation fault for a case of two empty input strings. * string/test-strncasecmp.c (check1): Renamed to... (bz12205): ...this. (bz14195): Add new testcase for two empty input strings and N > 0. (test_main): Call new testcase, adapt for renamed function. --- sysdeps/i386/i686/multiarch/strcmp-ssse3.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 sysdeps/i386/i686/multiarch/strcmp-ssse3.S (limited to 'sysdeps/i386') diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S old mode 100644 new mode 100755 index 5e6321e..9735ad0 --- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S +++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S @@ -2445,7 +2445,7 @@ L(less16bytes_sncmp): # endif jne L(neq_sncmp) test %cl, %cl - je L(eq) + je L(eq_sncmp) cmp $1, REM je L(eq_sncmp) -- cgit v1.1