Package: djvulibre-bin Version: 3.5.17-3 Severity: normal File: /usr/bin/djvumake Tags: patch
$ printf 'P6\n1 1\n255\n\xff\xff\xff' > tmp.ppm $ djvuextract tmp.djvu BG44=tmp.bg44 BG44=tmp.bg44 --> "tmp.bg44" (84 bytes) $ djvumake tmp2.djvu INFO=100,100,100 BG44=tmp.bg44:1 *** djvumake: invalid number of chunks in BG44 specification *** (djvumake.cpp:545) *** 'void create_bg44_chunk(DJVU::IFFByteStream&, char*, DJVU::GUTF8String)'This is due to an off-by-one error. I believe that the attached patch fixes the problem.
-- System Information: Debian Release: 4.0 APT prefers testing APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-3-686 Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2) Versions of packages djvulibre-bin depends on: ii curl 7.15.5-1 Get a file from an HTTP, HTTPS, FT ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries ii libdjvulibre15 3.5.17-3 Runtime support for the DjVu image ii libgcc1 1:4.1.1-21 GCC support libraryii libjpeg62 6b-13 The Independent JPEG Group's JPEG ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra djvulibre-bin recommends no packages. -- no debconf information -- Jakub Wilk
djvulibre-3.5.17-nchunks.patch.gz
Description: Binary data