Opened 13 years ago

Closed 13 years ago

#4824 closed defect (fixed)

make sure QFile::open worked before doing anything else with the QFile object

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


The QFile::open call should be checked before the QFile obect is worked on in mediamonitor-unix.cpp.

Attachments (1)

libs_libmyth_mediamonitor-unix.cpp-check-that-QFile-open-worked.patch (828 bytes) - added by Erik Hovland <erik@…> 13 years ago.
checks QFile::open() for errors

Download all attachments as: .zip

Change History (3)

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

checks QFile::open() for errors

comment:1 Changed 13 years ago by Isaac Richards

Milestone: 0.210.22

comment:2 Changed 13 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [16346]) Check that hotplug sys/block/*/removable file is readable. (slightly modified version of) patch from Erik Hovland. Closes #4824

Note: See TracTickets for help on using tickets.