Package: wmbiff
Version: 0.4.27-2.1
Followup-For: Bug #626393
sorry, I forgot the attachment. Here it is
Regards,
Tommaso
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages wmbiff depends on:
ii libc6 2.13-38
ii libgcrypt11 1.5.0-5+deb7u1
ii libgnutls26 2.12.20-7
ii libx11-6 2:1.5.0-1+deb7u1
ii libxext6 2:1.3.1-2+deb7u1
ii libxpm4 1:3.5.10-1
ii zlib1g 1:1.2.7.dfsg-13
wmbiff recommends no packages.
Versions of packages wmbiff suggests:
ii ruby 1:1.9.3
ii ruby1.8 [ruby] 1.8.7.358-7
pn ssh-askpass <none>
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/bin/wmbiff (from wmbiff package)
Index: wmbiff-0.4.27/wmbiff/Client.h
===================================================================
--- wmbiff-0.4.27.orig/wmbiff/Client.h 2005-05-08 23:31:22.000000000 +0200
+++ wmbiff-0.4.27/wmbiff/Client.h 2013-10-11 15:42:58.000000000 +0200
@@ -76,7 +76,7 @@
} maildir;
struct {
char password[BUF_SMALL];
- char userName[BUF_SMALL];
+ char userName[BUF_BIG];
char serverName[BUF_BIG];
int serverPort;
int localPort;
Index: wmbiff-0.4.27/wmbiff/Imap4Client.c
===================================================================
--- wmbiff-0.4.27.orig/wmbiff/Imap4Client.c 2004-06-19 22:53:01.000000000 +0200
+++ wmbiff-0.4.27/wmbiff/Imap4Client.c 2013-10-11 15:42:33.000000000 +0200
@@ -479,8 +479,8 @@
/* special characters aren't allowed in hostnames, rfc 1034 */
const char *regexes[] = {
// type : username : password @ hostname (/ name)?(:port)?
- ".*imaps?:([^: ]{1,32}):([^@]{0,32})@([A-Za-z1-9][-A-Za-z0-9_.]+)(/(\"[^\"]+\")|([^:@ ]+))?(:[0-9]+)?( *([CcAaPp][-A-Za-z5 ]*))?$",
- ".*imaps?:([^: ]{1,32}) ([^ ]{1,32}) ([A-Za-z1-9][-A-Za-z0-9_.]+)(/(\"[^\"]+\")|([^: ]+))?( [0-9]+)?( *([CcAaPp][-A-Za-z5 ]*))?$",
+ ".*imaps?:([^: ]{1,256}):([^@]{0,32})@([A-Za-z1-9][-A-Za-z0-9_.]+)(/(\"[^\"]+\")|([^:@ ]+))?(:[0-9]+)?( *([CcAaPp][-A-Za-z5 ]*))?$",
+ ".*imaps?:([^: ]{1,256}) ([^ ]{1,32}) ([A-Za-z1-9][-A-Za-z0-9_.]+)(/(\"[^\"]+\")|([^: ]+))?( [0-9]+)?( *([CcAaPp][-A-Za-z5 ]*))?$",
NULL
};
char *unaliased_str;
@@ -497,9 +497,9 @@
if (Relax) {
regexes[0] =
- ".*imaps?:([^: ]{1,32}):([^@]{0,32})@([^/: ]+)(/(\"[^\"]+\")|([^:@ ]+))?(:[0-9]+)?( *(.*))?$";
+ ".*imaps?:([^: ]{1,256}):([^@]{0,32})@([^/: ]+)(/(\"[^\"]+\")|([^:@ ]+))?(:[0-9]+)?( *(.*))?$";
regexes[1] =
- ".*imaps?:([^: ]{1,32}) ([^ ]{1,32}) ([^/: ]+)(/(\"[^\"]+\")|([^: ]+))?( [0-9]+)?( *(.*))?$";
+ ".*imaps?:([^: ]{1,256}) ([^ ]{1,32}) ([^/: ]+)(/(\"[^\"]+\")|([^: ]+))?( [0-9]+)?( *(.*))?$";
}