]> git.ipfire.org Git - thirdparty/coreutils.git/commit
heap_alloc: avoid integer overflow
authorJim Meyering <meyering@redhat.com>
Wed, 14 Jul 2010 16:05:50 +0000 (11:05 -0500)
committerJim Meyering <meyering@redhat.com>
Wed, 14 Jul 2010 16:05:50 +0000 (11:05 -0500)
commitc5e350ec5625d7346c2a088fe478060358200c14
tree496bd013993f06880ff013775909227d7e4bf1c7
parent66af887e57f6d4f485cf68fc16e9558781b648b6
heap_alloc: avoid integer overflow

* gl/lib/heap.c (heap_alloc): Use xnmalloc rather than xmalloc,
to avoid pathological overflow.
gl/lib/heap.c