1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

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.
This commit is contained in:
MANTANI Nobutaka 2005-02-14 15:32:30 +00:00
parent 0512dd2a1d
commit 1867354dcb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128795
6 changed files with 36 additions and 3 deletions

View File

@ -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}

View File

@ -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);
}

View File

@ -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}

View File

@ -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);
}

View File

@ -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}

View File

@ -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);
}