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

MythTV noreply at mythtv.org
Wed Jun 12 22:44:40 UTC 2013


#11598: Patch to check the success of setsockopt in httprequest.cpp - fixes
coverity 746751 and 746752
-------------------------------------------------+-------------------------
     Reporter:  Gary Buhrmaster                  |      Owner:  dblain
  <gary.buhrmaster@…>                            |     Status:  new
         Type:  Patch - Bug Fix                  |  Milestone:  unknown
     Priority:  minor                            |    Version:  Master Head
    Component:  MythTV - UPnP                    |   Keywords:
     Severity:  medium                           |
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 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

 github patch link:

 https://github.com/garybuhrmaster/mythtv/commit/8ec9a2d38c3ce94249382dfdc9d8a6ab66831356

 or, for the git-am format:

 https://github.com/garybuhrmaster/mythtv/commit/8ec9a2d38c3ce94249382dfdc9d8a6ab66831356.patch

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


More information about the mythtv-commits mailing list