Your message dated Sun, 07 Aug 2011 12:17:53 +0000
with message-id <[email protected]>
and subject line Bug#594717: fixed in gnubiff 2.2.13-4
has caused the Debian Bug report #594717,
regarding gnubiff: incorrect error message in case of too long answer from imap
server
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.)
--
594717: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594717
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnubiff
Version: 2.2.13-3
Severity: important
In case of very large imap mailbox, imap server will answer a
very long line which size if greater than default maximum size
of 16384 (security/prevdos_line_length parameter in the expert
tab). In that case, an incorrect error message if displayed on
console in debug mode (Operation not permitted) which is
because of strerror(status) where status is meaningless in that
case (socket.cc, Socket::read).
A patch aimed to guide the user to the problem in case of very
large imap mailbox is provided (the message says to increase
security/prevdos_line_length).
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnubiff depends on:
ii dpkg 1.15.7.2 Debian package management system
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libart-2.0-2 2.3.21-1 Library of functions for 2D graphi
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libbonobo2-0 2.24.3-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.24.3-1 The Bonobo UI library
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libfam0 2.7.0-17 Client library to control the FAM
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.4-8 GCC support library
ii libgconf2-4 2.28.1-3 GNOME configuration database syste
ii libglade2-0 1:2.6.4-1 library to load .glade files at ru
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgnome2-0 2.30.0-1 The GNOME library - runtime files
ii libgnomecanvas2-0 2.30.1-1 A powerful object-oriented display
ii libgnomeui-0 2.24.3-1 The GNOME libraries (User Interfac
ii libgnomevfs2-0 1:2.24.3-1 GNOME Virtual File System (runtime
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii liborbit2 1:2.14.18-0.1 libraries for ORBit2 - a CORBA ORB
ii libpanel-applet2-0 2.30.2-1 library for GNOME Panel applets
ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libssl0.9.8 0.9.8o-1 SSL shared libraries
ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxml2 2.7.7.dfsg-4 GNOME XML library
ii sox 14.3.1-1+b1 Swiss army knife of sound processi
Versions of packages gnubiff recommends:
ii fam 2.7.0-17 File Alteration Monitor
gnubiff suggests no packages.
-- no debconf information
diff -ur gnubiff-2.2.13/src/socket.cc b/src/socket.cc
--- gnubiff-2.2.13/src/socket.cc 2010-02-06 15:39:37.000000000 +0100
+++ b/src/socket.cc 2010-08-28 17:48:54.000000000 +0200
@@ -401,15 +401,25 @@
line.c_str());
break;
default:
- g_message ("[%d] RECV ERROR(%s:%d): %s", uin_, hostname_.c_str(),
- port_, strerror(status));
+ if (cnt <= 0)
+ g_message ("[%d] RECV ERROR(%s:%d): line too long, "
+ "security/prevdos_line_length should be increased",
+ uin_, hostname_.c_str(), port_);
+ else
+ g_message ("[%d] RECV ERROR(%s:%d): %s", uin_,
+ hostname_.c_str(), port_,
+ strerror(status));
break;
}
}
#endif
if (status_ == SOCKET_STATUS_ERROR) {
- g_warning (_("[%d] Unable to read from %s on port %d"), uin_,
- hostname_.c_str(), port_);
+ if (cnt <= 0)
+ g_warning (_("[%d] line too long, security/prevdos_line_length "
+ "should be increased"), uin_);
+ else
+ g_warning (_("[%d] Unable to read from %s on port %d"),
+ uin_, hostname_.c_str(), port_);
close();
}
--- End Message ---
--- Begin Message ---
Source: gnubiff
Source-Version: 2.2.13-4
We believe that the bug you reported is fixed in the latest version of
gnubiff, which is due to be installed in the Debian FTP archive:
gnubiff_2.2.13-4.debian.tar.gz
to main/g/gnubiff/gnubiff_2.2.13-4.debian.tar.gz
gnubiff_2.2.13-4.dsc
to main/g/gnubiff/gnubiff_2.2.13-4.dsc
gnubiff_2.2.13-4_i386.deb
to main/g/gnubiff/gnubiff_2.2.13-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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Stigge <[email protected]> (supplier of updated gnubiff 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 07 Aug 2011 11:13:48 +0200
Source: gnubiff
Binary: gnubiff
Architecture: source i386
Version: 2.2.13-4
Distribution: unstable
Urgency: low
Maintainer: Roland Stigge <[email protected]>
Changed-By: Roland Stigge <[email protected]>
Description:
gnubiff - mail notification program for GNOME (and others)
Closes: 594717
Changes:
gnubiff (2.2.13-4) unstable; urgency=low
.
* Included patch by david <[email protected]> to fix incorrect error
message in case of too long answer from IMAP server (Closes: #594717)
* debian/control: Standards-Version: 3.9.2
* debian/rules: new debhelper dh style rules
Checksums-Sha1:
96d1e5fce09b540ea14085fed9b8051b3eda7a6c 1189 gnubiff_2.2.13-4.dsc
1fbe42862a3c092f4d7f49fa8aa0ff54786eb952 7552 gnubiff_2.2.13-4.debian.tar.gz
598ba7b79ff9e7def4ae2a12f21c8c26b0ba167e 534050 gnubiff_2.2.13-4_i386.deb
Checksums-Sha256:
71966eb1412a7c6ac87f98f9cdcc15829e4c77e9252700583ac02ff2ef724656 1189
gnubiff_2.2.13-4.dsc
2a9b17399fff552d55f64432a4ef548250a0b7644c7f4e1ff884dcb6e9b9b060 7552
gnubiff_2.2.13-4.debian.tar.gz
dfe9c6a39edcc0c8a3db7308ee002648170fd52a28444a44c4116e652abd0db5 534050
gnubiff_2.2.13-4_i386.deb
Files:
f528bc84ab2cfb0087db54b83f6a4018 1189 mail optional gnubiff_2.2.13-4.dsc
de8800ae55d50317b44dc5934404346b 7552 mail optional
gnubiff_2.2.13-4.debian.tar.gz
a80183a21bcb9d6ffab3c0601e265971 534050 mail optional gnubiff_2.2.13-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFOPoDFcaH/YBv43g8RAsWaAJ0VrHY3Zho0xU041LZDt31+vbjJbgCgo2eU
ZIsxmbze0f7nfOvl+nvjUAw=
=zv4c
-----END PGP SIGNATURE-----
--- End Message ---