Opened 18 years ago

Closed 18 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@…> 18 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@…> 18 years ago.
additional checks for null of ringbuffer in ScanStreams

Download all attachments as: .zip

Change History (5)

by Erik Hovland <erik@…>, 18 years ago

checks ringBuffer before dereferencing it

by Erik Hovland <erik@…>, 18 years ago

additional checks for null of ringbuffer in ScanStreams

comment:1 by skamithi, 18 years ago

Owner: changed from Isaac Richards to skamithi
Status: newassigned

comment:2 by skamithi, 18 years ago

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

comment:3 by skamithi, 18 years ago

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.