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 10 months ago

Closed 9 months ago

Last modified 9 months ago

#11629 closed Patch - Bug Fix (fixed)

Patch to initialize member variables in MythSystemLegacyUnix ctor - fixes Coverity 1028697

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

Description

Static analysis detected that some member variables were not being initialized in the ctor. They were being initialized in the Fork method (later). To make static analysis happy, and avoid future errors, initialize them.

Fixes coverity 1028697

github ref: https://github.com/garybuhrmaster/mythtv/commit/4dc18c79d3d3b1885b251318f404473c5e691c2a

github git-am ref: https://github.com/garybuhrmaster/mythtv/commit/4dc18c79d3d3b1885b251318f404473c5e691c2a.patch

Attachments (0)

Change History (2)

comment:1 Changed 9 months ago by Gary Buhrmaster <gary.buhrmaster@…>

  • Owner set to Gary Buhrmaster <gary.buhrmaster@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 28020a10fdfa408ec6132f5be325ba2ad85b62d4/mythtv:

Initialize member variables in MythSystemLegacyUnix? ctor

Static analysis detected that some member variables
were not being initialized in the ctor. They were
being initialized in the Fork method (later). To
make static analysis happy, and avoid future errors,
initialize them.

Fixes coverity 1028697

Fixes #11629

Signed-off-by: Paul Harrison <pharrison@…>

comment:2 Changed 9 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.