openbsd-ports/mail/xfmail/patches/patch-src_mail_fmail_cpp
avsm 9172f424be plug some off-by-ones in various bits of mail and ui
submitted upstream, PKGNAME bumped
2003-06-20 12:01:55 +00:00

13 lines
553 B
Plaintext

$OpenBSD: patch-src_mail_fmail_cpp,v 1.1 2003/06/20 12:01:55 avsm Exp $
--- src/mail/fmail.cpp.orig Fri Jun 20 12:46:41 2003
+++ src/mail/fmail.cpp Fri Jun 20 12:47:09 2003
@@ -8064,7 +8064,7 @@ int load_folders_conf(char *ffile) {
p = buf + 1;
while((*p == ' ') || (*p == 0x09))
p++;
- if(sscanf(p, "%255s %d %d %d %d %ld", fname, &ftype, &fflags, &fmsgnum, &funreadnum, &fuid) != 6)
+ if(sscanf(p, "%254s %d %d %d %d %ld", fname, &ftype, &fflags, &fmsgnum, &funreadnum, &fuid) != 6)
continue;
switch(ftype) {
case F_MH: