Package: zathura
Version: 0.3.1-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zathura continues processing arguments after the end-of-arguments
marker (--). This is due to the use of g_spawn_async() in main.c. The
child process re-parses the command line, but since it lacks the
double-dash it potentially interprets the filename as an option.

For example, name PDF file "-o.pdf" and run:

    zathura -- -o.pdf

Which will result in:

    error: Unknown file type: '(null)'
    error: Error parsing command line arguments: Unknown option -o.pdf

(The first error message is due to a bug in glib, where it passes "--"
as if it were file argument, but this *only* happens if one of the
filenames looks like an option. I discovered this while trying to
write a patch to correct it.)

This bug is still present upstream in 0.3.4.


- -- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zathura depends on:
ii  libc6             2.19-18+deb8u1
ii  libcairo2         1.14.0-2.1
ii  libgirara-gtk3-1  0.2.3-1
ii  libglib2.0-0      2.42.1-1
ii  libgtk-3-0        3.14.5-1+deb8u1
ii  libmagic1         1:5.22+15-2
ii  libpoppler-glib8  0.26.5-2
ii  libsqlite3-0      3.8.7.1-1+deb8u1
ii  libsynctex1       2014.20140926.35254-6

zathura recommends no packages.

Versions of packages zathura suggests:
ii  chromium [www-browser]   47.0.2526.80-1~deb8u1
ii  elinks [www-browser]     0.12~pre6-5+b2
ii  iceweasel [www-browser]  38.5.0esr-1~deb8u2
ii  links [www-browser]      2.8-2+b3
ii  lynx-cur [www-browser]   2.8.9dev1-2+deb8u1
ii  poppler-data             0.4.7-1
ii  w3m [www-browser]        0.5.3-19
pn  zathura-cb               <none>
pn  zathura-djvu             <none>
pn  zathura-ps               <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWmC4iAAoJEGEzgsVIsrhB5FEH/A/Eyl40D0RGeAdVSPuhgZcJ
NxeT5FWtBMxASlUw9JDtqjGGuj7jEf5sGjyf1aGBf3aKckG+aIlDDqt3ZX9lnKW4
KU7BibUSOgpEVOXV/tGq4zaxN5s4M/dFv8cMqMQ/bPmvOKijxCCsKUm7BrqDUD+f
0d/3752e0bWIqVrW4rMsH9mJPFVr6tVp4w01+Qt5LOPBHWGzKY3jaTBA28+KAAzf
oB4rppBX5AZ08IR3DbVlK7hwWDDb8EI9sxfZ91TO2UQyoxEvmL1CBCzLEnvUgW+O
7Bzy5MdNI+4lR5Xpf2JjkucsiyrveVPrJj1VlH6sMFTmEYB599L21X/k7bzkj0Q=
=n9Tw
-----END PGP SIGNATURE-----

Reply via email to