FreeBSD Bugzilla – Attachment 67683 Details for
Bug 99698
japanese/mutt-devel: Fix IMAP buffer overflow vulnerability
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mutt-devel.diff
mutt-devel.diff (text/plain), 1.51 KB, created by
Shaun Amott
on 2006-07-01 21:40:16 UTC
(
hide
)
Description:
mutt-devel.diff
Filename:
MIME Type:
Creator:
Shaun Amott
Created:
2006-07-01 21:40:16 UTC
Size:
1.51 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/japanese/mutt-devel/Makefile,v >retrieving revision 1.59 >diff -u -r1.59 Makefile >--- Makefile 9 May 2006 00:18:01 -0000 1.59 >+++ Makefile 1 Jul 2006 20:06:41 -0000 >@@ -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/ \ >Index: files/patch-imap_browse.c >=================================================================== >RCS file: files/patch-imap_browse.c >diff -N files/patch-imap_browse.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-imap_browse.c 1 Jul 2006 20:06:41 -0000 >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 99698
: 67683