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:
parent
0512dd2a1d
commit
1867354dcb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128795
@ -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}
|
||||
|
11
editors/emacs/files/patch-lib-src:movemail.c
Normal file
11
editors/emacs/files/patch-lib-src:movemail.c
Normal 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);
|
||||
}
|
@ -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}
|
||||
|
11
editors/emacs22/files/patch-lib-src:movemail.c
Normal file
11
editors/emacs22/files/patch-lib-src:movemail.c
Normal 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);
|
||||
}
|
@ -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}
|
||||
|
11
editors/emacs23/files/patch-lib-src:movemail.c
Normal file
11
editors/emacs23/files/patch-lib-src:movemail.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user