Package: htmldoc
Version: 1.8.23-1.2
Severity: grave
Tags: patch
Justification: renders package unusable

Hello,

htmldoc is still segfaulting when I try to
generate a pdf file from html pages containing png's.

The bug is claimed to be fixed in #241101 but is still present.

I've removed the patch from #241101

--- htmldoc-1.8.23.orig/htmldoc/image.cxx
+++ htmldoc-1.8.23/htmldoc/image.cxx
@@ -1539,7 +1539,7 @@
     return (0);
   }
 
-  img->pixels = (uchar *)malloc(img->width * img->height * depth);
+  img->pixels = (uchar *)malloc(img->width * img->height * info->bit_depth);
 
   if ((info->color_type & PNG_COLOR_MASK_PALETTE) || info->bit_depth < 8)
   {

and upgraded to new upstream version 1.8.24

htmldoc is not segfaulting anymore when generating pdf from html files
containing png's.

You can find my package at:
ftp://ftp.uni-klu.ac.at/linux/debian.uniklu/dists/sarge/uniklu/server/main/source/

Please fix,
Gerald Hochegger


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (1001, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-uk-srv-p4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages htmldoc depends on:
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libfltk1.1c102           1.1.6-2         Fast Light Toolkit shared librarie
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libstdc++5               1:3.3.5-8       The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxft2                  2.1.2-6         FreeType-based font drawing librar
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to