[mythtv-commits] Ticket #11590: Patch to check the return value of rename in httplivestream.cpp - fixes coverity 746746

MythTV noreply at mythtv.org
Wed Jun 12 03:44:54 UTC 2013


#11590: Patch to check the return value of rename in httplivestream.cpp - fixes
coverity 746746
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |          Owner:
     Type:  Patch - Bug Fix                      |  cpinkham
 Priority:  minor                                |         Status:  closed
Component:  MythTV - HTTP Streaming              |      Milestone:  unknown
 Severity:  medium                               |        Version:  Master
 Keywords:                                       |  Head
                                                 |     Resolution:  fixed
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

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


Comment:

 In [changeset:d90cb875240d13dff8f07d6f3e3c548a42e1bc2c/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="d90cb875240d13dff8f07d6f3e3c548a42e1bc2c"
 Check the return value of rename in httplivestream.cpp

 Static analysis (coverity) detected un unchecked return
 value from rename.  Add in the check, and log the error
 in the (unlikely) event the rename fails.

 Fixes coverity 746746
 Fixes #11590.

 Signed-off-by: Chris Pinkham <cpinkham at mythtv.org>
 }}}

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


More information about the mythtv-commits mailing list