Opened 11 years ago

Closed 11 years ago

Last modified 11 years 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

Change History (2)

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

Owner: set to Gary Buhrmaster <gary.buhrmaster@…>
Resolution: fixed
Status: newclosed

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

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