summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-02-14 15:32:30 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-02-14 15:32:30 +0000
commit1867354dcbc4095dd298bdbf324238980b031457 (patch)
treec9c3a24260f9cb8d8be04e3223b5b933a18b8779 /editors/emacs22
parentAdd p5-Test-WWW-Mechanize 1.02, (diff)
Fix format string vulnerability in the movemail utility.
Security: CAN-2005-0100 Security: http://www.vuxml.org/freebsd/3e3c860d-7dae-11d9-a9e7-0001020eed82.html Security: Malicious POP3 servers can execute arbitrary code.
Notes
Notes: svn path=/head/; revision=128795
Diffstat (limited to 'editors/emacs22')
-rw-r--r--editors/emacs22/Makefile2
-rw-r--r--editors/emacs22/files/patch-lib-src:movemail.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 862df586a859..31853c7fe89b 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= 21.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/editors/emacs22/files/patch-lib-src:movemail.c b/editors/emacs22/files/patch-lib-src:movemail.c
new file mode 100644
index 000000000000..c47286937302
--- /dev/null
+++ b/editors/emacs22/files/patch-lib-src:movemail.c
@@ -0,0 +1,11 @@
+--- lib-src/movemail.c.orig Mon Feb 14 11:29:49 2005
++++ lib-src/movemail.c Mon Feb 14 11:33:06 2005
+@@ -787,7 +787,7 @@
+ mbx_delimit_begin (mbf);
+ if (pop_retr (server, i, mbf) != OK)
+ {
+- error (Errmsg, 0, 0);
++ error ("%s", Errmsg, 0);
+ close (mbfi);
+ return (1);
+ }