Opened 17 years ago
Closed 17 years ago
#5524 closed defect (fixed)
make sure fopen worked before doing a bunch of work on a file handle
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | trivial | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
UpdatePositionMap uses fopen but does not check the value returned to see if it was not null. This can lead to bad problems when the file handle is used.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
check return value of fopen before using