Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#11554 closed Patch - Bug Fix (Fixed)
Patch for unchecked return value in lirc.cpp (coverity defect)
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - User Interface Library | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Static analysis (coverity) identifies that the result from setsockopt is not checked in lirc.cpp. This patch checks the return code, and issues a log message if the setting was not successful (matches previous code fragment reporting on fcntl errors). Closes a coverity defect (refid unavailable).
https://github.com/garybuhrmaster/mythtv/commit/0ae45b8598110898f4779f3bdc826e1ce5abb005
Change History (3)
Note: See
TracTickets for help on using
tickets.
In b578a5e6444ee5d04c00387d233ab79ddba691a3/mythtv:
(The changeset message doesn't reference this ticket)