
Python 3.10-compatible implementation of the CVE-2026-31431 exploit, providing a workaround for missing os.splice in older Python versions.
python3.10 and below do not have os.splice, so I made a version that works on versions below 3.10 as well
Based on https://github.com/theori-io/copy-fail-CVE-2026-31431.