Package: tin Version: 1:1.8.0-1 Severity: important Tags: patch Hello,
If the user's mailbox is a Maildir directory, then mail_check() in
misc.c allocates one too few byte to store the name of the "new"
subdirectory of the Maildir directory, because joinpath() assumes that
the given file name (in this case, MAILDIR_NEW) does not begin with
a slash. The following patch removes the slash at the beginning of
MAILDIR_NEW and makes tin start for me again.
--- tin-1.8.0.orig/src/misc.c.orig
+++ tin-1.8.0/src/misc.c
@@ -912,7 +912,7 @@
*
* TODO: why not cache the mailbox_name?
*/
-#define MAILDIR_NEW "/new"
+#define MAILDIR_NEW "new"
t_bool
mail_check(
void)
Thanks,
Ken
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Versions of packages tin depends on:
ii debconf [debconf-2.0] 1.4.67 Debian configuration management sy
ii libc6 2.3.5-11 GNU C Library: Shared libraries an
ii libcanlock2 2b-3 library for creating and verifying
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libncursesw5 5.5-1 Shared libraries for terminal hand
ii libpcre3 6.4-1.1 Perl 5 Compatible Regular Expressi
Versions of packages tin recommends:
ii postfix [mail-transport-agent 2.2.8-2 A high-performance mail transport
-- debconf information:
* shared/news/server: localhost
--
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
"Parentheses? What parentheses? I haven't noticed any parentheses
since my first month of Lisp programming. I like to ask people who
complain about parentheses in Lisp if they are bothered by all the
spaces between words in a newspaper..." -- Kenny Tilton
signature.asc
Description: Digital signature

