Skip to content

Don't read past EOF while reading invalid FLVs, and improve debug logs#413

Merged
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-9377507-20251126-134805
Nov 26, 2025
Merged

Don't read past EOF while reading invalid FLVs, and improve debug logs#413
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-9377507-20251126-134805

Conversation

@kdkd
Copy link
Copy Markdown

@kdkd kdkd commented Nov 26, 2025

Commit from kdkd fork 9377507

FLVReader: Double check length parameters when reading a FLV.

Fix that close() logged file.getName() even when the reader was constructed
with just an IoBuffer (file is null), leading to NullPointerException and
leaking the channel/buffer cleanup.


Double check length parameters when reading a FLV.

Fix that close() logged file.getName() even when the reader was constructed
with just an IoBuffer (file is null), leading to NullPointerException and
leaking the channel/buffer cleanup.
@mondain mondain merged commit eb33db1 into Red5:main Nov 26, 2025
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