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

Đang mở Phù hợp với người mới
#1,520 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c, git, github
Lĩnh vực
build-system, release

Hướng nghiên cứu

Bắt đầu bằng cách so sánh gói phát hành với thẻ V11.3.2 tại commit 8a59a4b19bf7, đặc biệt là include/task.h và các header phiên bản trong tệp nguồn. Kiểm tra quy trình tạo gói phát hành của kho lưu trữ để xác định lý do nhánh được dùng thay vì thẻ, sau đó tạo lại gói từ thẻ và xác minh nội dung cùng các chuỗi phiên bản. Công việc hoàn tất khi FreeRTOS-KernelV11.3.2.zip chứa các tệp từ thẻ V11.3.2, bao gồm các dòng phiên bản dự kiến.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
C
Star
4.6k
Fork
1.6k
Merge trung bình
2 ngày 22 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FreeRTOS/FreeRTOS-Kernel

Tất cả issue của FreeRTOS/FreeRTOS-Kernel

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.