[mythtv-commits] Ticket #13428: Valgrind error in avformatdecoder.cpp
MythTV
noreply at mythtv.org
Fri Mar 22 09:18:32 UTC 2019
#13428: Valgrind error in avformatdecoder.cpp
------------------------------+-------------------------------------------
Reporter: Klaas de Waal | Owner: Klaas de Waal <kdewaal@…>
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 31.0
Component: MythTV - General | Version: Master Head
Severity: low | Resolution: fixed
Keywords: valgrind | Ticket locked: 0
------------------------------+-------------------------------------------
Changes (by Klaas de Waal <kdewaal@…>):
* owner: (none) => Klaas de Waal <kdewaal@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"eff14d9d1d3bce0def16d86a6756ad9a082015c4/mythtv"
eff14d9d1/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="eff14d9d1d3bce0def16d86a6756ad9a082015c4"
Uninitialized memory access in video codec probes.
Valgrind detects uninitialized memory access in a memory buffer; the
access is inside the buffer itself but beyond the size to which the buffer
is written.
This access is done by FFmpeg video type probing routines. This could be
viewed as a bug in these routines but the MythTV code does reserve 32
bytes of additional space for this so it is most likely a requirement for
using these routines. However, these 32 bytes are never initialized. This
is solved by doing a "memset" to clear those 32 bytes.
Fixes #13428
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13428#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list