Your message dated Tue, 13 Aug 2019 19:22:04 +0000
with message-id <[email protected]>
and subject line Bug#934567: Removed package(s) from unstable
has caused the Debian Bug report #576343,
regarding python-elementtidy: Crash when no error occures
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.)


-- 
576343: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576343
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-elementtidy
Version: 1.0-7
Severity: important
Tags: patch

When there are no errors while parsing a HTML page, the tidyBufFree()
crashes, because it tries to access to dereference the err.allocator
which is NULL.

Here is a patch to check it before calling this function.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-elementtidy depends on:
ii  libc6                      2.10.2-2      GNU C Library: Shared libraries
ii  libtidy-0.99-0             20091223cvs-1 HTML syntax checker and reformatte
ii  python                     2.5.4-9       An interactive high-level object-o
ii  python-support             1.0.6         automated rebuilding support for P

python-elementtidy recommends no packages.

python-elementtidy suggests no packages.

-- no debconf information
--- elementtidy-1.0.orig/_elementtidy.c
+++ elementtidy-1.0/_elementtidy.c
@@ -112,16 +112,16 @@
         goto error;
     }
·
-    tidyBufFree(&out);
-    tidyBufFree(&err);
+    if (out.allocator) tidyBufFree(&out);
+    if (err.allocator) tidyBufFree(&err);
·
     tidyRelease(doc);
·
     return Py_BuildValue("NN", pyout, pyerr);
·
   error:
-    tidyBufFree(&out);
-    tidyBufFree(&err);
+    if (err.allocator) tidyBufFree(&out);
+    if (err.allocator) tidyBufFree(&err);
·
     tidyRelease(doc);

--- End Message ---
--- Begin Message ---
Version: 1.0-8+rm

Dear submitter,

as the package elementtidy 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/934567

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.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to