Package: djvulibre-bin
Version: 3.5.22-7
Severity: normal
output-* commands of djvused do not properly escape ' and \ characters
in file identifiers, thus they can output broken scripts:
$ djvused -e output-txt dummy.djvu
select; remove-txt
# -------------------------------------
select 'dummy.djvu'
set-txt
(page 0 0 1 1 "dummy")
.
$ djvused -e output-txt dummy.djvu | djvused -f - dummy.djvu
djvused: (warning) file was modified but not saved
$ ln dummy.djvu "weird'o.djvu"
$ djvused -e output-txt weird*.djvu | djvused -f - wierd*.djvu
*** page "weird" not found
*** (djvused.cpp:346)
*** 'void verror(const char*, ...)'
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages djvulibre-bin depends on:
ii curl 7.19.7-1 Get a file from an HTTP, HTTPS or
ii libc6 2.10.2-4 Embedded GNU C Library: Shared lib
ii libdjvulibre21 3.5.22-7 Runtime support for the DjVu image
ii libgcc1 1:4.4.2-9 GCC support library
ii libstdc++6 4.4.2-9 The GNU Standard C++ Library v3
ii libtiff4 3.9.2-1 Tag Image File Format (TIFF) libra
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org