glibc/sysdeps
Michael Matz e80d6f94e1 Fix size parameter comparisions.
[BZ #13592]
There are several signed compares of the size argument, whereas
it really is unsigned.  Depending on situations e.g. a "memset(ptr, 0,
-1)" segfault (but for the wrong reasons, because jumping into nirvana)
or succeeds even.

In normal use this is harmless, as a size with signbit set indicates
more than half the address space which on x86_64 is impossible to
allocate, but as the size is used to index some jump tables this
potentially could have other unwanted side effects.
2012-04-05 10:50:09 +02:00
..
generic Avoid overflows from long double functions using __kernel_standard. 2012-03-28 09:32:12 +00:00
gnu Clean up glibc manual references to "GNU system" (bug 6911). 2012-03-08 01:27:38 +00:00
i386 Add __bswap_64 definition for non GCC compilers. 2012-04-03 09:13:59 +02:00
ieee754 Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866). 2012-03-28 14:57:58 +00:00
mach [BZ #12340] Fix return code of the Hurd's ttyname_r. 2012-04-05 00:35:19 +02:00
posix Add missing headers 2012-02-27 20:27:41 +01:00
powerpc Fix whitespace 2012-03-28 10:00:15 +02:00
pthread Fix struct timespec normalization (as used in many other places). 2012-03-08 11:49:43 +01:00
s390 Add __bswap_64 definition for non GCC compilers. 2012-04-03 09:13:59 +02:00
sh Fix return value of SH fesetround. 2012-04-05 11:58:30 +09:00
sparc Optimize mempcpy on sparc. 2012-03-28 22:35:26 -07:00
unix Comment fixes for mmsghdr 2012-03-30 06:35:29 -04:00
wordsize-32 Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
wordsize-64 Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
x86_64 Fix size parameter comparisions. 2012-04-05 10:50:09 +02:00