[mythtv-commits] Ticket #11550: Patch for static analysis detected array index undefined in dvdringbuf.cpp
MythTV
noreply at mythtv.org
Thu Jun 6 22:45:58 UTC 2013
#11550: Patch for static analysis detected array index undefined in dvdringbuf.cpp
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Owner: Gary Buhrmaster
<gary.buhrmaster@…> | <gary.buhrmaster@…>
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.27
Component: MythTV - DVD Playback | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:ab1f79a25ae33a0451a197bd3733767a2591dbfc/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="ab1f79a25ae33a0451a197bd3733767a2591dbfc"
Fix static analysis detected error regarding undefined array index in
dvdringbuf.cpp
Static analysis (scan-build) detected a potential code path such that
guess_palette
could be called without having the palette variables initialized, which
would result
in indexing m_clut with an undefined value.
(cherry picked from commit 824013456f41f4c90daa1f1a3879a1c9e06c28c5)
Signed-off-by: Stuart Morgan <smorgan at mythtv.org>
Fixes #11550
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11550#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list