]> git.pld-linux.org Git - packages/t1lib.git/blob - t1lib-5.1.2-CVE-2010-2642.patch
- release 6 (by relup.sh)
[packages/t1lib.git] / t1lib-5.1.2-CVE-2010-2642.patch
1 Index: 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.022419 seconds and 3 git commands to generate.