New GitHub issue #115886 from serhiy-storchaka:<br>

<hr>

<pre>
# Bug report

Posix functions `shm_open()` and `shm_unlink()` take a null terminated C strings using `PyUnicode_AsUTF8AndSize(path, NULL)` which returns a pointer to char buffer which can include embedded null characters. When interpreted as C strings they are terminated at embedded null characters.

</pre>

<hr>

<a href="https://github.com/python/cpython/issues/115886">View on GitHub</a>
<p>Labels: type-bug, 3.11, 3.12, 3.13</p>
<p>Assignee: </p>