Validate git history revisions
fix(tui): validate git history revisions
Validate git history revisions9a34b5-fix-validate-git-history-revisions-cve-2026-75913fixvalidate git history revisions tui
Committed by Hmbown
commit message
fix(tui): validate git history revisions
Reject empty, option-shaped, or control-character revisions before invoking git history helpers. The focused tests cover show and blame inputs at the tool boundary.Editor assessment
This commit patches CVE-2026-75913. The subject, validate git history revisions, is clear and imperative, and scope tui locates the change. The body explains that empty, option-shaped and control-character revisions are rejected before the git history helpers run, which implicitly closes argument-injection paths, and it points to focused tests for show and blame inputs. It is efficient but shallow: it never states who supplies those revisions or what previously happened when a value began with a dash. The result is a correct, readable note with little teaching depth.