Opened 12 years ago

Closed 12 years ago

#5080 closed defect (fixed)

AvFormatDecoder::ScanStreams needs to check ringBuffer for null again

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

Description

Before ScanStreams? can do a ringBuffer->isDVD() it always has to do a check of the ringBuffer pointer itself. One of those checks was missed.

Attachments (2)

libs_libmythtv_avformatdecoder.cpp-add-ringbuffer-null-check.patch (772 bytes) - added by Erik Hovland <erik@…> 12 years ago.
checks ringBuffer before dereferencing it
libs_libmythtv_avformatdecoder.cpp-resolve-ringBuffer-null-check-in-ScanStreams.patch (1.6 KB) - added by Erik Hovland <erik@…> 12 years ago.
additional checks for null of ringbuffer in ScanStreams?

Download all attachments as: .zip

Change History (5)

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

checks ringBuffer before dereferencing it

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

additional checks for null of ringbuffer in ScanStreams?

comment:1 Changed 12 years ago by skamithi

Owner: changed from Isaac Richards to skamithi
Status: newassigned

comment:2 Changed 12 years ago by skamithi

(In [16886]) Refs #5080. AvFormatDecoder::ScanStreams? needs to check ringBuffer for null

comment:3 Changed 12 years ago by skamithi

Resolution: fixed
Status: assignedclosed

(In [16887]) Closes #5080. AvFormatDecoder::ScanStreams? needs to check ringBuffer for null . commit to trunk.

Note: See TracTickets for help on using tickets.