[malloc] Avoid integer overflow for excessively large memory allocations
authorMichael Brown <mcb30@ipxe.org>
Tue, 29 Sep 2015 00:07:08 +0000 (01:07 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 29 Sep 2015 00:07:08 +0000 (01:07 +0100)
commitf3fbb5ff1c2d573067ba9b3ff245c689822dbdca
treec4cb7910d0a694cda9abe21dd7b6efa0a8915712
parent300a371bfbfee4b84e413ffc5cf800ee8f79a4fd
[malloc] Avoid integer overflow for excessively large memory allocations

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/malloc.c