Files
libfreemkv/docs/disc-profile.md
T
Matthew Jackson 6e14fc0c0c libfreemkv: 1.7.0 groundwork — sector-recycle soundness + CI hardening
Security
- Remove the unsafe Vec::set_len over recycled sector buffers — UB reachable
  from safe code (GHSA-j8ww-f5fg-9pmh, low). Uses Vec::resize; pooling unchanged.

CI / tooling
- clippy on stable with the MSRV single-sourced from Cargo.toml; cargo-deny
  dependency-audit gate with first-party git sources allowed (#15); audience-based
  comment-guard (#17).

Docs
- README (keydb ownership, BD-J parser count), drive-access transport/reset
  notes, mux timeline module-doc links.
2026-09-02 12:40:55 -07:00

505 B

disc::profile

Everything in DiscProfile is DERIVED from the Disc model at construction: the Stream enum is split into three typed vectors (audio/video/subtitle), the qualifier / purpose enums are decomposed into booleans, and the "default track" selection is precomputed so downstream never recomputes it. Every field is always populated — a sensible default ("und" language, empty name, false flag) stands in where the model has nothing, so consumers never handle a bare Option.