Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Do not usetempfile.mktemp() for creating named pipes on Windows #137335

Closed
Assignees
serhiy-storchaka
Labels
3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-asynciotopic-multiprocessingtype-bugAn unexpected behavior, bug, or error
@lighting9999

Description

@lighting9999

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)))37

Linked PRs

Metadata

Metadata

Labels

3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-asynciotopic-multiprocessingtype-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp