[mythtv-commits] Ticket #13435: Potential memory leak in DecodeData function.
MythTV
noreply at mythtv.org
Wed Mar 27 09:39:15 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
--------------------------------------+-------------------------------
Comment (by David Hampton <mythtv@…>):
In [changeset:"094e0d0c8038dac291dc4634e268c5fdc9dc0502/mythtv"
094e0d0c80/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="094e0d0c8038dac291dc4634e268c5fdc9dc0502"
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.
(cherry picked from commit 221e867bcbf5a79ff5f68eb5d30aa78538a2dbfb)
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13435#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list