ExtensionFileLoader.load_module
aborts when initialized with a path containing null-bytes
#127208
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-importlib
type-crash
A hard crash of the interpreter, possibly with a core dump
Crash report
What happened?
It's possible to abort a debug build by initializing a
_frozen_importlib_external.ExtensionFileLoader
with a path containing null-bytes, then callingload_module()
:Abort message:
Found using fusil by @vstinner.
CPython versions tested on:
3.12, 3.13, 3.14, CPython main branch
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
Python 3.14.0a2+ (heads/main:0af4ec3, Nov 20 2024, 21:45:19) [GCC 13.2.0]
The text was updated successfully, but these errors were encountered: