Message92146
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"? |
|
Date |
User |
Action |
Args |
2009-09-01 22:59:06 | boya | set | recipients:
+ boya, lemburg, nnorwitz, gregory.p.smith, belopolsky, jnferguson |
2009-09-01 22:59:05 | boya | set | messageid: <1251845945.8.0.663171060723.issue2620@psf.upfronthosting.co.za> |
2009-09-01 22:59:04 | boya | link | issue2620 messages |
2009-09-01 22:59:04 | boya | create | |
|