1 diff --git a/extract.c b/extract.c
2 index a0a4929..9ef80b3 100644
5 @@ -2214,6 +2214,7 @@ static int test_compr_eb(__G__ eb, eb_size, compr_offset, test_uc_ebdata)
11 if (compr_offset < 4) /* field is not compressed: */
12 return PK_OK; /* do nothing and signal OK */
13 @@ -2223,6 +2224,12 @@ static int test_compr_eb(__G__ eb, eb_size, compr_offset, test_uc_ebdata)
14 eb_size <= (compr_offset + EB_CMPRHEADLEN)))
15 return IZ_EF_TRUNC; /* no compressed data! */
17 + method = makeword(eb + (EB_HEADSIZE + compr_offset));
18 + if ((method == STORED) && (eb_size != compr_offset + EB_CMPRHEADLEN + eb_ucsize))
19 + return PK_ERR; /* compressed & uncompressed
20 + * should match in STORED
25 (((ulg)(extent)eb_ucsize) != eb_ucsize) ||