]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-115886: Handle embedded null characters in shared memory name (GH-115887...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 25 Feb 2024 11:12:07 +0000 (13:12 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 11:12:07 +0000 (11:12 +0000)
commitf2b1f6b8289fe138befd4683a3f7355053c1dcde
treea11bbfbe55c61ff67b94157cdecc9cf0eeafda7b
parentc6455ff0fd4a05a5b7ffeccb19a9ae30c66ffbe6
[3.11] gh-115886: Handle embedded null characters in shared memory name (GH-115887) (GH-115907)

shm_open() and shm_unlink() now check for embedded null characters in
the name and raise an error instead of silently truncating it.
(cherry picked from commit 79811ededd160b6e8bcfbe4b0f9d5b4589280f19)
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