[BUG] Release asset FreeRTOS-KernelV11.3.2.zip has the files of main, not of the tag V11.3.2
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ả
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.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FreeRTOS/FreeRTOS-Kernel
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FreeRTOS/FreeRTOS-Kernel#1542 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
FreeRTOS/FreeRTOS-Kernel#1494 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
FreeRTOS/FreeRTOS-Kernel#1554 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[BUG] event_wait_timed can't return falseCó thể đã có người làm @TedLyngmo đã nhận 39 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 38/100
FreeRTOS/FreeRTOS-Kernel#1546 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
FreeRTOS/FreeRTOS-Kernel#1545 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của FreeRTOS/FreeRTOS-Kernel
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
qoretechnologies/qore#8222 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
c easy first-contributor first-contributors good first issue help wanted up-for-grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 96/100
fork-commit-merge/fork-commit-merge#8696 ·
Maintainer thường phản hồi trong vòng 1 ngày