[Frugalware-darcs] frugalware-0.6: t1lib-5.1.1-2terminus1-i686

voroskoi voroskoi at frugalware.org
Thu Oct 4 11:00:35 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-0.6;a=darcs_commitdiff;h=20071004084615-dd049-10963981f4ebe3d07e38570a77ad1718ef8529b1.gz;

[t1lib-5.1.1-2terminus1-i686
voroskoi <voroskoi at frugalware.org>**20071004084615
 secfix relbump, closes #2297
] {
addfile ./source/xlib/t1lib/CVE-2007-4033.diff
hunk ./source/xlib/t1lib/CVE-2007-4033.diff 1
+--- t1lib-5.1.0.orig/lib/t1lib/t1env.c
++++ t1lib-5.1.0/lib/t1lib/t1env.c
+@@ -611,6 +611,12 @@
+ #endif 
+     strcat( pathbuf, DIRECTORY_SEP);
+     /* And finally the filename: */
++    /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf
++       let's try next pathbuf */
++    if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) {
++	i++;
++    	continue;
++    }
+     strcat( pathbuf, StrippedName);
+     
+     /* Check for existence of the path: */
hunk ./source/xlib/t1lib/FrugalBuild 6
-pkgrel=1
-pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
+pkgrel=2terminus1
+pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts."
hunk ./source/xlib/t1lib/FrugalBuild 10
-makedepends=('tetex')
hunk ./source/xlib/t1lib/FrugalBuild 13
-source=("http://www.ibiblio.org/pub/Linux/libs/graphics/$pkgname-$pkgver.tar.gz")
+source=(http://www.ibiblio.org/pub/Linux/libs/graphics/$pkgname-$pkgver.tar.gz CVE-2007-4033.diff)
hunk ./source/xlib/t1lib/FrugalBuild 17
-	Fsed "all: t1lib_doc.ps" "all: pdf" doc/Makefile.in
-	Fbuild
+	Fpatchall
+	Fconf
+	make without_doc || Fdie
+	Fmakeinstall
+	chmod +x $Fdestdir/usr/lib/*.so || Fdie
hunk ./source/xlib/t1lib/FrugalBuild 23
+sha1sums=('98418741cb9e0a27d65c2313f93bd1ef53ec1833' \
+          'f99460baf795c67bf4063fad33c93b040a13e78a')
hunk ./source/xlib/t1lib/FrugalBuild 26
-sha1sums=('98418741cb9e0a27d65c2313f93bd1ef53ec1833')
}


More information about the Frugalware-darcs mailing list