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

Revision 1973, 613 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/dospecial.c

    a b  
    297297   static int omega_specials = 0; 
    298298 
    299299   if (nextstring + numbytes > maxstring) { 
     300      if (numbytes < 0 
     301          || (numbytes > 0 && 2 > INT_MAX / numbytes) 
     302          || 2 * numbytes > 1000 + 2 * numbytes) { 
     303         error("! Integer overflow in predospecial"); 
     304         exit(1); 
     305      } 
    300306      p = nextstring = mymalloc(1000 + 2 * numbytes) ; 
    301307      maxstring = nextstring + 2 * numbytes + 700 ; 
    302308   } 
Note: See TracBrowser for help on using the repository browser.