Opened 16 years ago
Closed 16 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)
Change History (2)
Changed 16 years ago by
Attachment: | programs_mythtranscode-null-return.patch added |
---|
Note: See
TracTickets for help on using
tickets.
check return value of fopen before using