Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 28, 2026

mmap() returns MAP_FAILED ((void*)-1) on error, not NULL. The current
check never detects mmap failures, so jitdump initialization proceeds
even when the memory mapping fails.
(cherry picked from commit 8fe8a94)

Co-authored-by: stratakis cstratak@redhat.com

…honGH-143713)

mmap() returns MAP_FAILED ((void*)-1) on error, not NULL. The current
check never detects mmap failures, so jitdump initialization proceeds
even when the memory mapping fails.
(cherry picked from commit 8fe8a94)

Co-authored-by: stratakis <cstratak@redhat.com>
@vstinner vstinner enabled auto-merge (squash) January 28, 2026 13:51
@vstinner vstinner merged commit 157e946 into python:3.14 Jan 28, 2026
49 checks passed
@miss-islington miss-islington deleted the backport-8fe8a94-3.14 branch January 28, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants