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

オープン 初心者向け
#1,520 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FreeRTOS/FreeRTOS-Kernel のほかの issue

FreeRTOS/FreeRTOS-Kernel の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。