#5558(undetermined:new): concat protocol should run in "-safe 0" mode by default
#5558: concat protocol should run in "-safe 0" mode by default -------------------------------------+------------------------------------- Reporter: GrayFace | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: It's very hard for me to imagine a task for which "-safe 1" makes sense. It probably involves list being obtained from outside source instead of being generated. What's for sure is that it's a sophisticated task for which figuring out and specifying additional parameters is not a problem. For all regular users of "concat" option (me included) the "safe mode" brings only troubles, e.g. https://ffmpeg.org/pipermail/ffmpeg- user/2016-April/031560.html No one knows why it's there, because the documentation doesn't say anything about rationale: https://www.ffmpeg.org/ffmpeg- formats.html#Options Obviously, no backward compatibility. How to reproduce: {{{ % ffmpeg -nostats -f concat -i List.txt -c copy output (List.txt contains absolute paths) ffmpeg version N-79947-gcd244fa built on 20160512 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/5558> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5558: concat protocol should run in "-safe 0" mode by default -------------------------------------+------------------------------------- Reporter: GrayFace | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: wontfix Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => wontfix Comment: http://seclists.org/oss-sec/2016/q1/85 -- Ticket URL: <https://trac.ffmpeg.org/ticket/5558#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5558: concat protocol should run in "-safe 0" mode by default -------------------------------------+------------------------------------- Reporter: GrayFace | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: wontfix Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by GrayFace): Wow! Yet, I don't see how this applies to command-line "-f concat" parameter. First, it talks about "concat:file1|file2" protocol, not "-f concat" demuxer (turns out I was wrong calling it "protocol" in the ticket name). Second, it talks about it being found in a movie file, obviously an untrusted source, unlike command-line. Shouldn't the list explicitly specified in command line as "-f concat" be trusted (only the list itself, not the movies specified by it)? -- Ticket URL: <https://trac.ffmpeg.org/ticket/5558#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5558: concat protocol should run in "-safe 0" mode by default -------------------------------------+------------------------------------- Reporter: GrayFace | Owner: Type: defect | Status: closed Priority: important | Component: avformat Version: git-master | Resolution: wontfix Keywords: concat | Blocked By: regression | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => concat regression * priority: normal => important * version: unspecified => git-master * component: undetermined => avformat Comment: It is unlikely that the current behaviour will change but feel free to send a patch made with {{{git format-patch}}} to the development mailing list to discuss your intended change. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5558#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#5558: concat protocol should run in "-safe 0" mode by default -------------------------------------+------------------------------------- Reporter: GrayFace | Owner: (none) Type: defect | Status: closed Priority: important | Component: avformat Version: git-master | Resolution: wontfix Keywords: concat | Blocked By: regression | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by PierU): I don't understand how this ticket has not even been considered. On help forums this is a very common mistake of the users to forget `-safe 0`, and they never understand the error message (besides, the documentation is quite vague about what is a "safe filename"). And I concur with the OP that `-safe 0` should be the default for usual tasks, while `-safe 1` correspond to uncommon tasks. -- Ticket URL: <https://trac.ffmpeg.org/ticket/5558#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg