[mythtv-commits] Ticket #11582: Patch for errant parenthesis in mmulticastsocketdevice.cpp - fixes coverity 746821

MythTV noreply at mythtv.org
Sun Jun 9 20:06:43 UTC 2013


#11582: Patch for errant parenthesis in mmulticastsocketdevice.cpp - fixes coverity
746821
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |          Owner:  dblain
     Type:  Patch - Bug Fix                      |         Status:  closed
 Priority:  minor                                |      Milestone:  unknown
Component:  MythTV - UPnP                        |        Version:  Master
 Severity:  medium                               |  Head
 Keywords:                                       |     Resolution:  fixed
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:47e3a598d7b7df59d868f0a766dd5f3e9bdc616f/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="47e3a598d7b7df59d868f0a766dd5f3e9bdc616f"
 Fix for (likely) typo in checking setsockopt return code

 There was a logic error due to an errant parenthesis
 that was (likely) intended to be used to check the
 return code from setsockopt, but instead resulted in
 a value of zero being used for the length of the
 operand.  This patch moves the right paren to where
 it should have been.

 Fixes coverity 746821
 Fixes #11582
 }}}

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


More information about the mythtv-commits mailing list