.forge/issues/86638bd1-4ac6-4330-9f96-e48b1a46492f/issue.md 1.3 KiB 33 lines Raw

id: 86638bd1-4ac6-4330-9f96-e48b1a46492f title: 'build: bound and validate timestamps (hostile dates panic or normalize)' state: closed labels:


What

parse_ts_secs (src/build.rs:525) accepts arbitrary years and only checks 1..=31 for the day.

Reproduced

An issue file with the hostile created values; hu13 build exits 101 in debug.

Impact

A repo-controlled .forge timestamp crashes the build (DoS) or renders a date that was never written. Users reviewing pages see contradictory dates.

Fix

view raw