* elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
authorjakub <jakub>
Sat, 7 Jul 2007 17:37:06 +0000 (17:37 +0000)
committerjakub <jakub>
Sat, 7 Jul 2007 17:37:06 +0000 (17:37 +0000)
commitdad290bba6b81f897f5a8574a9a38e08e65ada35
tree2ac4f7c92d8269bdac83d167a3fc82d9bfd81850
parenta28de05153247ea310ad594b1cae892d5232866c
* elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
* elf/dl-minimal.c (__libc_memalign): Likewise.  Handle malloc (0).
Return NULL if mmap failed instead of asserting it does not.
(calloc): Check for integer overflow.

* elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger
than LONG_MAX / 10.
ChangeLog
elf/dl-minimal.c
elf/dl-sysdep.c