[mythtv-commits] Ticket #11554: Patch for unchecked return value in lirc.cpp (coverity defect)

MythTV noreply at mythtv.org
Mon May 27 15:19:44 UTC 2013


#11554: Patch for unchecked return value in lirc.cpp (coverity defect)
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  stuartm
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Bug Report - General             |  Milestone:  unknown
     Priority:  minor                            |    Version:  Master Head
    Component:  MythTV - User Interface Library  |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 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

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11554>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list