]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-115886: Handle embedded null characters in shared memory name (GH-115887)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 25 Feb 2024 09:31:03 +0000 (11:31 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 09:31:03 +0000 (11:31 +0200)
commit79811ededd160b6e8bcfbe4b0f9d5b4589280f19
tree1e9378cb6b92d5e6fcc60f896b158ae81e87738c
parent5770006ffac2abd4f1c9fd33bf5015c9ef023576
gh-115886: Handle embedded null characters in shared memory name (GH-115887)

shm_open() and shm_unlink() now check for embedded null characters in
the name and raise an error instead of silently truncating it.
Lib/test/_test_multiprocessing.py
Misc/NEWS.d/next/Library/2024-02-24-18-48-14.gh-issue-115886.rgM6AF.rst [new file with mode: 0644]
Modules/_multiprocessing/posixshmem.c