Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 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

Attachments (0)

Change History (2)

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

  • Resolution set to fixed
  • Status changed from new to closed

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 2 years ago by paulh

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed The owner will remain cpinkham.
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.