/[pkgs]/devel/texlive/texlive-CVE-2007-4033.patch
ViewVC logotype

Contents of /devel/texlive/texlive-CVE-2007-4033.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Dec 2 08:03:19 2007 UTC (23 months, 3 weeks ago) by jnovy
Branch: MAIN
CVS Tags: texlive-2007-46_fc13, texlive-2007-32_fc10, texlive-2007-44_fc12, texlive-2007-26_fc9, texlive-2007-39_fc11, texlive-2007-11_fc9, texlive-2007-10_fc9, texlive-2007-22_fc9, texlive-2007-33_fc10, texlive-2007-40_fc11, F-12-split, texlive-2007-0_17_fc9, texlive-2007-2_fc9, texlive-2007-41_fc10, texlive-2007-41_fc11, texlive-2007-36_fc11, texlive-2007-42_fc11, F-10-split, F-11-split, texlive-2007-23_fc9, texlive-2007-20_fc9, texlive-2007-21_fc9, texlive-2007-8_fc9, texlive-2007-4_fc9, F-9-split, texlive-2007-27_fc9, texlive-2007-30_fc10, texlive-2007-31_fc10, texlive-2007-47_fc13, texlive-2007-13_fc9, texlive-2007-19_fc9, texlive-2007-18_fc9, texlive-2007-28_fc9, texlive-2007-24_fc9, texlive-2007-25_fc9, texlive-2007-5_fc9, texlive-2007-7_fc9, texlive-2007-6_fc9, texlive-2007-35_fc10, texlive-2007-17_fc9, texlive-2007-1_fc9, texlive-2007-34_fc10, texlive-2007-9_fc9, texlive-2007-37_fc11, texlive-2007-43_fc12, texlive-2007-38_fc11, texlive-2007-3_fc9, texlive-2007-12_fc9, texlive-2007-16_fc9, texlive-2007-15_fc9, texlive-2007-14_fc9, texlive-2007-29_fc10, texlive-2007-45_fc13, HEAD
File MIME type: text/x-patch
initial import
1 diff -up tetex-src-3.0/libs/t1lib/t1env.c.CVE-2007-4033 tetex-src-3.0/libs/t1lib/t1env.c
2 --- tetex-src-3.0/libs/t1lib/t1env.c.CVE-2007-4033 2004-01-27 23:26:31.000000000 +0100
3 +++ tetex-src-3.0/libs/t1lib/t1env.c 2007-11-02 12:48:20.000000000 +0100
4 @@ -568,6 +568,12 @@ char *intT1_Env_GetCompletePath( char *F
5 #endif
6 strcat( pathbuf, DIRECTORY_SEP);
7 /* And finally the filename: */
8 + /* If current pathbuf + StrippedName + 1 byte for NULL is bigger than pathbuf
9 + let's try next pathbuf */
10 + if( strlen(pathbuf) + strlen(StrippedName) + 1 > sizeof(pathbuf) ) {
11 + i++;
12 + continue;
13 + }
14 strcat( pathbuf, StrippedName);
15
16 /* Check for existence of the path: */

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2