mirror of
https://github.com/freemkv/libfreemkv.git
synced 2026-10-07 18:13:10 +00:00
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.
10 lines
505 B
Markdown
10 lines
505 B
Markdown
# `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`.
|