diff options
author | drochner <drochner@pkgsrc.org> | 2011-02-19 14:42:21 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-02-19 14:42:21 +0000 |
commit | 851f07d9dff7fd456c2d269ef5e7ec0eefd82766 (patch) | |
tree | d1e1743d0ccd79a082fc70eebb53d9a6b31c438f /print | |
parent | ad403c35bb67fbd078f2c303fe4fabf79018d14e (diff) | |
download | pkgsrc-851f07d9dff7fd456c2d269ef5e7ec0eefd82766.tar.gz |
add another patch from upstream
(https://bugzilla.gnome.org/show_bug.cgi?id=640923)
to fix a possible buffer overflow in the dvi backend
The dvi backend is only built with the (non-default) "dvi" option.
bump PKGREV
Diffstat (limited to 'print')
-rw-r--r-- | print/evince/Makefile | 4 | ||||
-rw-r--r-- | print/evince/distinfo | 4 | ||||
-rw-r--r-- | print/evince/patches/patch-ba | 11 |
3 files changed, 14 insertions, 5 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile index 1f53a7a8e92..718fe8016a1 100644 --- a/print/evince/Makefile +++ b/print/evince/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.70 2011/01/31 17:04:32 drochner Exp $ +# $NetBSD: Makefile,v 1.71 2011/02/19 14:42:21 drochner Exp $ # PKG_DESTDIR_SUPPORT= user-destdir .include "../../print/evince/Makefile.common" -PKGREVISION= 3 +PKGREVISION= 4 COMMENT= Document viewer diff --git a/print/evince/distinfo b/print/evince/distinfo index 116bd109ad8..126697d8b2a 100644 --- a/print/evince/distinfo +++ b/print/evince/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.32 2011/01/11 12:47:55 drochner Exp $ +$NetBSD: distinfo,v 1.33 2011/02/19 14:42:21 drochner Exp $ SHA1 (evince-2.32.0.tar.bz2) = 2f06a2b9dfd8667f4b4c6e90be3c49f6fe026fc8 RMD160 (evince-2.32.0.tar.bz2) = a2d52685ac119b70cf40f320de457b3dfbac2587 Size (evince-2.32.0.tar.bz2) = 2295272 bytes SHA1 (patch-aa) = e42418b7431329767e95d81bf7493b5e3a85cc8b -SHA1 (patch-ba) = d4a76caf461fb4734c05025bc8c00f2549c22e19 +SHA1 (patch-ba) = 6d2dfc1cdba6a4ea205cdb34422636d87d10d835 SHA1 (patch-bb) = e4ef54ccb32414e335110167b4bc0363969aa612 SHA1 (patch-bc) = 36bcaf9ecb6ac88f18272926b8fbb410f981edd9 SHA1 (patch-bd) = 0922d241c81a9f4bb1c7056e97921299a9705160 diff --git a/print/evince/patches/patch-ba b/print/evince/patches/patch-ba index ceee9d0b784..33f1c5b12ca 100644 --- a/print/evince/patches/patch-ba +++ b/print/evince/patches/patch-ba @@ -1,4 +1,4 @@ -$NetBSD: patch-ba,v 1.1 2011/01/10 20:16:56 drochner Exp $ +$NetBSD: patch-ba,v 1.2 2011/02/19 14:42:21 drochner Exp $ --- backend/dvi/mdvi-lib/afmparse.c.orig 2009-04-24 07:24:16.000000000 +0000 +++ backend/dvi/mdvi-lib/afmparse.c @@ -11,3 +11,12 @@ $NetBSD: patch-ba,v 1.1 2011/01/10 20:16:56 drochner Exp $ { ident[idx++] = ch; ch = fgetc(stream); +@@ -190,7 +190,7 @@ static char *linetoken(FILE *stream) + while ((ch = fgetc(stream)) == ' ' || ch == '\t' ); + + idx = 0; +- while (ch != EOF && ch != lineterm) ++ while (ch != EOF && ch != lineterm && idx < MAX_NAME) + { + ident[idx++] = ch; + ch = fgetc(stream); |