Commit f2f8c86
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 3044707 commit f2f8c86
File tree
2 files changed
+3
-1
lines changed- Lib/importlib
- Misc/NEWS.d/next/Security
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | | - | |
| 1129 | + | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | 1132 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments