Skip to content

Commit

Permalink
Pullup ticket 307 - requested by Matthias Drochner
Browse files Browse the repository at this point in the history
security fix for emacs

Revisions pulled up:
- pkgsrc/editors/emacs/Makefile           1.76
- pkgsrc/editors/emacs/distinfo           1.17
- pkgsrc/editors/emacs/patches/patch-al   1.5
- pkgsrc/editors/emacs-nox11/Makefile     1.11
- pkgsrc/editors/emacs20/Makefile         1.15
- pkgsrc/editors/emacs20/distinfo         1.6
- pkgsrc/editors/emacs20/patches/patch-ca 1.1

   Module Name:    pkgsrc
   Committed By:   drochner
   Date:           Wed Feb  9 16:09:43 UTC 2005

   Modified Files:
           pkgsrc/editors/emacs: Makefile distinfo
           pkgsrc/editors/emacs-nox11: Makefile
           pkgsrc/editors/emacs20: Makefile distinfo
   Added Files:
           pkgsrc/editors/emacs/patches: patch-al
           pkgsrc/editors/emacs20/patches: patch-ca

   Log Message:
   fix format string vulnerability (CAN-2005-0100), bump PKGREVISION
  • Loading branch information
salo committed Feb 24, 2005
1 parent a80ba73 commit a71fc30
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 8 deletions.
4 changes: 2 additions & 2 deletions editors/emacs-nox11/Makefile
@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.10 2004/04/12 10:53:07 xtraeme Exp $
# $NetBSD: Makefile,v 1.10.6.1 2005/02/24 23:51:41 salo 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/}

Expand Down
4 changes: 2 additions & 2 deletions editors/emacs/Makefile
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.74 2004/10/03 00:14:38 tv Exp $
# $NetBSD: Makefile,v 1.74.2.1 2005/02/24 23:51:41 salo Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp

DISTNAME= emacs-21.3
PKGREVISION= 5
PKGREVISION= 7
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}

Expand Down
3 changes: 2 additions & 1 deletion editors/emacs/distinfo
@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.16 2004/07/31 21:01:54 kristerw Exp $
$NetBSD: distinfo,v 1.16.4.1 2005/02/24 23:51:41 salo Exp $

SHA1 (emacs-21.3.tar.gz) = a8aae1b619e50ed6fed5b1351b54b38ed98c61b8
Size (emacs-21.3.tar.gz) = 20399831 bytes
Expand All @@ -8,5 +8,6 @@ SHA1 (patch-ad) = 39a11bc214ae3d2f9d634c30b196a46d473ab92f
SHA1 (patch-ae) = e2b66b23efb90608470aef5ebd0c75e27bcd6b55
SHA1 (patch-ag) = 3d64c0d53e3a8a737eeb04a6080a92a826b73620
SHA1 (patch-ak) = c37ecdcb1e0b0211b15baa7100dd43eab3f0830b
SHA1 (patch-al) = 38cdc0b2611ea6f437d76abbc213139ade8c88f8
SHA1 (patch-bg) = 567ccce83e2b6d898a87f20763d5ff4b19c30deb
SHA1 (patch-xx) = a818041b6c851f8a675b17d4c7372ddb5f468c53
13 changes: 13 additions & 0 deletions editors/emacs/patches/patch-al
@@ -0,0 +1,13 @@
$NetBSD: patch-al,v 1.4.10.1 2005/02/24 23:51:41 salo 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);
}
4 changes: 2 additions & 2 deletions editors/emacs20/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.14 2004/10/03 00:14:38 tv Exp $
# $NetBSD: Makefile,v 1.14.2.1 2005/02/24 23:51:42 salo Exp $

DISTNAME= emacs-20.7
PKGREVISION= 4
PKGREVISION= 5
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/} \
${MASTER_SITE_LOCAL}
Expand Down
3 changes: 2 additions & 1 deletion editors/emacs20/distinfo
@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.5 2004/03/25 22:13:34 kristerw Exp $
$NetBSD: distinfo,v 1.5.8.1 2005/02/24 23:51:42 salo Exp $

SHA1 (emacs-20.7.tar.gz) = ef0168b927fb633bc9b14e2249431f26ff8b8452
Size (emacs-20.7.tar.gz) = 15043428 bytes
Expand Down Expand Up @@ -47,3 +47,4 @@ SHA1 (patch-bw) = 5de9f12d129b2f13a1d9c1702c7a889cd6b922f4
SHA1 (patch-bx) = 27713e1812240f9ed137aa793cbb5a4fa2cad33b
SHA1 (patch-by) = a383206a32e902c448a1b529cf1eefc485f5beab
SHA1 (patch-bz) = ef28314afc69c37da92ec208252e477bbb522458
SHA1 (patch-ca) = e9c9929ea5f16ac9f4bec09f2bf8e4e28578702d
13 changes: 13 additions & 0 deletions editors/emacs20/patches/patch-ca
@@ -0,0 +1,13 @@
$NetBSD: patch-ca,v 1.1.2.2 2005/02/24 23:51:42 salo 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);
}

0 comments on commit a71fc30

Please sign in to comment.