Fix v9/64-bit strcmp when string ends in multiple zero bytes.
commit5331255b6eeafa74865b2e6af627cb712c41dafd
authorDavid S. Miller <davem@davemloft.net>
Wed, 30 Apr 2014 19:57:51 +0000 (30 12:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 May 2014 19:15:06 +0000 (1 12:15 -0700)
treea9d5fe7cfb4ad4af1dcb12bad7e1b158d281eca5
parent4fdfe821e20a70670b3d03deb2abed5d8c83e51b
Fix v9/64-bit strcmp when string ends in multiple zero bytes.

[BZ #16885]
* sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
multiple zero bytes exist at the end of a string.
Reported by Aurelien Jarno <aurelien@aurel32.net>

* string/test-strcmp.c (check): Add explicit test for situations where
there are multiple zero bytes after the first.
ChangeLog
string/test-strcmp.c
sysdeps/sparc/sparc64/strcmp.S