pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors fix format string vulnerability (CAN-2005-0100...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d6877ea7aa6
branches:  trunk
changeset: 488801:5d6877ea7aa6
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Feb 09 16:09:43 2005 +0000

description:
fix format string vulnerability (CAN-2005-0100), bump PKGREVISION

diffstat:

 editors/emacs-nox11/Makefile     |   4 ++--
 editors/emacs/Makefile           |   4 ++--
 editors/emacs/distinfo           |   3 ++-
 editors/emacs/patches/patch-al   |  13 +++++++++++++
 editors/emacs20/Makefile         |   4 ++--
 editors/emacs20/distinfo         |   3 ++-
 editors/emacs20/patches/patch-ca |  13 +++++++++++++
 7 files changed, 36 insertions(+), 8 deletions(-)

diffs (106 lines):

diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs-nox11/Makefile
--- a/editors/emacs-nox11/Makefile      Wed Feb 09 16:03:47 2005 +0000
+++ b/editors/emacs-nox11/Makefile      Wed Feb 09 16:09:43 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2004/04/12 10:53:07 xtraeme Exp $
+# $NetBSD: Makefile,v 1.11 2005/02/09 16:09:43 drochner Exp $
 # FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
 
 DISTNAME=      emacs-21.3
 PKGNAME=       emacs-nox11-21.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=emacs/}
 
diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs/Makefile
--- a/editors/emacs/Makefile    Wed Feb 09 16:03:47 2005 +0000
+++ b/editors/emacs/Makefile    Wed Feb 09 16:09:43 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.75 2004/12/28 23:18:16 reed Exp $
+# $NetBSD: Makefile,v 1.76 2005/02/09 16:09:43 drochner Exp $
 # FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
 
 DISTNAME=      emacs-21.3
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=emacs/}
 
diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs/distinfo
--- a/editors/emacs/distinfo    Wed Feb 09 16:03:47 2005 +0000
+++ b/editors/emacs/distinfo    Wed Feb 09 16:09:43 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2004/07/31 21:01:54 kristerw Exp $
+$NetBSD: distinfo,v 1.17 2005/02/09 16:09:43 drochner Exp $
 
 SHA1 (emacs-21.3.tar.gz) = a8aae1b619e50ed6fed5b1351b54b38ed98c61b8
 Size (emacs-21.3.tar.gz) = 20399831 bytes
@@ -8,5 +8,6 @@
 SHA1 (patch-ae) = e2b66b23efb90608470aef5ebd0c75e27bcd6b55
 SHA1 (patch-ag) = 3d64c0d53e3a8a737eeb04a6080a92a826b73620
 SHA1 (patch-ak) = c37ecdcb1e0b0211b15baa7100dd43eab3f0830b
+SHA1 (patch-al) = 38cdc0b2611ea6f437d76abbc213139ade8c88f8
 SHA1 (patch-bg) = 567ccce83e2b6d898a87f20763d5ff4b19c30deb
 SHA1 (patch-xx) = a818041b6c851f8a675b17d4c7372ddb5f468c53
diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs/patches/patch-al    Wed Feb 09 16:09:43 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.5 2005/02/09 16:09:43 drochner Exp $
+
+--- lib-src/movemail.c.orig    2005-02-09 16:31:55.000000000 +0100
++++ lib-src/movemail.c
+@@ -787,7 +787,7 @@ popmail (mailbox, outfile, preserve, pas
+       mbx_delimit_begin (mbf);
+       if (pop_retr (server, i, mbf) != OK)
+       {
+-        error (Errmsg, 0, 0);
++        error ("%s", Errmsg, 0);
+         close (mbfi);
+         return (1);
+       }
diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs20/Makefile
--- a/editors/emacs20/Makefile  Wed Feb 09 16:03:47 2005 +0000
+++ b/editors/emacs20/Makefile  Wed Feb 09 16:09:43 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2004/10/03 00:14:38 tv Exp $
+# $NetBSD: Makefile,v 1.15 2005/02/09 16:09:43 drochner Exp $
 
 DISTNAME=      emacs-20.7
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=emacs/} \
                ${MASTER_SITE_LOCAL}
diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs20/distinfo
--- a/editors/emacs20/distinfo  Wed Feb 09 16:03:47 2005 +0000
+++ b/editors/emacs20/distinfo  Wed Feb 09 16:09:43 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/03/25 22:13:34 kristerw Exp $
+$NetBSD: distinfo,v 1.6 2005/02/09 16:09:43 drochner Exp $
 
 SHA1 (emacs-20.7.tar.gz) = ef0168b927fb633bc9b14e2249431f26ff8b8452
 Size (emacs-20.7.tar.gz) = 15043428 bytes
@@ -47,3 +47,4 @@
 SHA1 (patch-bx) = 27713e1812240f9ed137aa793cbb5a4fa2cad33b
 SHA1 (patch-by) = a383206a32e902c448a1b529cf1eefc485f5beab
 SHA1 (patch-bz) = ef28314afc69c37da92ec208252e477bbb522458
+SHA1 (patch-ca) = e9c9929ea5f16ac9f4bec09f2bf8e4e28578702d
diff -r a79607264c5d -r 5d6877ea7aa6 editors/emacs20/patches/patch-ca
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs20/patches/patch-ca  Wed Feb 09 16:09:43 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ca,v 1.1 2005/02/09 16:09:43 drochner Exp $
+
+--- lib-src/movemail.c.orig    2005-02-09 16:55:15.000000000 +0100
++++ lib-src/movemail.c
+@@ -765,7 +765,7 @@ popmail (user, outfile, preserve, passwo
+       mbx_delimit_begin (mbf);
+       if (pop_retr (server, i, mbf) != OK)
+       {
+-        error (Errmsg);
++        error ("%s", Errmsg);
+         close (mbfi);
+         return (1);
+       }



Home | Main Index | Thread Index | Old Index