Commit d0f2948
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 ac82ec4 commit d0f2948
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 | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments