Opened 12 years ago

Closed 12 years ago

#5091 closed defect (duplicate)

Do not pass null pointer to m_LinkEffect.Initialise()

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

Description

If you pass a null pointer to m_LinkEffect.Initialise() it will segfault because it will dereference that pointer.

Attachments (1)

libs_libmythfreemheg_Link.cpp-check-for-null.patch (625 bytes) - added by Erik Hovland <erik@…> 12 years ago.
check pointer before passing it to function that dereferences it

Download all attachments as: .zip

Change History (2)

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

check pointer before passing it to function that dereferences it

comment:1 Changed 12 years ago by Isaac Richards

Resolution: duplicate
Status: newclosed

Closing in favor of #5236

Note: See TracTickets for help on using tickets.