source:
trunk/server/common/patches/gzip-cve-2009-2624.patch
@
1433
Last change on this file since 1433 was 1433, checked in by mitchb, 15 years ago | |
---|---|
File size: 596 bytes |
-
inflate.c
old new 335 335 } while (--i); 336 336 if (c[0] == n) /* null input--all zero length codes */ 337 337 { 338 q = (struct huft *) malloc ( 2* sizeof *q);338 q = (struct huft *) malloc (3 * sizeof *q); 339 339 if (!q) 340 340 return 3; 341 hufts += 2;341 hufts += 3; 342 342 q[0].v.t = (struct huft *) NULL; 343 343 q[1].e = 99; /* invalid code marker */ 344 344 q[1].b = 1; 345 q[2].e = 99; /* invalid code marker */ 346 q[2].b = 1; 345 347 *t = q + 1; 346 348 *m = 1; 347 349 return 0;
Note: See TracBrowser
for help on using the repository browser.