Race condition in shutil.copyfile(): source file replaced file during copy
Đang mở
Chưa có ai nhận issue này.
3.8 (EOL)
stdlib
type-security
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Issue đề cập đến shutil.copyfile(); hãy bắt đầu bằng việc xem xét entry point đó và PR gh-136836 được liên kết. Công việc được coi là hoàn tất khi race condition trong quá trình thay thế tệp nguồn được giải quyết và hành vi resulting được xác minh bằng phạm vi kiểm thử hồi quy phù hợp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 15/100