Opened 12 years ago

Closed 12 years ago

#5154 closed defect (fixed)

rb and rbi are not initialized to null and may be passed uninitialized

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


It is possible in MPEG2fixup::AddFrame?() that the pointers rb and rbi could pass through the function uninitialized. They should be initialized to null and then checked for null before being passed to any callers.

Attachments (1)

programs_mythtranscode_mpeg2fix.cpp-initialize-rb-pointers.patch (1.1 KB) - added by Erik Hovland <erik@…> 12 years ago.
initialize rb and rbi, then check them for null

Download all attachments as: .zip

Change History (2)

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

initialize rb and rbi, then check them for null

comment:1 Changed 12 years ago by greg

Resolution: fixed
Status: newclosed

(In [17038]) Ensure ringbuffer pointers are initialized. Closes #5154

Patch by Erik Hovland

Note: See TracTickets for help on using tickets.