Opened 12 years ago

Closed 12 years ago

#5081 closed defect (duplicate)

AvFormatDecoder::ScanDSMCCStreams needs to check ic before dereferencing it

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In AvFormatDecoder::ScanDSMCCStreams there is a check of a member of ic: if (!ic->cur_pmt_sect)

But ic needs to be checked before it is dereferenced.

Attachments (1)

libs_libmythtv_avformatdecoder.cpp-check-for-null-in-ScanDSMCCStreams.patch (747 bytes) - added by Erik Hovland <erik@…> 12 years ago.
check ic before dereferencing it

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Erik Hovland <erik@…>

check ic before dereferencing it

comment:1 Changed 12 years ago by danielk

Resolution: duplicate
Status: newclosed

dup #5298

Note: See TracTickets for help on using tickets.