Opened 16 years ago
Closed 16 years ago
#5326 closed defect (fixed)
possible segfault in AvFormatDecoder::SetupAudioStream()
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
In AvFormatDecoder::SetupAudioStream?() codec_ctx could be null by the time it reaches line 4010. If it is dereferenced there it will segfault. This problem was introduced when ticket #5299 was fixed in svn revision r17268.
The possibility that this segfault happens is likely very small. But it does exist.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
makes sure codec_ctx is not null before dereferencing