Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11554 closed Patch - Bug Fix (Fixed)

Patch for unchecked return value in lirc.cpp (coverity defect)

Reported by: Gary Buhrmaster <gary.buhrmaster@…> 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)

comment:1 Changed 6 years ago by stuartm

Milestone: unknown
Type: Bug Report - GeneralPatch - Bug Fix

comment:2 Changed 6 years ago by stuartm

Resolution: Fixed
Status: newclosed

In b578a5e6444ee5d04c00387d233ab79ddba691a3/mythtv:

(The changeset message doesn't reference this ticket)

comment:3 Changed 6 years ago by stuartm

Milestone: 0.27
Note: See TracTickets for help on using tickets.