Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#498790: libetpan: mailmessage_get_bodystructure fails for cached IMAP

5 views
Skip to first unread message

Jeremy Laine

unread,
Sep 13, 2008, 5:50:06 AM9/13/08
to
Package: libetpan13
Version: 0.54-3
Severity: normal
Tags: patch

When using the cached IMAP storage, the second call to
mailmessage_get_bodystructure returns a NULL mime structure.

The problem is that the return variable is not being set, see
the attached patch for a fix.

Cheers,
Jeremy

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages libetpan13 depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcurl3-gnutls 7.18.2-7 Multi-protocol file transfer libra
ii libdb4.6 4.6.21-10 Berkeley v4.6 Database Libraries [
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii libgcc1 1:4.3.2-1 GCC support library
ii libgnutls26 2.4.1-1 the GNU TLS library - runtime libr
ii liblockfile1 1.08-2 NFS-safe locking library, includes
ii libsasl2-2 2.1.22.dfsg1-23 Cyrus SASL - authentication abstra
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3

libetpan13 recommends no packages.

libetpan13 suggests no packages.

-- no debconf information

cached_imap_get_bodystructure.diff

Nikita V. Youshchenko

unread,
Sep 13, 2008, 2:30:12 PM9/13/08
to
> When using the cached IMAP storage, the second call to
> mailmessage_get_bodystructure returns a NULL mime structure.
>
> The problem is that the return variable is not being set, see
> the attached patch for a fix.

Thanks.
Upstream confirmed that the patch is ok.

How serious is the problem? Does it cause user applocation crashes or data
loss? Should I try to push the fix into lenny?

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Jeremy Lainé

unread,
Sep 15, 2008, 2:00:13 AM9/15/08
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> How serious is the problem? Does it cause user applocation crashes or data
> loss? Should I try to push the fix into lenny?

Well basically it depends on how the application is written, but
potentially yes it could cause the program to crash. I'd be in favour of
getting the fix into Lenny if you can get it approved.

Cheers,
Jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjN9kIACgkQ4mJJZqJp2SfrwACgvE2ncpVhlE3qBUmbIjQ/XCWl
XUYAoLG3nF45z7HODePmEt2Kk39xdMEv
=xywq
-----END PGP SIGNATURE-----

0 new messages