* elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
commit4021079f5eb0ac9b1a0f3d791c628d7ce665ee57
authorJakub Jelinek <jakub@redhat.com>
Sat, 7 Jul 2007 17:37:06 +0000 (7 17:37 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sat, 7 Jul 2007 17:37:06 +0000 (7 17:37 +0000)
tree2ac4f7c92d8269bdac83d167a3fc82d9bfd81850
parent65302b6ec8c5aa89dbfcb8952ee0fb834a1b1d56
* 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