Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

A corrupt remote cache entry can crash `vp run`

Đã đóng
#780 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/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
Lĩnh vực
cli

Hướng nghiên cứu

Start at the remote cache read path used by vp run, following the context from issue #756, and inspect how the duration's seconds and nanoseconds are decoded. Done means malformed or overflowing duration fields produce a cache miss rather than a panic; run the relevant remote-cache checks if available.

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

Mô tả

remote cache

A cache entry stores the task's duration as seconds plus nanoseconds. When decoding an entry, vp run builds the duration without checking those fields, and values that overflow make it panic. Release builds abort on panic, so one corrupt or malicious entry in the remote cache kills the whole run instead of being treated as a miss.

Expected: an entry that doesn't decode is a cache miss, like other corrupt remote entries.

Affects remote cache reads (#756).

Ngôn ngữ chính
Rust
Star
468
Fork
42
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
46

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 voidzero-dev/vite-task

Tất cả issue của voidzero-dev/vite-task

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.