We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2811a commit 31bdba4Copy full SHA for 31bdba4
‎Misc/NEWS.d/next/Library/2025-08-04-00-25-48.gh-issue-137335.yRgZib.rst‎
@@ -0,0 +1,13 @@
1
+matemp() function is unsafe,so I use safety function.
2
+bandit tool:
3
+```
4
+Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp).
5
+Severity: Medium Confidence: High
6
+CWE: CWE-377 (https://cwe.mitre.org/data/definitions/377.html)
7
+More Info: https://bandit.readthedocs.io/en/1.8.6/blacklists/blacklist_calls.html#b306-mktemp-q
8
+Location: C:\Users\Administrator\Desktop\cpython\lib\asyncio\windows_utils.py:34:14
9
+33 """Like os.pipe() but with overlapped support and using handles not fds."""
10
+34 address = tempfile.mktemp(
11
+35 prefix=r'\.\pipe\python-pipe-{:d}-{:d}-'.format(
12
+36 os.getpid(), next(_mmap_counter)))
13
0 commit comments