Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

ffmpeg popen does not protect from crazy filenames #27

Open
DavidS opened this issue Sep 1, 2011 · 0 comments · May be fixed by #41
Open

ffmpeg popen does not protect from crazy filenames #27

DavidS opened this issue Sep 1, 2011 · 0 comments · May be fixed by #41

Comments

@DavidS
Copy link

DavidS commented Sep 1, 2011

Having a file with a backtick (` ) in the name leads to

sh: 1: Syntax error: EOF in backquote substitution

This is due to the simplicistic FfmpegStreamInput/AudioStreamInput::GetCommandLine API. For secure usage, please see these explanations on stackoverflow: http://stackoverflow.com/questions/288038/how-to-safely-escape-a-string-from-c/288203#288203

@ghost ghost assigned alnesbit Feb 8, 2012
@alastair alastair linked a pull request May 10, 2012 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants