[mythtv-commits] Ticket #11598: Patch to check the success of setsockopt in httprequest.cpp - fixes coverity 746751 and 746752

MythTV noreply at mythtv.org
Sat Jun 15 17:58:20 UTC 2013


#11598: Patch to check the success of setsockopt in httprequest.cpp - fixes
coverity 746751 and 746752
-------------------------------------------------+-------------------------
 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:6c84654b168a875ffdf9230e291ef630f21267af/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="6c84654b168a875ffdf9230e291ef630f21267af"
 Check the success of setsockopt

 Static analysis (coverity) reported a defect for not checking
 the return from setsockopt.  Put in the check, and log if the
 setsockopt fails (unlikely).

 Fixes coverity 746751 and 746752
 (cherry picked from commit 8ec9a2d38c3ce94249382dfdc9d8a6ab66831356)

 Fixes #11598

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

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


More information about the mythtv-commits mailing list