Repository navigation
Commit 5221a10
bpo-35714: Reject null characters in struct format strings (pythonGH-16928)
struct.error is now raised if there is a null character in a struct
format string.
(cherry picked from commit 3f59b55)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>1 parent a729f4a commit 5221a10
3 files changed
Lines changed: 15 additions & 0 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
674 | 682 | | |
675 | 683 | | |
676 | 684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1296 | 1296 | | |
1297 | 1297 | | |
1298 | 1298 | | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
1299 | 1304 | | |
1300 | 1305 | | |
1301 | 1306 | | |
| |||
0 commit comments