diff options
author | tonio <tonio@pkgsrc.org> | 2006-06-20 14:08:05 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2006-06-20 14:08:05 +0000 |
commit | 70e3c6695d0d4ccd75c808d517ae6309b2cace3d (patch) | |
tree | 0bd8881503c1271244ffe91df698fc0e1645a4b4 /mail | |
parent | c36e4c8a051ba0a47770d70bc2178d772571a2ed (diff) | |
download | pkgsrc-70e3c6695d0d4ccd75c808d517ae6309b2cace3d.tar.gz |
The patch for imap/browse
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt-devel/patches/patch-ae | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/mutt-devel/patches/patch-ae b/mail/mutt-devel/patches/patch-ae new file mode 100644 index 00000000000..0520af00aec --- /dev/null +++ b/mail/mutt-devel/patches/patch-ae @@ -0,0 +1,29 @@ +$NetBSD: patch-ae,v 1.5 2006/06/20 14:08:05 tonio Exp $ + +--- imap/browse.c.orig 2002-02-26 10:38:56.000000000 +0000 ++++ imap/browse.c 2006-06-20 10:05:32.000000000 +0100 +@@ -452,7 +452,7 @@ + if (*s == '\"') + { + s++; +- while (*s && *s != '\"') ++ while (*s && *s != '\"' && n < sizeof (ns) - 1) + { + if (*s == '\\') + s++; +@@ -463,12 +463,14 @@ + s++; + } + else +- while (*s && !ISSPACE (*s)) ++ while (*s && !ISSPACE (*s) && n < sizeof (ns) - 1) + { + ns[n++] = *s; + s++; + } + ns[n] = '\0'; ++ if (n == sizeof (ns) - 1) ++ dprint (1, (debugfile, "browse_get_namespace: too long: [%s]\n", ns)); + /* delim? */ + s = imap_next_word (s); + /* delimiter is meaningless if namespace is "". Why does |