]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-115886: Handle embedded null characters in shared memory name (GH-115887...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 25 Feb 2024 11:09:28 +0000 (13:09 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 11:09:28 +0000 (11:09 +0000)
commit116375eb04f38fa4be1058b1f2f0443f709cf9bf
treedeb0f835c542ec13122f12fe4e2a3668615ce501
parent6dbf85ce546dcb7438468e04e931cf9503b84263
[3.12] gh-115886: Handle embedded null characters in shared memory name (GH-115887) (GH-115906)

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