[mythtv-commits] Ticket #11676: Patch to initialize m_parent in the SocketRequestHandler ctor - fixes Coverity 700891

MythTV noreply at mythtv.org
Sun Jul 14 01:29:18 UTC 2013


#11676: Patch to initialize m_parent in the SocketRequestHandler ctor - fixes
Coverity 700891
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |           Type:  Patch -
   Status:  new                                  |  Bug Fix
Milestone:  unknown                              |       Priority:  minor
  Version:  Master Head                          |      Component:  MythTV
 Keywords:                                       |  - General
                                                 |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 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

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11676>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list