PyStructSequence_New() doesn't validate its input type (crashes in os.wait3() and os.wait4() in case of a bad resource.struct_rusage)
Đang mở
Chưa có ai nhận issue này.
3.10
3.11
3.9 (EOL)
extension-modules
type-crash
- 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 | 31573 |
|---|---|
| Nosy | @vstinner, @serhiy-storchaka, @orenmn, @iritkatriel |
| 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-09-25.10:29:33.947>
labels = ['extension-modules', '3.10', '3.9', 'type-crash', '3.11']
title = "PyStructSequence_New() doesn't validate its input type (crashes in os.wait3() and os.wait4() in case of a bad resource.struct_rusage)"
updated_at = <Date 2021-10-18.23:14:00.500>
user = 'https://github.com/orenmn'
bugs.python.org fields:
activity = <Date 2021-10-18.23:14:00.500>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2017-09-25.10:29:33.947>
creator = 'Oren Milman'
dependencies = []
files = []
hgrepos = []
issue_num = 31573
keywords = ['patch']
message_count = 3.0
messages = ['302945', '302958', '404243']
nosy_count = 4.0
nosy_names = ['vstinner', 'serhiy.storchaka', 'Oren Milman', 'iritkatriel']
pr_nums = ['3750']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue31573'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
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
Bắt đầu bằng cách xác định PyStructSequence_New() và các điểm vào os.wait3() và os.wait4(), sau đó xem lại ngữ cảnh hiện có và PR #3750. Công việc được xem là hoàn tất khi một resource.struct_rusage không hợp lệ không còn khiến các lệnh gọi này bị crash và hành vi đó được bao phủ bởi một regression test 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
- 25/100