Your message dated Mon, 21 Apr 2014 10:57:40 +0000
with message-id <[email protected]>
and subject line Bug#743429: Removed package(s) from unstable
has caused the Debian Bug report #404186,
regarding xlhtml: Seg-fault on some documents
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
404186: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404186
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xlhtml
Version: 0.5.1-6
Severity: normal
Tags: patch

xlhtml seg-faults on some documents. The following patch fixes the
seg-fault. However, the allocation of work-spaces and arrays don't
seems to be robust at all, so this patch probably don't fix all
cases.

-------------------------------------------------------------------------------
--- /tmp/xlhtml-0.5.1/xlhtml/xlhtml.c   2006-12-22 11:05:40.000000000 +0100
+++ xlhtml.c    2006-12-22 11:10:07.000000000 +0100
@@ -1654,6 +1654,11 @@
                        if (bufidx == last)
                        {
                                U16 num, fr, lr, fc, lc, i, j, k;
+
+                               if (ws_array[sheet_count] == 0)
+                                       if (ws_init(sheet_count))
+                                               return;
+                          
                                ws_array[sheet_count]->spanned = 1;
                                num = getShort(&working_buffer[0]);
                                if (ws_array[sheet_count]->c_array == 0)
@@ -1676,9 +1681,11 @@
                                                if 
(ws_array[sheet_count]->c_array)
                                                {
                                                        if ((fr > lr)||(fr > 
ws_array[sheet_count]->biggest_row)||(lr > ws_array[sheet_count]->biggest_row))
-                                                               lr = 
(U16)ws_array[sheet_count]->biggest_row;
+                                                          if 
(ws_array[sheet_count]->biggest_row >= 0)
+                                                            lr = 
(U16)ws_array[sheet_count]->biggest_row;
                                                        if ((fc > lc)||(fc > 
ws_array[sheet_count]->biggest_col)||(lc > ws_array[sheet_count]->biggest_col))
-                                                               lc = 
ws_array[sheet_count]->biggest_col;
+                                                          if 
(ws_array[sheet_count]->biggest_col > 0)
+                                                            lc = 
ws_array[sheet_count]->biggest_col;
                                                        for(j=fr; j<=lr; j++)
                                                        {       /* For each row 
*/
                                                                for(k=fc; 
k<=lc; k++)
-------------------------------------------------------------------------------

/ Anders

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (51, 'testing-proposed-updates'), (50, 
'unstable'), (40, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.5
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE)

Versions of packages xlhtml depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries

xlhtml recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.5.1-6+rm

Dear submitter,

as the package xlhtml has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/743429

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to