Race condition in shutil.copyfile(): source file replaced file during copy
Open
Nobody has claimed this yet.
3.8 (EOL)
stdlib
type-security
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names shutil.copyfile(); start by reviewing that entry point and the linked PR gh-136836. Done means resolving the source-file replacement race and verifying the resulting behavior with appropriate regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100