Skip to content
Commit 350404c7 authored by Tobias Mueller's avatar Tobias Mueller
Browse files

dvi: Mitigate command injection attacks by quoting filename

With commit 1fcca0b8 came a DVI backend.
It exports to PDF via the dvipdfm tool.
It calls that tool with the filename of the currently loaded document.
If that filename is cleverly crafted, it can escape the currently
used manual quoting of the filename.  Instead of manually quoting the
filename, we use g_shell_quote.

https://bugzilla.gnome.org/show_bug.cgi?id=784947
parent 8f2476fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment