diff options
author | Liubov Dmitrieva <liubov.dmitrieva@gmail.com> | 2012-08-15 21:06:55 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-08-15 21:06:55 +0200 |
commit | b3f479a85a3e191befbe821d787d7f71c0f64e79 (patch) | |
tree | d428f6f121ca0c3a78e4f1fe24ac993d13ea4bf6 /sysdeps/i386 | |
parent | 9c55864e0de4b774396b9021fad62916e5a9f5a5 (diff) | |
download | glibc-b3f479a85a3e191befbe821d787d7f71c0f64e79.tar.gz glibc-b3f479a85a3e191befbe821d787d7f71c0f64e79.tar.xz glibc-b3f479a85a3e191befbe821d787d7f71c0f64e79.zip |
Fix segmentation fault in strncasecmp for i686
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> [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.
Diffstat (limited to 'sysdeps/i386')
-rwxr-xr-x[-rw-r--r--] | sysdeps/i386/i686/multiarch/strcmp-ssse3.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S index 5e6321e539..9735ad00ca 100644..100755 --- 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) |