Message103704
Allocate more than 16 bytes on the stack is never a good idea. Eg. Linux does never resize the size automatically, and the only way to catch "allocatation failed" error is to handle the SIGSEGV signal...
Remove buf allocated on the stack by a buffer allocated on the heap is definitly a good ide :-) |
|
Date |
User |
Action |
Args |
2010-04-20 13:11:11 | vstinner | set | recipients:
+ vstinner, tim.peters, doko, pitrou, ezio.melotti, dmalcolm, liang, Thomas.Smith, neologix |
2010-04-20 13:11:11 | vstinner | set | messageid: <1271769071.65.0.442926804361.issue7332@psf.upfronthosting.co.za> |
2010-04-20 13:11:10 | vstinner | link | issue7332 messages |
2010-04-20 13:11:10 | vstinner | create | |
|