[mythtv-commits] Ticket #13435: Potential memory leak in DecodeData function.
MythTV
noreply at mythtv.org
Tue Mar 26 16:09:19 UTC 2019
#13435: Potential memory leak in DecodeData function.
--------------------------------------+-------------------------------
Reporter: David Hampton | Owner: David Hampton
Type: Bug Report - Memory Leak | Status: closed
Priority: minor | Milestone: 30.1
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
--------------------------------------+-------------------------------
Changes (by David Hampton <mythtv@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"221e867bcbf5a79ff5f68eb5d30aa78538a2dbfb/mythtv"
221e867bcb/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="221e867bcbf5a79ff5f68eb5d30aa78538a2dbfb"
tidy: Fix memory leak in HLSSegment::DecodeData.
The clang-tidy "memory leak" checker pointed out that
HLSSegment::DecodeData function would leak memory if it read an
invalid padding size from the end of the buffer. Add a line to free
the temporary buffer in this error condition.
Fixes #13435.
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13435#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list