aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qt-faststart.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-03-12 16:28:22 +0100
committerReinhard Tartler <siretart@tauware.de>2014-03-15 09:54:28 -0400
commitb5210f4eae30df587815b5f005f219aa723591d3 (patch)
treea76b24f1f3910b064dbb60b43964a4053aff2466 /tools/qt-faststart.c
parent10379d50be18325a07ef297bd2120d85a58ec78b (diff)
downloadffmpeg-b5210f4eae30df587815b5f005f219aa723591d3.tar.gz
http: Properly initialize icy headers string
The icy_metadata_headers string never gets initialized, so, during the first call to av_strlcatf() in parse_icy(), strlen() will be called on a pointer to uninitialized memory. At best this causes some garbage data to be left at the start of the string. By initializing icy_metadata_headers to the empty string, the first call to strlen() will always return 0, so that data is appended from the start of the string. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit 6998a9f4c4e069f515c50614179f4cfc7d0184f5)
Diffstat (limited to 'tools/qt-faststart.c')
0 files changed, 0 insertions, 0 deletions