]> git.ipfire.org Git - thirdparty/glibc.git/commit
alpha: Fix [BZ #13718]
authorRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:45:45 +0000 (14:45 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:45:45 +0000 (14:45 -0700)
commit8e2f4e971fa048f55428ca49c3a55fa5dc03bd52
treec16113724e2d38b6b90879b9e3687b08f3670f71
parent43ac6d266566b995c0c184dd964987c23ce1e969
alpha: Fix [BZ #13718]

The routines expect to be able to bias the count by a small number.
If the count is near -1ull, the count will overflow.  Since we cannot
use the whole 64-bit address space, bound the count to LONG_MAX.
ChangeLog.alpha
sysdeps/alpha/alphaev6/stxncpy.S
sysdeps/alpha/stxncpy.S