Line
Link Here
|
|
-- |
|
|
1 |
extract.c | 8 ++++++++ |
|
extract.c | 8 ++++++++ |
2 |
1 file changed, 8 insertions(+) |
1 |
1 file changed, 8 insertions(+) |
3 |
-- a/extract.c |
2 |
++ b/extract.c |
Lines 2217-2222
static int test_compr_eb(__G__ eb, eb_si
Link Here
|
2217 |
ulg eb_ucsize; |
2217 |
ulg eb_ucsize; |
2218 |
uch *eb_ucptr; |
2218 |
uch *eb_ucptr; |
2219 |
int r; |
2219 |
int r; |
|
|
2220 |
ush method; |
2220 |
|
2221 |
|
2221 |
if (compr_offset < 4) /* field is not compressed: */ |
2222 |
if (compr_offset < 4) /* field is not compressed: */ |
2222 |
return PK_OK; /* do nothing and signal OK */ |
2223 |
return PK_OK; /* do nothing and signal OK */ |
Lines 2226-2231
static int test_compr_eb(__G__ eb, eb_si
Link Here
|
2226 |
eb_size <= (compr_offset + EB_CMPRHEADLEN))) |
2227 |
eb_size <= (compr_offset + EB_CMPRHEADLEN))) |
2227 |
return IZ_EF_TRUNC; /* no compressed data! */ |
2228 |
return IZ_EF_TRUNC; /* no compressed data! */ |
2228 |
|
2229 |
|
|
|
2230 |
method = makeword(eb + (EB_HEADSIZE + compr_offset)); |
2231 |
if ((method == STORED) && |
2232 |
(eb_size - compr_offset - EB_CMPRHEADLEN != eb_ucsize)) |
2233 |
return PK_ERR; /* compressed & uncompressed |
2234 |
* should match in STORED |
2235 |
* method */ |
2236 |
|
2229 |
if ( |
2237 |
if ( |
2230 |
#ifdef INT_16BIT |
2238 |
#ifdef INT_16BIT |
2231 |
(((ulg)(extent)eb_ucsize) != eb_ucsize) || |
2239 |
(((ulg)(extent)eb_ucsize) != eb_ucsize) || |