Phar timestamp is 32-bit
未关闭
还没有人认领这个 Issue。
Bug
Extension: phar
Status: Verified
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
From the definition of the entry info:
typedef struct _phar_entry_info {
/* first bytes are exactly as in file */
uint32_t uncompressed_filesize;
uint32_t timestamp;
We can see that the timestamp is 32-bit... This will give problems in the near future and we should audit Phar's code such that this issue is gone. This might also imply changes to the file format.
PHP Version
All
Operating System
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 中显示的 _phar_entry_info 定义开始,审查使用其 timestamp 字段的 Phar 代码路径。完成的标准是:32 位 timestamp 限制以及任何所需的文件格式更改都已在 Phar 中得到处理。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100