Author boya
Recipients belopolsky, boya, gregory.p.smith, jnferguson, lemburg, nnorwitz
Date 2009-09-01.22:59:04
SpamBayes Score 0.00644674
Marked as misclassified No
Message-id <1251845945.8.0.663171060723.issue2620@psf.upfronthosting.co.za>
In-reply-to
Content
In Python/pyarena.c:

block_new(size_t size)
{
	/* Allocate header and block as one unit.
	   ab_mem points just past header. */
	block *b = (block *)malloc(sizeof(block) + size);
        ...
}

Should a check for overflow of "size" also be performed before calling
"malloc"?
History
Date User Action Args
2009-09-01 22:59:06boyasetrecipients: + boya, lemburg, nnorwitz, gregory.p.smith, belopolsky, jnferguson
2009-09-01 22:59:05boyasetmessageid: <1251845945.8.0.663171060723.issue2620@psf.upfronthosting.co.za>
2009-09-01 22:59:04boyalinkissue2620 messages
2009-09-01 22:59:04boyacreate