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.
18 lines
604 B
YAML
18 lines
604 B
YAML
name: comment-guard
|
|
|
|
# Caps explanatory prose by COMMENT INTENT (not visibility):
|
|
# //! / /*! module docs — unbounded (module-scoped, can't hide per-item text)
|
|
# /// / /** */ item docs — 8 prose lines (fenced ``` examples excluded)
|
|
# // / /* */ asides — 3 lines (single-blank-separated runs count as one)
|
|
# Overflow belongs in the module //! or docs/<topic>.md with a one-line // pointer.
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
comment-guard:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Run comment-guard
|
|
run: python3 ci/comment-guard.py
|