[BUG] Release asset FreeRTOS-KernelV11.3.2.zip has the files of main, not of the tag V11.3.2

未关闭 适合新手
#1,520 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
c, git, github

调研方向

首先将发布资源与提交 8a59a4b19bf7 上的标签 V11.3.2 进行比较,尤其检查 include/task.h 和源文件版本头。检查仓库的发布资源生成流程,确定为何使用了分支而不是标签,然后从标签重新构建资源,并验证其内容和版本字符串。完成标准是 FreeRTOS-KernelV11.3.2.zip 包含标签 V11.3.2 中的文件,包括预期的版本行。

由索引模型根据 Issue 内容生成。

描述

bug

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.h says tskKERNEL_VERSION_NUMBER "V11.1.0+", tskKERNEL_VERSION_MINOR 1 and tskKERNEL_VERSION_BUILD 0.
  • In the tag V11.3.2 (commit 8a59a4b19bf72977819feddef87d41163ced7004, on the branch 11.3.2), the same files say FreeRTOS Kernel V11.3.2 and "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

  1. Download FreeRTOS-KernelV11.3.2.zip from https://github.com/FreeRTOS/FreeRTOS-Kernel/releases/tag/V11.3.2 (SHA-256 d9a800ad99b68bbd70345d3c04612a15e8cd73ad816fe300e55d92286254ab81).
  2. Open FreeRTOS-KernelV11.3.2/include/task.h.
  3. It says tskKERNEL_VERSION_NUMBER "V11.1.0+".
  4. Open include/task.h in the tag V11.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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FreeRTOS/FreeRTOS-Kernel 的其他 Issue

查看 FreeRTOS/FreeRTOS-Kernel 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。