Opened 7 years ago

Closed 7 years ago

Last modified 7 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


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).

Change History (3)

comment:1 Changed 7 years ago by stuartm

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

comment:2 Changed 7 years ago by stuartm

Resolution: Fixed
Status: newclosed

In b578a5e6444ee5d04c00387d233ab79ddba691a3/mythtv:

(The changeset message doesn't reference this ticket)

comment:3 Changed 7 years ago by stuartm

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