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

ffmpeg popen does not protect from crazy filenames #27

@DavidS

Description

@DavidS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions