source: projects/specs/branches/6/t/texlive/texlive-2009-CVE-2010-0827.patch @ 1973

Revision 1973, 822 bytes checked in by munepi, 14 years ago (diff)

texlive: rebuilt zlib-1.2.5; applied security patches and some patches for libpoppler-0.12

  • texk/dvipsk/virtualfont.c

    ---
     texk/dvipsk/virtualfont.c |    6 +++++-
     1 file changed, 5 insertions(+), 1 deletion(-)
    
    old new  
    3636 *   Subroutine vfbyte returns the next byte. 
    3737 */ 
    3838static FILE *vffile ; 
    39 static char name[50] ; 
     39static char name[500] ; 
    4040void 
    4141badvf(char *s) 
    4242{ 
     
    9393   if (*d==0) 
    9494      d = vfpath ; 
    9595#endif 
     96   if (strlen(n) + 5 >= sizeof (name)) { 
     97     /* 5 for vf() + null */ 
     98     error("! VF file name too long in vfopen") ;  
     99   } 
    96100#ifdef MVSXA   /* IBM: MVS/XA */ 
    97101   (void)sprintf(name, "vf(%s)", n) ; 
    98102#else 
Note: See TracBrowser for help on using the repository browser.