Message79772
| Author |
pitrou |
| Recipients |
pitrou |
| Date |
2009年01月13日.19:59:21 |
| SpamBayes Score |
0.035624053 |
| Marked as misclassified |
No |
| Message-id |
<1231876763.04.0.950867144377.issue4935@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a patch. The idea is to use unsigned arithmetic instead of
signed, and to check for overflows by comparing with PY_SSIZE_T_MAX.
(the exact reason of the crash is unknown, it looks like either a
compiler bug or a mis-optimization as (i < 0) returns 0 while i is
-0x7FFFFFFF) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月13日 19:59:23 | pitrou | set | recipients:
+ pitrou |
| 2009年01月13日 19:59:23 | pitrou | set | messageid: <1231876763.04.0.950867144377.issue4935@psf.upfronthosting.co.za> |
| 2009年01月13日 19:59:22 | pitrou | link | issue4935 messages |
| 2009年01月13日 19:59:22 | pitrou | create |
|