Opened 10 years ago

Closed 10 years ago

#7062 closed defect (fixed)

Check pointers before dereferencing in libmyth

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

Description

There are at least two places where pointers probably should be checked in libmyth.

Attachments (1)

libs_libmyth-pointer-checks (1.5 KB) - added by Erik Hovland <erik@…> 10 years ago.
Checks the pointers given by system calls.

Download all attachments as: .zip

Change History (2)

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

Attachment: libs_libmyth-pointer-checks added

Checks the pointers given by system calls.

comment:1 Changed 10 years ago by sphery

Resolution: fixed
Status: newclosed

(In [21944]) Fixes #7062. Check pointers given by system calls using slightly modified version of Erik's patch.

Also, while I was in mediamonitor-unix.cpp, I changed back to important the non-udevinfo-related verbose Nigel changed in [21360] due to my miscommunicating a request to suppress only the udevinfo failure messages. Refs #6866.

Note: See TracTickets for help on using tickets.