freebsd-ports/editors/emacs23/files/patch-lib-src:movemail.c
MANTANI Nobutaka 1867354dcb 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.
2005-02-14 15:32:30 +00:00

11 lines
294 B
C

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