source: trunk/server/common/patches/gzip-cve-2010-0001.patch @ 1433

Last change on this file since 1433 was 1433, checked in by mitchb, 14 years ago
Scriptsify gzip to patch for CVE-2009-2624 and CVE-2010-0001
File size: 298 bytes
  • unlzw.c

    old new  
    248248        int  o;
    249249
    250250    resetbuf:
    251         e = insize-(o = (posbits>>3));
     251        o = posbits >> 3;
     252        e = o <= insize ? insize - o : 0;
    252253
    253254        for (i = 0 ; i < e ; ++i) {
    254255            inbuf[i] = inbuf[i+o];
Note: See TracBrowser for help on using the repository browser.