Modify ↓
Ticket #5080 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
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
Change History
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythtv_avformatdecoder.cpp-add-ringbuffer-null-check.patch added
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythtv_avformatdecoder.cpp-resolve-ringBuffer-null-check-in-ScanStreams.patch added
additional checks for null of ringbuffer in ScanStreams?
comment:1 Changed 4 years ago by skamithi
- Owner changed from ijr to skamithi
- Status changed from new to assigned
comment:2 Changed 4 years ago by skamithi
(In [16886]) Refs #5080. AvFormatDecoder::ScanStreams? needs to check ringBuffer for null
comment:3 Changed 4 years ago by skamithi
- Status changed from assigned to closed
- Resolution set to fixed
(In [16887]) Closes #5080. AvFormatDecoder::ScanStreams? needs to check ringBuffer for null . commit to trunk.
Note: See
TracTickets for help on using
tickets.

checks ringBuffer before dereferencing it