Repository navigation
Commit 3f8cebf
committed
gh-155877: Reject a NUL cell in curses.complexstr() from an iterable
GH-156158 rejected a NUL in complexstr() given a str, but the iterable
path packed each item without that check, so the example from the issue
still built and addstr() dropped every cell after the NUL.1 parent e5ef47e commit 3f8cebf
2 files changed
Lines changed: 29 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
1141 | 1143 | | |
1142 | 1144 | | |
1143 | 1145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
1303 | | - | |
1304 | 1303 | | |
1305 | | - | |
1306 | | - | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
1307 | 1308 | | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
1311 | | - | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1312 | 1332 | | |
1313 | 1333 | | |
1314 | 1334 | | |
| |||
0 commit comments