Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Closed
Description
I change the pull requests to#137333, replace the mktemp() function.
bandit Tools:
Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp).Severity: Medium Confidence: HighCWE: CWE-377 (https://cwe.mitre.org/data/definitions/377.html)More Info: https://bandit.readthedocs.io/en/1.8.6/blacklists/blacklist_calls.html#b306-mktemp-qLocation: C:\Users\Administrator\Desktop\cpython\lib\asyncio\windows_utils.py:34:1433 """Like os.pipe() but with overlapped support and using handles not fds."""34 address = tempfile.mktemp(35 prefix=r'\.\pipe\python-pipe-{:d}-{:d}-'.format(36 os.getpid(), next(_mmap_counter)))37Linked PRs
- gh-137335: Remove use of
mktemp()inasyncio.windows_utils#137333 - gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows #137389
- [3.14] gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows (GH-137389) #145170
- [3.13] gh-137335: Fix unlikely name conflicts for named pipes in multiprocessing and asyncio on Windows (GH-137389) #145171
Metadata
Metadata
Assignees
Labels
Projects
Status
Done