diff options
author | Richard Henderson <rth@twiddle.net> | 2012-06-06 14:51:05 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-06-06 14:51:05 -0700 |
commit | d8cbc13ab6b312b36e718908d57e35203ac07451 (patch) | |
tree | 9dad1bd7a6b10b95cc51097b9d18d83a3024ea49 /ChangeLog.alpha | |
parent | 8e2f4e971fa048f55428ca49c3a55fa5dc03bd52 (diff) | |
download | glibc-d8cbc13ab6b312b36e718908d57e35203ac07451.tar.gz glibc-d8cbc13ab6b312b36e718908d57e35203ac07451.tar.xz glibc-d8cbc13ab6b312b36e718908d57e35203ac07451.zip |
alpha: Fix end-of-count checks in strncmp
This routine suffered a similar problem as stxncpy in needing to bias a potentially very large unsigned number with wraparound. This exposed a secondary problem where we didn't properly handle end-of-count condition for the second string input resulting in stratcliff failures.
Diffstat (limited to 'ChangeLog.alpha')
-rw-r--r-- | ChangeLog.alpha | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog.alpha b/ChangeLog.alpha index d291df970a..824083c323 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,8 @@ 2012-06-06 Richard Henderson <rth@twiddle.net> + * sysdeps/alpha/strncmp.S: Bound count to LONG_MAX at startup. + Re-organize checks vs s2 end-of-count. + [BZ #13718] * sysdeps/alpha/stxncmp.S: Bound count to LONG_MAX at startup. * sysdeps/alpha/alphaev6/stxncmp.S: Likewise. |