[mythtv-commits] Ticket #11550: Patch for static analysis detected array index undefined in dvdringbuf.cpp

MythTV noreply at mythtv.org
Tue Jun 4 21:23:45 UTC 2013


#11550: Patch for static analysis detected array index undefined in dvdringbuf.cpp
-------------------------------------+-------------------------------------
 Reporter:  Gary Buhrmaster          |          Owner:  Gary Buhrmaster
  <gary.buhrmaster@…>                |  <gary.buhrmaster@…>
     Type:  Patch - Bug Fix          |         Status:  closed
 Priority:  minor                    |      Milestone:  unknown
Component:  MythTV - DVD Playback    |        Version:  Master Head
 Severity:  medium                   |     Resolution:  fixed
 Keywords:                           |  Ticket locked:  0
-------------------------------------+-------------------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

 * owner:   => Gary Buhrmaster <gary.buhrmaster@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:b578a5e6444ee5d04c00387d233ab79ddba691a3/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="b578a5e6444ee5d04c00387d233ab79ddba691a3"
 Check the return code from setsockopt (in lirc.cpp)

 Static analysis (coverity) identified that the return code
 from setsockopt was not checked.  This patch checks the
 return code, with a log message if the setting fails.
 (cherry picked from commit 0ae45b8598110898f4779f3bdc826e1ce5abb005)

 Signed-off-by: Stuart Morgan <smorgan at mythtv.org>

 Fixes #11550
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11550#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list