Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11659 closed Patch - Bug Fix (fixed)

Patch to initialize m_glDeleteProgram in ResetProcs - fixes coverity 700928 and 700929

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


Static analysis detected that the m_glDeleteProgram member variables was not being initialized in the ctor. The ctor invokes ResetVars? and ResetProcs?. This particular member variable was missing in ResetProcs?.

Fixes coverity 700928 700929

github ref: ​ github git-am ref: ​

Change History (2)

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

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

In 99a2a1725bdfa637d27fb1dde1d58d49090954b5/mythtv:

Initialize m_glDeleteProgram in ResetProcs?

The ctors of MythRenderOpenGL2 invoke ResetProcs?
to initialize the members. Add m_glDeleteProgram
to the initialization.

Fixes coverity 700928 and 700929

Fixes #11659.

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

comment:2 Changed 8 years ago by paulh

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