Opened 2 years ago
Closed 2 years ago
PATCH crash in mythtranscode
|Reported by:||mythtv@…||Owned by:|
|Component:||MythTV - Mythtranscode||Version:||Unspecified|
If there are a great many audio frames without intervening video frames, then ab_count can over run the length of the buffers it indexes. The simple fix is to use allocated buffers and grow them as needed.
There are patches for master, fixes/0.24 and jyavenard/backports/fixes/0.24 on my fork at https://github.com/Glidos/mythtv. The commits are labelled "Handle out of range ab_count". The other commits on those branches relate to Ticket #10008, which also fixes problems in mythtranscode.