Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

A corrupt remote cache entry can crash `vp run`

Geschlossen
#780 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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).

Vorherrschende Sprache
Rust
Sterne
473
Forks
44
Ø Merge
1 T. 7 Min.
Gemergte PRs (30 T.)
56

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus voidzero-dev/vite-task

Alle Issues in voidzero-dev/vite-task

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.