Opened 13 years ago

Closed 13 years ago

#5002 closed defect (fixed)

Missed one null check in cahgneset 16659

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

Description

In 16659 there was a change to libavformat/utils.c where some null checks were added to help with segfaulting in the internal dvd player. These checks are good.

But at line 884 there still needs to be a check for null of st->codec because it will be dereferenced in the next line in the call to av_parser_init().

Attachments (1)

libs_libavformat_utils.c-need-to-check-st-codec-again.patch (993 bytes) - added by Erik Hovland <erik@…> 13 years ago.
adds additional check for st->codec in null check conditional at line 884 in libavformat/utils.c

Download all attachments as: .zip

Change History (2)

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

adds additional check for st->codec in null check conditional at line 884 in libavformat/utils.c

comment:1 Changed 13 years ago by skamithi

Resolution: fixed
Status: newclosed

(In [16801]) Closes #5002, Refs #4925, Refs #4862. in line 884 of utils.c there still needs to be a check for null of st->codec because it will be dereferenced in the next line in the call to av_parser_init()

Note: See TracTickets for help on using tickets.