Opened 13 years ago

Closed 13 years ago

#4829 closed defect (fixed)

always check return value of stat

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 function myth_get_approximate_large_file_size() does not check the return value of stat. It should.

Attachments (1)

libs_libmyth_util.cpp-check-stat.patch (787 bytes) - added by Erik Hovland <erik@…> 13 years ago.
checks stat for errors

Download all attachments as: .zip

Change History (3)

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

checks stat 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 [16350]) Check stat() in myth_get_approximate_large_file_size(). Patch by Erik Hovland. Closes #4829

Note: See TracTickets for help on using tickets.