#11498: HLS upload corrupted hostname any.tld -> any0.ts -------------------------------------+---------------------------------- Reporter: Chad | Owner: (none) Type: defect | Status: new Priority: important | Component: ffmpeg Version: unspecified | Resolution: Keywords: security | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+---------------------------------- Comment (by Chad):
The problem is probably around line 3067 of libavformat/hlsenc.c in hls_init(), line 2948, set pattern to "%d.ts" {{{ pattern = hls->segment_type == SEGMENT_TYPE_FMP4 ? "%d.m4s" : "%d.ts"; }}} and later on 3067, {{{ vs->basename = av_asprintf("%s%s", vs->m3u8_name, pattern); }}} so basename contains an unformatted "%d.ts". Basename sounds like something that could be truncated from some larger name. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11498#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".