Skip to content

Fix panic when WebVTT cue has missing end time boundary#142

Merged
asticode merged 1 commit into
asticode:masterfrom
fancybits:fix-webvtt-panic
Apr 21, 2026
Merged

Fix panic when WebVTT cue has missing end time boundary#142
asticode merged 1 commit into
asticode:masterfrom
fancybits:fix-webvtt-panic

Conversation

@eric

@eric eric commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Previously, parsing a WebVTT line like '00:00:01.000 -->' with no end timestamp panicked with an index out of range error. Now return a descriptive error instead.

Previously, parsing a WebVTT line like '00:00:01.000 -->' with no end
timestamp panicked with an index out of range error. Now return a
descriptive error instead.
@asticode asticode merged commit 4c9fa27 into asticode:master Apr 21, 2026
1 check passed
@asticode

Copy link
Copy Markdown
Owner

Thanks for the PR ❤️

Let me know whether you need a tag 👍

@eric

eric commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

That would be great! Thanks!

@asticode

Copy link
Copy Markdown
Owner

That would be great! Thanks!

FYI I've created a v0.40.0 tag 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants