Package: python2.3-gnome2-extras
Version: 2.10.0-4
Followup-For: Bug #327420


The bug seems to be caused when strlen dereferences a bogus pointer from
the gtkspell module not null terminating it's tp_methods array.  The
attached patch fixes the problem by null terminating the array.

To apply the patch cd to your gnome-python-extras source directory and
run the following command:

cat ../gtkspell_import_fix.diff | patch -p1

That should patch the source.

It appears that the latest CVS HEAD for this package contains a simular
fix.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages python2.3-gnome2-extras depends on:
ii  libart-2.0-2              2.3.17-1       Library of functions for 2D graphi
ii  libaspell15               0.60.3-5       GNU Aspell spell-checker runtime l
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-6        Open-source version of SGI's audio
ii  libbonobo2-0              2.10.1-1       Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.10.1-1       The Bonobo UI library
ii  libbz2-1.0                1.0.2-10       high-quality block-sorting file co
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries an
ii  libcroco3                 0.6.0-2        a generic Cascading Style Sheet (C
ii  libesd0                   0.2.36-1       Enlightened Sound Daemon - Shared 
ii  libgconf2-4               2.10.1-6       GNOME configuration database syste
ii  libgcrypt11               1.2.1-4        LGPL Crypto library - runtime libr
ii  libglib2.0-0              2.8.3-1        The GLib library of C routines
ii  libgnome-keyring0         0.4.5-1        GNOME keyring services library
ii  libgnome2-0               2.10.1-1       The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.10.2-2       A powerful object-oriented display
ii  libgnomeprint2.2-0        2.10.3-3       The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-0      2.10.2-2       GNOME 2.2 print architecture User 
ii  libgnomeui-0              2.10.1-1       The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.10.1-5       The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-13.1    GNU TLS library - runtime library
ii  libgpg-error0             1.1-4          library for common error values an
ii  libgsf-1                  1.12.3-4       Structured File Library - runtime 
ii  libgtk2.0-0               2.6.10-1       The GTK+ graphical user interface 
ii  libgtkhtml2-0             2.6.3-1        HTML rendering/editing library - r
ii  libgtksourceview1.0-0     1.4.2-1        shared libraries for the GTK+ synt
ii  libgtkspell0              2.0.10-3       a spell-checking addon for GTK's T
ii  libgtop2-5                2.10.2-1       Libraries for gtop system monitori
ii  libice6                   6.8.2.dfsg.1-8 Inter-Client Exchange library
ii  libjpeg62                 6b-10          The Independent JPEG Group's JPEG 
ii  libnautilus-burn1         2.10.2-1.1     Nautilus Burn Library - runtime ve
ii  liborbit2                 1:2.12.2-3     libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0        2.10.2-1       library for GNOME 2 panel applets
ii  libpango1.0-0             1.8.2-2        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  librsvg2-2                2.9.5-4        SAX-based renderer library for SVG
ii  libsm6                    6.8.2.dfsg.1-8 X Window System Session Management
ii  libtasn1-2                0.2.13-1       Manage ASN.1 structures (runtime)
ii  libwnck16                 2.10.3-1       Window Navigator Construction Kit 
ii  libx11-6                  6.8.2.dfsg.1-8 X Window System protocol client li
ii  libxml2                   2.6.22-1       GNOME XML library
ii  python2.3                 2.3.5-8        An interactive high-level object-o
ii  python2.3-gtk2            2.6.3-1        Python bindings for the GTK+ widge
ii  python2.3-pyorbit         2.0.1-3        A Python language binding for the 
ii  xlibs                     6.8.2.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.3-4      compression library - runtime

python2.3-gnome2-extras recommends no packages.

-- no debconf information
diff -ruN gnome-python-extras-2.10.0/gtkspell/gtkspellmodule.c 
gnome-python-extras-2.10.0.new/gtkspell/gtkspellmodule.c
--- gnome-python-extras-2.10.0/gtkspell/gtkspellmodule.c        2004-12-26 
13:05:01.000000000 -0600
+++ gnome-python-extras-2.10.0.new/gtkspell/gtkspellmodule.c    2005-10-07 
01:16:30.000000000 -0500
@@ -108,7 +108,8 @@
         {"recheck_all", (PyCFunction)_wrap_gtkspell_recheck_all,
          METH_NOARGS, "Recheck the spelling in the entire buffer"},
         {"detach", (PyCFunction)_wrap_gtkspell_detach,
-         METH_NOARGS, "Detaches a Spell object from a TextView"}
+         METH_NOARGS, "Detaches a Spell object from a TextView"},
+        {NULL, NULL, 0, NULL}
 };
 
 

Reply via email to