Message116700
| Author |
bernie9998 |
| Recipients |
bernie9998 |
| Date |
2010年09月17日.18:17:56 |
| SpamBayes Score |
7.835745e-06 |
| Marked as misclassified |
No |
| Message-id |
<1284747482.26.0.727712350645.issue9888@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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() |
|
History
|
|---|
| 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 |
|