[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347392: marked as done (libqt3-mt: Possible stack overflow by recursion in QListViewItemIterator::operator++())



Your message dated Thu, 23 Feb 2006 18:47:16 -0800
with message-id <E1FCSzE-0003Wi-9s@spohr.debian.org>
and subject line Bug#347392: fixed in qt-x11-free 3:3.3.5-4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: libqt3-mt: Possible stack overflow by recursion in 
QListViewItemIterator::operator++()
Package: libqt3-mt
Version: 3:3.3.5-1
Severity: normal
Tags: patch

*** Please type your report below this line ***
When KMail has a very big mailbox (lots of messages), it crashes when
trying to display them. This is because Qt recurses too deep in a
listview iterator. Changing the recursion to a simple do-while loop
fixes the problem locally:

diff qt-copy/qt-copy/src/widgets/qlistview.cpp
qt-x11-free-3.3.5/src/widgets/qlistview.cpp
7571,7585c7571,7586
<     if ( !curr )
<       return *this;
<
<     QListViewItem *item = curr->firstChild();
<     if ( !item ) {
<       while ( (item = curr->nextSibling()) == 0  ) {
<           curr = curr->parent();
<           if ( curr == 0 )
<               break;
<       }
<     }
<     curr = item;
<     // if the next one doesn't match the flags we try one more ahead
<     if ( curr && !matchesFlags( curr ) )
<       ++( *this );
---
>     do {
>         if ( !curr )
>       return *this;
>
>         QListViewItem *item = curr->firstChild();
>         if ( !item ) {
>       while ( (item = curr->nextSibling()) == 0  ) {
>           curr = curr->parent();
>           if ( curr == 0 )
>               break;
>       }
>         }
>         curr = item;
>         // if the next one doesn't match the flags we try one more
>         ahead
>     } while ( curr && !matchesFlags( curr ) );



-- 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.14-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libqt3-mt depends on:
ii  fontconfig                2.3.2-1        generic font configuration 
library
ii  libaudio2                 1.7-3          The Network Audio System (NAS). 
(s
ii  libc6                     2.3.5-6        GNU C Library: Shared libraries 
an
ii  libfontconfig1            2.3.2-1        generic font configuration 
library
ii  libfreetype6              2.1.10-1       FreeType 2 font engine, shared 
lib
ii  libgcc1                   1:4.0.2-5      GCC support library
ii  libice6                   6.8.2.dfsg.1-8 Inter-Client Exchange library
ii  libjpeg62                 6b-10          The Independent JPEG Group's JPEG 
ii  libmng1                   1.0.8-1        Multiple-image Network Graphics 
li
ii  libpng12-0                1.2.8rel-5     PNG library - runtime
ii  libsm6                    6.8.2.dfsg.1-8 X Window System Session 
Management
ii  libstdc++6                4.0.2-5        The GNU Standard C++ Library v3
ii  libx11-6                  6.8.2.dfsg.1-8 X Window System protocol client 
li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.8.2.dfsg.1-8 X Window System miscellaneous 
exte
ii  libxft2                   2.1.7-1        FreeType-based font drawing 
librar
ii  libxi6                    6.8.2.dfsg.1-8 X Window System Input extension 
li
ii  libxinerama1              6.8.2.dfsg.1-8 X Window System multi-head 
display
ii  libxrandr2                6.8.2.dfsg.1-8 X Window System Resize, Rotate 
and
ii  libxrender1               1:0.9.0-2      X Rendering Extension client 
libra
ii  libxt6                    6.8.2.dfsg.1-8 X Toolkit Intrinsics
ii  xlibs                     6.8.2.dfsg.1-8 X Window System client libraries 
m
ii  zlib1g                    1:1.2.3-4      compression library - runtime

libqt3-mt recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: qt-x11-free
Source-Version: 3:3.3.5-4

We believe that the bug you reported is fixed in the latest version of
qt-x11-free, which is due to be installed in the Debian FTP archive:

libqt3-compat-headers_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-compat-headers_3.3.5-4_i386.deb
libqt3-headers_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-headers_3.3.5-4_i386.deb
libqt3-i18n_3.3.5-4_all.deb
  to pool/main/q/qt-x11-free/libqt3-i18n_3.3.5-4_all.deb
libqt3-mt-dev_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-dev_3.3.5-4_i386.deb
libqt3-mt-ibase_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-ibase_3.3.5-4_i386.deb
libqt3-mt-mysql_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-mysql_3.3.5-4_i386.deb
libqt3-mt-odbc_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-odbc_3.3.5-4_i386.deb
libqt3-mt-psql_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-psql_3.3.5-4_i386.deb
libqt3-mt-sqlite_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt-sqlite_3.3.5-4_i386.deb
libqt3-mt_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/libqt3-mt_3.3.5-4_i386.deb
qt-x11-free-dbg_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt-x11-free-dbg_3.3.5-4_i386.deb
qt-x11-free_3.3.5-4.diff.gz
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.5-4.diff.gz
qt-x11-free_3.3.5-4.dsc
  to pool/main/q/qt-x11-free/qt-x11-free_3.3.5-4.dsc
qt3-apps-dev_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-apps-dev_3.3.5-4_i386.deb
qt3-assistant_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-assistant_3.3.5-4_i386.deb
qt3-designer_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-designer_3.3.5-4_i386.deb
qt3-dev-tools-compat_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-compat_3.3.5-4_i386.deb
qt3-dev-tools-embedded_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools-embedded_3.3.5-4_i386.deb
qt3-dev-tools_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-dev-tools_3.3.5-4_i386.deb
qt3-doc_3.3.5-4_all.deb
  to pool/main/q/qt-x11-free/qt3-doc_3.3.5-4_all.deb
qt3-examples_3.3.5-4_all.deb
  to pool/main/q/qt-x11-free/qt3-examples_3.3.5-4_all.deb
qt3-linguist_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-linguist_3.3.5-4_i386.deb
qt3-qtconfig_3.3.5-4_i386.deb
  to pool/main/q/qt-x11-free/qt3-qtconfig_3.3.5-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 347392@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher Martin <chrsmrtn@debian.org> (supplier of updated qt-x11-free package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 23 Feb 2006 18:15:14 -0500
Source: qt-x11-free
Binary: libqt3-i18n qt3-apps-dev libqt3-mt-sqlite qt-x11-free-dbg qt3-assistant qt3-examples qt3-doc libqt3-headers libqt3-mt-mysql libqt3-mt libqt3-mt-odbc libqt3-compat-headers qt3-dev-tools-embedded qt3-dev-tools libqt3-mt-ibase qt3-designer qt3-linguist qt3-qtconfig qt3-dev-tools-compat libqt3-mt-dev libqt3-mt-psql
Architecture: source i386 all
Version: 3:3.3.5-4
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Christopher Martin <chrsmrtn@debian.org>
Description: 
 libqt3-compat-headers - Qt 1.x and 2.x compatibility includes
 libqt3-headers - Qt3 header files
 libqt3-i18n - i18n files for Qt3 library
 libqt3-mt  - Qt GUI Library (Threaded runtime version), Version 3
 libqt3-mt-dev - Qt development files (Threaded)
 libqt3-mt-ibase - InterBase/FireBird database driver for Qt3 (Threaded)
 libqt3-mt-mysql - MySQL database driver for Qt3 (Threaded)
 libqt3-mt-odbc - ODBC database driver for Qt3 (Threaded)
 libqt3-mt-psql - PostgreSQL database driver for Qt3 (Threaded)
 libqt3-mt-sqlite - SQLite database driver for Qt3 (Threaded)
 qt-x11-free-dbg - debugging symbols for qt-x11-free binaries
 qt3-apps-dev - Qt3 Developer applications development files
 qt3-assistant - The Qt3 assistant application
 qt3-designer - Qt3 Designer
 qt3-dev-tools - Qt3 development tools
 qt3-dev-tools-compat - Conversion utilities for Qt3 development
 qt3-dev-tools-embedded - Tools to develop embedded Qt applications
 qt3-doc    - Qt3 API documentation
 qt3-examples - Examples for Qt3
 qt3-linguist - The Qt3 Linguist
 qt3-qtconfig - The Qt3 Configuration Application
Closes: 347377 347392 350725
Changes: 
 qt-x11-free (3:3.3.5-4) unstable; urgency=low
 .
   +++ Changes by Christopher Martin:
 .
   * Change build-depends from libmysqlclient12-dev to libmysqlclient15-dev.
     (Closes: #350725)
 .
   * Add a patch from Maksim Orlovich (provided by Bart Coppens), that should
     resolve a crash in KMail when viewing exceedingly large mailboxes.
     (Closes: #347392)
 .
   * Incorporate the immodule patch (and sundry fixes for that patch). Some of
     the packaging is borrowed from Ubuntu.
     (Closes: #347377)
Files: 
 059513f798ccb8942e99d584f4b3ab20 1864 libs optional qt-x11-free_3.3.5-4.dsc
 0402c79831f472c39b250663dc95a9ae 224926 libs optional qt-x11-free_3.3.5-4.diff.gz
 79dbca74a30ca1db369611c361a3db38 92620 libs optional libqt3-i18n_3.3.5-4_all.deb
 5cf871971266ac5b659266665a34063a 5619346 doc extra qt3-doc_3.3.5-4_all.deb
 c16a2b0f37082625f5c2ddb43ce13120 1556582 doc extra qt3-examples_3.3.5-4_all.deb
 f2d175977ea72bfa43b191acec43c338 3148768 libs optional libqt3-mt_3.3.5-4_i386.deb
 9c2c60eaee954d2624a504dd3f4c11e8 53100 libs optional libqt3-mt-mysql_3.3.5-4_i386.deb
 566d5e8b571a13239f58c5ba61fb6239 73828 libs optional libqt3-mt-odbc_3.3.5-4_i386.deb
 5e66cd754cbb5d51a5323b2b127f9198 59180 libs optional libqt3-mt-psql_3.3.5-4_i386.deb
 8649796a7cb4f64e6c9a98a90021326b 60066 libs optional libqt3-mt-ibase_3.3.5-4_i386.deb
 dcfbc17281698a97593ad537f9995ba6 203514 libs optional libqt3-mt-sqlite_3.3.5-4_i386.deb
 5e4cc777f2c304b2d6bd57fb802f5321 51036 libdevel optional libqt3-mt-dev_3.3.5-4_i386.deb
 f991350c44cb1dc789b3baaab200053a 367286 devel optional libqt3-headers_3.3.5-4_i386.deb
 d5fc3fd8def8a40a22dae2c7faed59ad 82400 devel optional libqt3-compat-headers_3.3.5-4_i386.deb
 830b3ea43cc9e3623db686b4c61ce6d7 1247710 devel optional qt3-dev-tools_3.3.5-4_i386.deb
 5387fea56678d78062deea092bcaca1f 4062472 devel optional qt3-designer_3.3.5-4_i386.deb
 2d8406589137cb6b23ce947ab1e66d06 2411360 devel optional qt3-apps-dev_3.3.5-4_i386.deb
 e869c14f16abee6da1b45d6fa659b0ef 342288 devel optional qt3-linguist_3.3.5-4_i386.deb
 7b3893d67fcec2284b99aa27d5b27e04 239328 x11 optional qt3-assistant_3.3.5-4_i386.deb
 7f3121b4737b98d8edbec0844b136ae4 98608 x11 optional qt3-qtconfig_3.3.5-4_i386.deb
 479f3fffad601ba51928ed9f953ca5a6 288286 devel optional qt3-dev-tools-embedded_3.3.5-4_i386.deb
 af477d7a6169931df0824d3dce0e2cc4 70400 devel optional qt3-dev-tools-compat_3.3.5-4_i386.deb
 155f1e376c3ca84f946d7258ef8bce55 33360010 libdevel extra qt-x11-free-dbg_3.3.5-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Signed by Christopher Martin <chrsmrtn@debian.org>

iD8DBQFD/mx5U+gWW+vtsysRArP0AJ9HtzizTD+vWOyrMFsdq2X79WZOOgCeOL+O
kHPa4FspujFA0LoDblL5Wqo=
=xVya
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: