Commit 8a03a63
pythongh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (pythonGH-145507)
(cherry picked from commit a51b1b5)
Co-authored-by: Steve Dower <steve.dower@python.org>1 parent 27c6454 commit 8a03a63
2 files changed
Lines changed: 3 additions & 1 deletion
File tree
- Lib/importlib
- Misc/NEWS.d/next/Security
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
| 1072 | + | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments