Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 11 months ago

Closed 11 months ago

Last modified 10 months 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 11 months 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 10 months ago by paulh

  • Milestone changed from unknown to 0.27

Add Comment

Modify Ticket

Action
as closed .
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.