Guard unchecked slice and map indexing against panics - #501
Open
KillerX wants to merge 2 commits into
Open
Conversation
KillerX
force-pushed
the
fix/19-panic-indexing
branch
from
August 21, 2026 10:59
765d296 to
8b586d4
Compare
MultitrackMux and the Multitrack ingest workflow now error on empty input instead of panicking on files[0]; the playout mux stream-picker closures report exhausted or missing languages as errors instead of panicking mid-argument-build; GetInOut treats a present-but-empty title slice the same as a missing one; and the trigger UI validates form-supplied resolution indexes and answers 400 instead of crashing on out-of-range values. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
KillerX
force-pushed
the
fix/19-panic-indexing
branch
from
August 21, 2026 11:09
8b586d4 to
d9babd3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Empty-input and missing-key indexing in MultitrackMux, the ingest multitrack workflow, playout mux stream maps, vsapi GetInOut, and trigger_ui resolution indexes from form input now return errors / HTTP 400 instead of panicking.
Part of the stacked bugfix series fix/00 → fix/20; based on
fix/18-crop-shorts-ffprobe.🤖 Generated with Claude Code