Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11674 closed Patch - Bug Fix (fixed)

Patch to initiaize m_pci and m_dsi member variable in the MythDVDContext ctor - fixes coverity 1046927

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

Description

Static analysis identified uninitialized member variables in the MythDVDContext ctor. Initialize them. From a cursory analysis, this issue may be a false positive, but zeroizing the structure will do no harm, and should satisfy the static analysis tool.

Fixes Coverity 1046927

github ref: https://github.com/garybuhrmaster/mythtv/commit/520391b26fb1db76eded2ad330ed3d9aa1f285d8 github git-am ref: https://github.com/garybuhrmaster/mythtv/commit/520391b26fb1db76eded2ad330ed3d9aa1f285d8.patch

Change History (3)

comment:1 Changed 6 years ago by paulh

Owner: set to peper03
Status: newassigned

comment:2 Changed 6 years ago by Richard Hulme <peper03@…>

Resolution: fixed
Status: assignedclosed

In 9a8249e00df421a06daa7b72b1cedee418eb7b5f/mythtv:

Fixed Coverity 1046927 (Uninitialized scalar field).

Closes #11674

comment:3 Changed 6 years ago by peper03

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