Commit b86c549
committed
Fix core dump whenever PyList_Reverse() was called.
This fixes SF bug #132008, reported by Warren J. Hack.
The copyright for this patch (and this patch only) belongs to CNRI, as
part of the (yet to be issued) 1.6.1 release.
This is now checked into the HEAD branch. Tim will check in a test
case to check for this specific bug, and an assertion in
PyArgs_ParseTuple() to catch similar bugs in the future.1 parent 5bba231 commit b86c549
1 file changed
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1268 | 1268 | | |
1269 | 1269 | | |
1270 | 1270 | | |
1271 | | - | |
1272 | | - | |
| 1271 | + | |
| 1272 | + | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | 1275 | | |
1276 | 1276 | | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | 1277 | | |
1281 | 1278 | | |
1282 | | - | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1283 | 1282 | | |
1284 | 1283 | | |
1285 | 1284 | | |
1286 | 1285 | | |
1287 | 1286 | | |
1288 | | - | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1289 | 1295 | | |
1290 | 1296 | | |
1291 | 1297 | | |
| |||
1297 | 1303 | | |
1298 | 1304 | | |
1299 | 1305 | | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
| 1306 | + | |
1304 | 1307 | | |
1305 | 1308 | | |
1306 | 1309 | | |
| |||
0 commit comments