]> git.pld-linux.org Git - packages/t1lib.git/blame - t1lib-5.1.2-CVE-2010-2642.patch
- added CVE-2010-2642 patch from t1lib-5.1.2-10.1.src.rpm (OpenSuSE), rel. 4
[packages/t1lib.git] / t1lib-5.1.2-CVE-2010-2642.patch
CommitLineData
c5b183d3
TP
1Index: t1lib-5.1.2/lib/t1lib/parseAFM.c
2===================================================================
3--- t1lib-5.1.2.orig/lib/t1lib/parseAFM.c 2007-12-23 16:49:42.000000000 +0100
4+++ t1lib-5.1.2/lib/t1lib/parseAFM.c 2011-01-07 10:52:38.953106681 +0100
5@@ -199,7 +199,7 @@
6 idx = 0;
7
8 while (ch != EOF && ch != ' ' && ch != CR && ch != LF &&
9- ch != CTRL_Z && ch != '\t' && ch != ':' && ch != ';'){
10+ ch != CTRL_Z && ch != '\t' && ch != ':' && ch != ';' && idx < MAX_NAME){
11 ident[idx++] = ch;
12 ch = fgetc(stream);
13 } /* while */
This page took 0.035704 seconds and 4 git commands to generate.