diff --git a/japanese/mutt-devel/Makefile b/japanese/mutt-devel/Makefile index e2d98813cde2..7e4066166288 100644 --- a/japanese/mutt-devel/Makefile +++ b/japanese/mutt-devel/Makefile @@ -9,7 +9,7 @@ PORTNAME= mutt-devel PORTVERSION= ${VERSION}.j${JP_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= japanese mail MASTER_SITES= http://www.emaillab.org/mutt/1.5/ \ http://my.reset.jp/~iwashita/mutt/distfiles/ \ diff --git a/japanese/mutt-devel/files/patch-imap_browse.c b/japanese/mutt-devel/files/patch-imap_browse.c new file mode 100644 index 000000000000..bb5565d56b3d --- /dev/null +++ b/japanese/mutt-devel/files/patch-imap_browse.c @@ -0,0 +1,27 @@ +--- imap/browse.c.orig Wed Nov 5 09:41:36 2003 ++++ imap/browse.c Sat Jul 1 20:47:53 2006 +@@ -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