]> granicus.if.org Git - gc/commit
Fix calloc() overflow
authorXi Wang <xi.wang@gmail.com>
Wed, 14 Mar 2012 20:46:49 +0000 (04:46 +0800)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 15 Mar 2012 15:46:02 +0000 (19:46 +0400)
commit65c0ef9421c5590be48b48f1f9c18e86c99ad1fa
tree351dcc8bb09e00010fa41bc1c1a80b2f0039e545
parent9a52167341678e24cb1fecd94f719b78e0311fc8
Fix calloc() overflow

* malloc.c (calloc): Check multiplication overflow in calloc(),
assuming REDIRECT_MALLOC.
malloc.c