diff options
author | David S. Miller <davem@davemloft.net> | 2014-04-30 12:57:51 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-01 12:15:06 -0700 |
commit | 5331255b6eeafa74865b2e6af627cb712c41dafd (patch) | |
tree | a9d5fe7cfb4ad4af1dcb12bad7e1b158d281eca5 /string/strrchr.c | |
parent | 4fdfe821e20a70670b3d03deb2abed5d8c83e51b (diff) | |
download | glibc-5331255b6eeafa74865b2e6af627cb712c41dafd.zip glibc-5331255b6eeafa74865b2e6af627cb712c41dafd.tar.gz glibc-5331255b6eeafa74865b2e6af627cb712c41dafd.tar.bz2 |
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.
Diffstat (limited to 'string/strrchr.c')
0 files changed, 0 insertions, 0 deletions