Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11590 closed Patch - Bug Fix (fixed)

Patch to check the return value of rename in httplivestream.cpp - fixes coverity 746746

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: cpinkham
Priority: minor Milestone: 0.27
Component: MythTV - HTTP Streaming Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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

Patch: https://github.com/garybuhrmaster/mythtv/commit/d06cd00deaf591615618bfafb3382707a2d6a0e5.patch

Change History (2)

comment:1 Changed 5 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Resolution: fixed
Status: newclosed

In d90cb875240d13dff8f07d6f3e3c548a42e1bc2c/mythtv:

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@…>

comment:2 Changed 5 years ago by paulh

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.