Message116700
When creating an int overflow via a subtraction operation with a datetime object and a timedelta object, the resulting datetime object can cause a segmentation fault when the ctime method is called.
Segmentation Fault occurred on python 2.6.5 on 64 bit ubuntu lucid.
Code as follows:
from datetime import datetime, timedelta
(datetime.now() - timedelta(734395)).ctime() |
|
Date |
User |
Action |
Args |
2010-09-17 18:18:02 | bernie9998 | set | recipients:
+ bernie9998 |
2010-09-17 18:18:02 | bernie9998 | set | messageid: <1284747482.26.0.727712350645.issue9888@psf.upfronthosting.co.za> |
2010-09-17 18:18:00 | bernie9998 | link | issue9888 messages |
2010-09-17 18:17:59 | bernie9998 | create | |
|