[BUG] Release asset FreeRTOS-KernelV11.3.2.zip has the files of main, not of the tag V11.3.2
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- c, git, github
- 领域
- build-system, release
调研方向
首先将发布资源与提交 8a59a4b19bf7 上的标签 V11.3.2 进行比较,尤其检查 include/task.h 和源文件版本头。检查仓库的发布资源生成流程,确定为何使用了分支而不是标签,然后从标签重新构建资源,并验证其内容和版本字符串。完成标准是 FreeRTOS-KernelV11.3.2.zip 包含标签 V11.3.2 中的文件,包括预期的版本行。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
The release asset FreeRTOS-KernelV11.3.2.zip on the V11.3.2 release page does not hold the files of the tag V11.3.2.
- In the zip, the first line of each source file says
FreeRTOS Kernel <DEVELOPMENT BRANCH>. - In the zip,
include/task.hsaystskKERNEL_VERSION_NUMBER "V11.1.0+",tskKERNEL_VERSION_MINOR 1andtskKERNEL_VERSION_BUILD 0. - In the tag
V11.3.2(commit 8a59a4b19bf72977819feddef87d41163ced7004, on the branch11.3.2), the same files sayFreeRTOS Kernel V11.3.2and"V11.3.2".
We compared the git blob hash of 41 source files in the zip with the git trees: the core .c files, include/, portable/GCC/ARM_CM33_NTZ/non_secure, portable/MemMang and History.txt. All 41 match commit 640d0c43705e64cd53f46b31d882de6cd8433933 ("Add release note for V11.3.2 (#1514)"). That commit is the head of main and of a branch named V11.3.2. None of the 41 files match the tag, because the tag adds the four [AUTO][RELEASE] commits that set the version.
There is a branch and a tag with the same name, V11.3.2. We think the asset was built from the branch. The GitHub API also resolves the name to the branch, for example GET /repos/FreeRTOS/FreeRTOS-Kernel/git/trees/V11.3.2.
Impact
- Users who take the kernel from the asset get files that say V11.1.0+.
- An SBOM made from these files shows FreeRTOS-Kernel 11.1.0. A scanner then lists advisories that are fixed in later versions, for example the four advisories of 2026-08-21 that V11.3.1 fixed.
- The code is the same as in the tag. Only the version lines are different.
Target
Not target specific. The problem is in the release asset.
Host
Not host specific.
To Reproduce
- Download
FreeRTOS-KernelV11.3.2.zipfrom https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V11.3.2 (SHA-256 d9a800ad99b68bbd70345d3c04612a15e8cd73ad816fe300e55d92286254ab81). - Open
FreeRTOS-KernelV11.3.2/include/task.h. - It says
tskKERNEL_VERSION_NUMBER "V11.1.0+". - Open
include/task.hin the tagV11.3.2. It says"V11.3.2".
Expected behavior
The asset holds the files of the tag V11.3.2, with V11.3.2 in task.h and in the first line of each file.
Additional context
- A possible fix: build the asset again from the tag commit 8a59a4b19bf7, and remove or rename the branch
V11.3.2, so that the name only points to the tag. - We are not blocked. We took the files of the tag and checked each file by its git hash.
- 主要语言
- C
- 星标
- 4.6k
- 派生
- 1.6k
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FreeRTOS/FreeRTOS-Kernel 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
FreeRTOS/FreeRTOS-Kernel#1542 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
FreeRTOS/FreeRTOS-Kernel#1494 · 3 条评论 ·
维护者通常 3 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
FreeRTOS/FreeRTOS-Kernel#1554 ·
维护者通常 3 天内回复
-
[BUG] event_wait_timed can't return false可能已有人在做 @TedLyngmo 于 39 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 38/100
FreeRTOS/FreeRTOS-Kernel#1546 ·
维护者通常 3 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 22/100
FreeRTOS/FreeRTOS-Kernel#1545 ·
维护者通常 3 天内回复
查看 FreeRTOS/FreeRTOS-Kernel 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 1/5 1 小时以内 新手友好度 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
qoretechnologies/qore#8222 ·
维护者通常 1 天内回复
-
c easy first-contributor first-contributors good first issue help wanted up-for-grabs
难度 1/5 1-3 小时 新手友好度 96/100
fork-commit-merge/fork-commit-merge#8696 ·
维护者通常 1 天内回复