Message79766
| Author |
pitrou |
| Recipients |
pitrou |
| Date |
2009年01月13日.18:50:38 |
| SpamBayes Score |
0.03042624 |
| Marked as misclassified |
No |
| Message-id |
<1231872639.69.0.60940480528.issue4935@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This happens on a 32-bit build on a 64-bit system, which happens to have
some interesting properties: for example, malloc() will happily allocate
memory larger than Py_SSIZE_T_MAX.
The crash is exactly triggered by the following snippet:
if sys.maxsize < (1 << 32) and struct.calcsize('P') == 4:
self.assertRaises(OverflowError,
self.marshal(b'\ta\n\tb').expandtabs,
sys.maxsize) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月13日 18:50:40 | pitrou | set | recipients:
+ pitrou |
| 2009年01月13日 18:50:39 | pitrou | set | messageid: <1231872639.69.0.60940480528.issue4935@psf.upfronthosting.co.za> |
| 2009年01月13日 18:50:38 | pitrou | link | issue4935 messages |
| 2009年01月13日 18:50:38 | pitrou | create |
|