Opened 6 years ago

Closed 6 years ago

#11676 closed Patch - Bug Fix (Fixed)

Patch to initialize m_parent in the SocketRequestHandler ctor - fixes Coverity 700891

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

Description

Static analysis detected that the member variable was not initialized in the ctor. While a cursory review of the derived classes show that it would be initialized when appropriate, initialize it to NULL in the ctor to make static analysis happy (should cause no harm, and might prevent some future opportunities being introduced).

Fixes Coverity 700891

github ref: https://github.com/garybuhrmaster/mythtv/commit/5f68d70121fcca27701a1d46eec9b9a28322c5c0 github git-am ref: https://github.com/garybuhrmaster/mythtv/commit/5f68d70121fcca27701a1d46eec9b9a28322c5c0.patch

Change History (2)

comment:1 Changed 6 years ago by paulh

Milestone: unknown0.27

Fixed in [da576a1a9e]

comment:2 Changed 6 years ago by Raymond Wagner

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.