]> 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 08:46:46 +0000 (16:46 +0800)
commite10c1eb9908c2774c16b3148b30d2f3823d66a9a
treeaed4e91c9347b7b2bea04a7bc14190d55b70d205
parenta268866404003fcdd1183a9f0fc022218aa6d022
Fix calloc() overflow

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