diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-12-21 00:27:00 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-12-24 00:02:45 +0200 |
commit | 3193b13aa1e271f6d2dd68de67d448c08aef3c00 (patch) | |
tree | 4978e56636c1bd5c22b53a12470da13579ef250b /libavcodec/dvdata.c | |
parent | 0940580adb5e6bde8782841b3104fd0783e541f0 (diff) | |
download | ffmpeg-streaming-3193b13aa1e271f6d2dd68de67d448c08aef3c00.zip ffmpeg-streaming-3193b13aa1e271f6d2dd68de67d448c08aef3c00.tar.gz |
hlsenc: Allocate enough space for the pattern string
If s->filename doesn't contain any period/filename extension to strip
away, the buffer will be too small to fit both strings. This isn't
any buffer overflow since the concatenation uses av_strlcat with
the right buffer size.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/dvdata.c')
0 files changed, 0 insertions, 0 deletions