Race condition in shutil.copyfile(): source file replaced file during copy
オープン
まだ誰も着手していません。
3.8 (EOL)
stdlib
type-security
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 30400 |
|---|---|
| Nosy | @vstinner, @giampaolo, @zware, @pkmoore |
| PRs |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2017-05-18.20:22:00.056>
labels = ['type-security', '3.8', 'library']
title = 'Race condition in shutil.copyfile(): source file replaced file during copy'
updated_at = <Date 2018-08-14.05:17:08.289>
user = 'https://github.com/pkmoore'
bugs.python.org fields:
activity = <Date 2018-08-14.05:17:08.289>
actor = 'Preston Moore'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2017-05-18.20:22:00.056>
creator = 'Preston Moore'
dependencies = []
files = []
hgrepos = []
issue_num = 30400
keywords = []
message_count = 12.0
messages = ['293938', '293940', '296037', '321069', '321201', '321278', '321468', '321640', '321649', '321696', '322235', '323501']
nosy_count = 4.0
nosy_names = ['vstinner', 'giampaolo.rodola', 'zach.ware', 'Preston Moore']
pr_nums = ['1659']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'security'
url = 'https://bugs.python.org/issue30400'
versions = ['Python 3.8']
Linked PRs
- gh-136836
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue では shutil.copyfile() が挙げられています。まずそのエントリーポイントと、リンクされている PR gh-136836 を確認してください。ソースファイルの置換時の競合状態を解消し、その結果の動作を適切なリグレッションカバレッジで検証できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 15/100