Windows: exact build-number match rejects common builds (19042-19044, 18363, >22631)

Đang mở
#429 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 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust

Hướng nghiên cứu

Start at src/os/windows/mod.rs:108 and inspect the build-number matches in src/os/windows/structs.rs (about lines 78–302). The issue reports unsupported Windows builds but says the behavior was not reproduced under SIMICS, so first verify how those version tuples are handled and whether bindings cover newer builds. Done means the listed common builds are handled correctly and fuzzing startup no longer fails for them.

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

Mô tả

Where

  • src/os/windows/structs.rs (~14 match (maj, min, build) blocks, e.g. lines 78-302), reached from src/os/windows/mod.rs:108

Problem
Only 13 exact builds are accepted.

Impact
A guest on 19042/19043/19044 (incl. LTSC 2021) or 18363 fails with "Unsupported Windows version", which propagates and aborts fuzzing start.

Suggested fix
Normalise the build once (e.g. 18363→18362, 19042..=19044→19041) and match on that; newer builds need new bindings.

Status
Reported by static code review at 79972db; not yet re-verified line by line. Found by reading the code; not reproduced under SIMICS.

Ngôn ngữ chính
Rust
Star
335
Fork
26
Merge trung bình
1 ngày 50 phút
Pull request đã merge (30 ngày)
12

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 intel/tsffs

Tất cả issue của intel/tsffs

Issue tương tự

Thêm issue về Rust

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.