* elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
commit1311e86e432fde7e3ea44eb33e8b8472f710dd61
authorUlrich Drepper <drepper@redhat.com>
Wed, 4 Jul 2007 18:06:39 +0000 (4 18:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 4 Jul 2007 18:06:39 +0000 (4 18:06 +0000)
treee15c0dd38128a7454e4c48010b9d7b255f8d8e28
parent57c9179cab174f606a05b0372600efedd3331b92
* 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