Undefined C behavior going beyond end of struct via a [1] arrays (C99 flexible arrays)
未关闭
还没有人认领这个 Issue。
3.11
build
interpreter-core
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 40120 |
|---|---|
| Nosy | @gpshead, @pitrou, @vstinner, @serhiy-storchaka, @colesbury, @pablogsal |
| 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 = 'https://github.com/gpshead'
closed_at = None
created_at = <Date 2020-03-30.21:04:23.697>
labels = ['interpreter-core', 'build', '3.11']
title = 'Undefined C behavior going beyond end of struct via a [1] arrays.'
updated_at = <Date 2022-01-21.23:32:19.727>
user = 'https://github.com/gpshead'
bugs.python.org fields:
activity = <Date 2022-01-21.23:32:19.727>
actor = 'gregory.p.smith'
assignee = 'gregory.p.smith'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-03-30.21:04:23.697>
creator = 'gregory.p.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 40120
keywords = ['patch']
message_count = 20.0
messages = ['365349', '365350', '365399', '365403', '365410', '365415', '365425', '365464', '365465', '365466', '365472', '365539', '365671', '365691', '365744', '365745', '366883', '411151', '411168', '411207']
nosy_count = 6.0
nosy_names = ['gregory.p.smith', 'pitrou', 'vstinner', 'serhiy.storchaka', 'colesbury', 'pablogsal']
pr_nums = ['19232']
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue40120'
versions = ['Python 3.11']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查从 bugs.python.org 迁移而来的 issue 40120 以及所引用的 PR python/cpython#19232。跟踪 CPython 中涉及 C99 [1] 数组的解释器核心和构建代码,然后验证 issue 中描述的未定义行为已被消除,且没有引入新的构建或解释器故障。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, python
- 领域
- build-system, compilers
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 15/100