-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunzip.c.mut.desc
304 lines (304 loc) · 23.6 KB
/
unzip.c.mut.desc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.0 1993/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.1 1993/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.-1 1993/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.((13)+1) 1993/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.((13)-1) 1993/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 0/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 -1/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 ((1993)+1)/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 ((1993)-1)/06/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/0/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/1/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/-1/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/((06)+1)/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/((06)-1)/10 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/0 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/1 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/-1 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/((10)+1) 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/((10)-1) 13:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 0:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 1:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 -1:29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 ((13)+1):29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 ((13)-1):29:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:0:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:1:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:-1:00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:((29)+1):00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:((29)-1):00 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:29:0 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:29:1 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:29:-1 jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:29:((00)+1) jloup Exp $";
17: /* MUTANT (rep_const) */static char rcsid[] = "$Id: unzip.c,v 0.13 1993/06/10 13:29:((00)-1) jloup Exp $";
25: #define LOCSIG 1x04034b50L /* MUTANT (rep_const) *//* four-byte lead-in (lsb first) */
25: #define LOCSIG -1x04034b50L /* MUTANT (rep_const) *//* four-byte lead-in (lsb first) */
26: #define LOCFLG 0 /* MUTANT (rep_const) *//* offset of bit flag */
26: #define LOCFLG 1 /* MUTANT (rep_const) *//* offset of bit flag */
26: #define LOCFLG -1 /* MUTANT (rep_const) *//* offset of bit flag */
26: #define LOCFLG ((6)+1) /* MUTANT (rep_const) *//* offset of bit flag */
26: #define LOCFLG ((6)-1) /* MUTANT (rep_const) *//* offset of bit flag */
27: #define CRPFLG 0 /* MUTANT (rep_const) *//* bit for encrypted entry */
27: #define CRPFLG -1 /* MUTANT (rep_const) *//* bit for encrypted entry */
27: #define CRPFLG ((1)+1) /* MUTANT (rep_const) *//* bit for encrypted entry */
28: #define EXTFLG 0 /* MUTANT (rep_const) *//* bit for extended local header */
28: #define EXTFLG 1 /* MUTANT (rep_const) *//* bit for extended local header */
28: #define EXTFLG -1 /* MUTANT (rep_const) *//* bit for extended local header */
28: #define EXTFLG ((8)+1) /* MUTANT (rep_const) *//* bit for extended local header */
28: #define EXTFLG ((8)-1) /* MUTANT (rep_const) *//* bit for extended local header */
29: #define LOCHOW 0 /* MUTANT (rep_const) *//* offset of compression method */
29: #define LOCHOW 1 /* MUTANT (rep_const) *//* offset of compression method */
29: #define LOCHOW -1 /* MUTANT (rep_const) *//* offset of compression method */
29: #define LOCHOW ((8)+1) /* MUTANT (rep_const) *//* offset of compression method */
29: #define LOCHOW ((8)-1) /* MUTANT (rep_const) *//* offset of compression method */
30: #define LOCTIM 0 /* MUTANT (rep_const) *//* file mod time (for decryption) */
30: #define LOCTIM 1 /* MUTANT (rep_const) *//* file mod time (for decryption) */
30: #define LOCTIM -1 /* MUTANT (rep_const) *//* file mod time (for decryption) */
30: #define LOCTIM ((10)+1) /* MUTANT (rep_const) *//* file mod time (for decryption) */
30: #define LOCTIM ((10)-1) /* MUTANT (rep_const) *//* file mod time (for decryption) */
31: #define LOCCRC 0 /* MUTANT (rep_const) *//* offset of crc */
31: #define LOCCRC 1 /* MUTANT (rep_const) *//* offset of crc */
31: #define LOCCRC -1 /* MUTANT (rep_const) *//* offset of crc */
31: #define LOCCRC ((14)+1) /* MUTANT (rep_const) *//* offset of crc */
31: #define LOCCRC ((14)-1) /* MUTANT (rep_const) *//* offset of crc */
32: #define LOCSIZ 0 /* MUTANT (rep_const) *//* offset of compressed size */
32: #define LOCSIZ 1 /* MUTANT (rep_const) *//* offset of compressed size */
32: #define LOCSIZ -1 /* MUTANT (rep_const) *//* offset of compressed size */
32: #define LOCSIZ ((18)+1) /* MUTANT (rep_const) *//* offset of compressed size */
32: #define LOCSIZ ((18)-1) /* MUTANT (rep_const) *//* offset of compressed size */
33: #define LOCLEN 0 /* MUTANT (rep_const) *//* offset of uncompressed length */
33: #define LOCLEN 1 /* MUTANT (rep_const) *//* offset of uncompressed length */
33: #define LOCLEN -1 /* MUTANT (rep_const) *//* offset of uncompressed length */
33: #define LOCLEN ((22)+1) /* MUTANT (rep_const) *//* offset of uncompressed length */
33: #define LOCLEN ((22)-1) /* MUTANT (rep_const) *//* offset of uncompressed length */
34: #define LOCFIL 0 /* MUTANT (rep_const) *//* offset of file name field length */
34: #define LOCFIL 1 /* MUTANT (rep_const) *//* offset of file name field length */
34: #define LOCFIL -1 /* MUTANT (rep_const) *//* offset of file name field length */
34: #define LOCFIL ((26)+1) /* MUTANT (rep_const) *//* offset of file name field length */
34: #define LOCFIL ((26)-1) /* MUTANT (rep_const) *//* offset of file name field length */
35: #define LOCEXT 0 /* MUTANT (rep_const) *//* offset of extra field length */
35: #define LOCEXT 1 /* MUTANT (rep_const) *//* offset of extra field length */
35: #define LOCEXT -1 /* MUTANT (rep_const) *//* offset of extra field length */
35: #define LOCEXT ((28)+1) /* MUTANT (rep_const) *//* offset of extra field length */
35: #define LOCEXT ((28)-1) /* MUTANT (rep_const) *//* offset of extra field length */
36: #define LOCHDR 0 /* MUTANT (rep_const) *//* size of local header, including sig */
36: #define LOCHDR 1 /* MUTANT (rep_const) *//* size of local header, including sig */
36: #define LOCHDR -1 /* MUTANT (rep_const) *//* size of local header, including sig */
36: #define LOCHDR ((30)+1) /* MUTANT (rep_const) *//* size of local header, including sig */
36: #define LOCHDR ((30)-1) /* MUTANT (rep_const) *//* size of local header, including sig */
37: #define EXTHDR 0 /* MUTANT (rep_const) *//* size of extended local header, inc sig */
37: #define EXTHDR 1 /* MUTANT (rep_const) *//* size of extended local header, inc sig */
37: #define EXTHDR -1 /* MUTANT (rep_const) *//* size of extended local header, inc sig */
37: #define EXTHDR ((16)+1) /* MUTANT (rep_const) *//* size of extended local header, inc sig */
37: #define EXTHDR ((16)-1) /* MUTANT (rep_const) *//* size of extended local header, inc sig */
43: /* MUTANT (del_stmt) */ /* char *key; */ /* not used--needed to link crypt.c */
44: /* MUTANT (del_stmt) */ /* int pkzip = 0; */ /* set for a pkzip file */
44: /* MUTANT (rep_const) */int pkzip = 1; /* set for a pkzip file */
44: /* MUTANT (rep_const) */int pkzip = -1; /* set for a pkzip file */
45: /* MUTANT (del_stmt) */ /* int ext_header = 0; */ /* set if extended local header */
45: /* MUTANT (rep_const) */int ext_header = 1; /* set if extended local header */
45: /* MUTANT (rep_const) */int ext_header = -1; /* set if extended local header */
54: /* MUTANT (del_stmt) */ /* uch *h = inbuf + inptr; */ /* first local header */
54: /* MUTANT (rep_op) */ uch *h = inbuf - inptr; /* first local header */
54: /* MUTANT (rep_op) */ uch *h = inbuf * inptr; /* first local header */
54: /* MUTANT (rep_op) */ uch *h = inbuf % inptr; /* first local header */
56: /* MUTANT (del_stmt) */ /* ifd = in; */
59: /* MUTANT (del_stmt) */ /* inptr += LOCHDR + SH(h + LOCFIL) + SH(h + LOCEXT); */
59: /* MUTANT (rep_op) */ inptr -= LOCHDR + SH(h + LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr *= LOCHDR + SH(h + LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr %= LOCHDR + SH(h + LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR - SH(h + LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR * SH(h + LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR % SH(h + LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h - LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h * LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h % LOCFIL) + SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h + LOCFIL) - SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h + LOCFIL) * SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h + LOCFIL) % SH(h + LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h + LOCFIL) + SH(h - LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h + LOCFIL) + SH(h * LOCEXT);
59: /* MUTANT (rep_op) */ inptr += LOCHDR + SH(h + LOCFIL) + SH(h % LOCEXT);
61: /* MUTANT (rep_op) */ if (inptr <= insize || LG(h) != LOCSIG) {
61: /* MUTANT (rep_op) */ if (inptr < insize || LG(h) != LOCSIG) {
61: /* MUTANT (rep_op) */ if (inptr >= insize || LG(h) != LOCSIG) {
61: /* MUTANT (rep_op) */ if (inptr == insize || LG(h) != LOCSIG) {
61: /* MUTANT (rep_op) */ if (inptr != insize || LG(h) != LOCSIG) {
61: /* MUTANT (rep_op) */ if (inptr > insize && LG(h) != LOCSIG) {
61: /* MUTANT (rep_op) */ if (inptr > insize || LG(h) == LOCSIG) {
61: /* MUTANT (negate) */ if(! (inptr > insize || LG(h) != LOCSIG)) {
64: /* MUTANT (del_stmt) */ /* exit_code = ERROR; */
65: /* MUTANT (del_stmt) */ /* return ERROR; */
68: /* MUTANT (rep_op) */ if (method == STORED && method != DEFLATED) {
68: /* MUTANT (rep_op) */ if (method != STORED || method != DEFLATED) {
68: /* MUTANT (rep_op) */ if (method != STORED && method == DEFLATED) {
68: /* MUTANT (negate) */ if(! (method != STORED && method != DEFLATED)) {
72: /* MUTANT (del_stmt) */ /* exit_code = ERROR; */
73: /* MUTANT (del_stmt) */ /* return ERROR; */
77: /* MUTANT (rep_op) */ if ((decrypt = h[LOCFLG] & CRPFLG) == 0) {
77: /* MUTANT (rep_const) */ if ((decrypt = h[LOCFLG] & CRPFLG) != 1) {
77: /* MUTANT (rep_const) */ if ((decrypt = h[LOCFLG] & CRPFLG) != -1) {
77: /* MUTANT (negate) */ if(! ((decrypt = h[LOCFLG] & CRPFLG) != 0)) {
80: /* MUTANT (del_stmt) */ /* exit_code = ERROR; */
81: /* MUTANT (del_stmt) */ /* return ERROR; */
85: /* MUTANT (rep_op) */ ext_header = (h[LOCFLG] & EXTFLG) == 0;
85: /* MUTANT (rep_const) */ ext_header = (h[LOCFLG] & EXTFLG) != 1;
85: /* MUTANT (rep_const) */ ext_header = (h[LOCFLG] & EXTFLG) != -1;
86: /* MUTANT (del_stmt) */ /* pkzip = 1; */
86: /* MUTANT (rep_const) */ pkzip = 0;
86: /* MUTANT (rep_const) */ pkzip = -1;
86: /* MUTANT (rep_const) */ pkzip = ((1)+1);
89: /* MUTANT (del_stmt) */ /* return OK; */
102: /* MUTANT (del_stmt) */ /* ulg orig_crc = 0; */ /* original crc */
102: /* MUTANT (rep_const) */ ulg orig_crc = 1; /* original crc */
102: /* MUTANT (rep_const) */ ulg orig_crc = -1; /* original crc */
103: /* MUTANT (del_stmt) */ /* ulg orig_len = 0; */ /* original uncompressed length */
103: /* MUTANT (rep_const) */ ulg orig_len = 1; /* original uncompressed length */
103: /* MUTANT (rep_const) */ ulg orig_len = -1; /* original uncompressed length */
104: /* MUTANT (del_stmt) */ /* int n; */
105: /* MUTANT (del_stmt) */ /* uch buf[EXTHDR]; */ /* extended local header */
107: /* MUTANT (del_stmt) */ /* ifd = in; */
108: /* MUTANT (del_stmt) */ /* ofd = out; */
110: /* MUTANT (del_stmt) */ /* updcrc(NULL, 0); */ /* initialize crc */
110: /* MUTANT (rep_const) */ updcrc(NULL, 1); /* initialize crc */
110: /* MUTANT (rep_const) */ updcrc(NULL, -1); /* initialize crc */
112: /* MUTANT (rep_op) */ if (pkzip || !ext_header) { /* crc and length at the end otherwise */
112: /* MUTANT (negate) */ if(! (pkzip && !ext_header)) { /* crc and length at the end otherwise */
113: /* MUTANT (del_stmt) */ /* orig_crc = LG(inbuf + LOCCRC); */
113: /* MUTANT (rep_op) */ orig_crc = LG(inbuf - LOCCRC);
113: /* MUTANT (rep_op) */ orig_crc = LG(inbuf * LOCCRC);
113: /* MUTANT (rep_op) */ orig_crc = LG(inbuf % LOCCRC);
114: /* MUTANT (del_stmt) */ /* orig_len = LG(inbuf + LOCLEN); */
114: /* MUTANT (rep_op) */ orig_len = LG(inbuf - LOCLEN);
114: /* MUTANT (rep_op) */ orig_len = LG(inbuf * LOCLEN);
114: /* MUTANT (rep_op) */ orig_len = LG(inbuf % LOCLEN);
118: /* MUTANT (rep_op) */ if (method != DEFLATED) {
118: /* MUTANT (negate) */ if(! (method == DEFLATED)) {
120: /* MUTANT (del_stmt) */ /* int res = inflate(); */
122: /* MUTANT (rep_op) */ if (res != 3) {
122: /* MUTANT (rep_const) */ if (res == 0) {
122: /* MUTANT (rep_const) */ if (res == 1) {
122: /* MUTANT (rep_const) */ if (res == -1) {
122: /* MUTANT (rep_const) */ if (res == ((3)+1)) {
122: /* MUTANT (rep_const) */ if (res == ((3)-1)) {
122: /* MUTANT (negate) */ if(! (res == 3)) {
123: /* MUTANT (del_stmt) */ /* error("out of memory"); */
124: /* MUTANT (rep_op) */ } else if (res == 0) {
124: /* MUTANT (rep_const) */ } else if (res != 1) {
124: /* MUTANT (rep_const) */ } else if (res != -1) {
124: /* MUTANT (negate) */ } else if(! (res != 0)) {
125: /* MUTANT (del_stmt) */ /* error("invalid compressed data--format violated"); */
128: /* MUTANT (rep_op) */ } else if (pkzip || method == STORED) {
128: /* MUTANT (rep_op) */ } else if (pkzip && method != STORED) {
128: /* MUTANT (negate) */ } else if(! (pkzip && method == STORED)) {
130: /* MUTANT (del_stmt) */ /* register ulg n = LG(inbuf + LOCLEN); */
130: /* MUTANT (rep_op) */ register ulg n = LG(inbuf - LOCLEN);
130: /* MUTANT (rep_op) */ register ulg n = LG(inbuf * LOCLEN);
130: /* MUTANT (rep_op) */ register ulg n = LG(inbuf % LOCLEN);
132: /* MUTANT (rep_op) */ if (n == LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) {
132: /* MUTANT (rep_op) */ if (n != LG(inbuf - LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) {
132: /* MUTANT (rep_op) */ if (n != LG(inbuf * LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) {
132: /* MUTANT (rep_op) */ if (n != LG(inbuf % LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) {
132: /* MUTANT (rep_const) */ if (n != LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 1)) {
132: /* MUTANT (rep_const) */ if (n != LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : -1)) {
132: /* MUTANT (negate) */ if(! (n != LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0))) {
134: /* MUTANT (del_stmt) */ /* fprintf(stderr, "len %ld, siz %ld\n", n, LG(inbuf + LOCSIZ)); */
134: /* MUTANT (rep_op) */ fprintf(stderr, "len %ld, siz %ld\n", n, LG(inbuf - LOCSIZ));
134: /* MUTANT (rep_op) */ fprintf(stderr, "len %ld, siz %ld\n", n, LG(inbuf * LOCSIZ));
134: /* MUTANT (rep_op) */ fprintf(stderr, "len %ld, siz %ld\n", n, LG(inbuf % LOCSIZ));
135: /* MUTANT (del_stmt) */ /* error("invalid compressed data--length mismatch"); */
137: /* MUTANT (rep_op) */ while (n++) {
137: /* MUTANT (negate) */ while(! (n--)) {
138: /* MUTANT (del_stmt) */ /* uch c = (uch)get_byte(); */
140: /* MUTANT (negate) */ if(! (decrypt)) zdecode(c);
146: /* MUTANT (del_stmt) */ /* error("internal error, invalid method"); */
150: /* MUTANT (negate) */ if(! (!pkzip)) {
154: /* MUTANT (rep_op) */ for (n = 0; n <= 8; n++) {
154: /* MUTANT (rep_op) */ for (n = 0; n > 8; n++) {
154: /* MUTANT (rep_op) */ for (n = 0; n >= 8; n++) {
154: /* MUTANT (rep_op) */ for (n = 0; n == 8; n++) {
154: /* MUTANT (rep_op) */ for (n = 0; n != 8; n++) {
154: /* MUTANT (rep_op) */ for (n = 0; n < 8; n--) {
154: /* MUTANT (rep_const) */ for (n = 1; n < 8; n++) {
154: /* MUTANT (rep_const) */ for (n = -1; n < 8; n++) {
154: /* MUTANT (rep_const) */ for (n = 0; n < 0; n++) {
154: /* MUTANT (rep_const) */ for (n = 0; n < 1; n++) {
154: /* MUTANT (rep_const) */ for (n = 0; n < -1; n++) {
154: /* MUTANT (rep_const) */ for (n = 0; n < ((8)+1); n++) {
154: /* MUTANT (rep_const) */ for (n = 0; n < ((8)-1); n++) {
155: /* MUTANT (del_stmt) */ /* buf[n] = (uch)get_byte(); */ /* may cause an error if EOF */
158: /* MUTANT (del_stmt) */ /* orig_len = LG(buf+4); */
158: /* MUTANT (rep_op) */ orig_len = LG(buf-4);
158: /* MUTANT (rep_op) */ orig_len = LG(buf*4);
158: /* MUTANT (rep_op) */ orig_len = LG(buf%4);
158: /* MUTANT (rep_const) */ orig_len = LG(buf+0);
158: /* MUTANT (rep_const) */ orig_len = LG(buf+1);
158: /* MUTANT (rep_const) */ orig_len = LG(buf+-1);
158: /* MUTANT (rep_const) */ orig_len = LG(buf+((4)+1));
158: /* MUTANT (rep_const) */ orig_len = LG(buf+((4)-1));
160: /* MUTANT (negate) */ } else if(! (ext_header)) { /* If extended header, check it */
166: /* MUTANT (rep_op) */ for (n = 0; n <= EXTHDR; n++) {
166: /* MUTANT (rep_op) */ for (n = 0; n > EXTHDR; n++) {
166: /* MUTANT (rep_op) */ for (n = 0; n >= EXTHDR; n++) {
166: /* MUTANT (rep_op) */ for (n = 0; n == EXTHDR; n++) {
166: /* MUTANT (rep_op) */ for (n = 0; n != EXTHDR; n++) {
166: /* MUTANT (rep_op) */ for (n = 0; n < EXTHDR; n--) {
166: /* MUTANT (rep_const) */ for (n = 1; n < EXTHDR; n++) {
166: /* MUTANT (rep_const) */ for (n = -1; n < EXTHDR; n++) {
167: /* MUTANT (del_stmt) */ /* buf[n] = (uch)get_byte(); */ /* may cause an error if EOF */
169: /* MUTANT (rep_op) */ orig_crc = LG(buf-4);
169: /* MUTANT (rep_op) */ orig_crc = LG(buf*4);
169: /* MUTANT (rep_op) */ orig_crc = LG(buf%4);
169: /* MUTANT (rep_const) */ orig_crc = LG(buf+0);
169: /* MUTANT (rep_const) */ orig_crc = LG(buf+1);
169: /* MUTANT (rep_const) */ orig_crc = LG(buf+-1);
169: /* MUTANT (rep_const) */ orig_crc = LG(buf+((4)+1));
169: /* MUTANT (rep_const) */ orig_crc = LG(buf+((4)-1));
170: /* MUTANT (del_stmt) */ /* orig_len = LG(buf+12); */
170: /* MUTANT (rep_op) */ orig_len = LG(buf-12);
170: /* MUTANT (rep_op) */ orig_len = LG(buf*12);
170: /* MUTANT (rep_op) */ orig_len = LG(buf%12);
170: /* MUTANT (rep_const) */ orig_len = LG(buf+0);
170: /* MUTANT (rep_const) */ orig_len = LG(buf+1);
170: /* MUTANT (rep_const) */ orig_len = LG(buf+-1);
170: /* MUTANT (rep_const) */ orig_len = LG(buf+((12)+1));
170: /* MUTANT (rep_const) */ orig_len = LG(buf+((12)-1));
174: /* MUTANT (rep_op) */ if (orig_crc == updcrc(outbuf, 0)) {
174: /* MUTANT (rep_const) */ if (orig_crc != updcrc(outbuf, 1)) {
174: /* MUTANT (rep_const) */ if (orig_crc != updcrc(outbuf, -1)) {
174: /* MUTANT (negate) */ if(! (orig_crc != updcrc(outbuf, 0))) {
175: /* MUTANT (del_stmt) */ /* error("invalid compressed data--crc error"); */
177: /* MUTANT (rep_op) */ if (orig_len == (ulg)bytes_out) {
177: /* MUTANT (negate) */ if(! (orig_len != (ulg)bytes_out)) {
178: /* MUTANT (del_stmt) */ /* error("invalid compressed data--length error"); */
182: /* MUTANT (rep_op) */ if (pkzip || inptr + 4 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr - 4 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr * 4 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr % 4 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 <= insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 > insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 >= insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 == insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 != insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 < insize || LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 < insize && LG(inbuf-inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 < insize && LG(inbuf*inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 < insize && LG(inbuf%inptr) == LOCSIG) {
182: /* MUTANT (rep_op) */ if (pkzip && inptr + 4 < insize && LG(inbuf+inptr) != LOCSIG) {
182: /* MUTANT (rep_const) */ if (pkzip && inptr + 0 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_const) */ if (pkzip && inptr + 1 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_const) */ if (pkzip && inptr + -1 < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_const) */ if (pkzip && inptr + ((4)+1) < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (rep_const) */ if (pkzip && inptr + ((4)-1) < insize && LG(inbuf+inptr) == LOCSIG) {
182: /* MUTANT (negate) */ if(! (pkzip && inptr + 4 < insize && LG(inbuf+inptr) == LOCSIG)) {
183: /* MUTANT (negate) */ if(! (to_stdout)) {
192: /* MUTANT (del_stmt) */ /* exit_code = ERROR; */
193: /* MUTANT (del_stmt) */ /* ext_header = pkzip = 0; */
193: /* MUTANT (rep_const) */ ext_header = pkzip = 1;
193: /* MUTANT (rep_const) */ ext_header = pkzip = -1;
194: /* MUTANT (del_stmt) */ /* return ERROR; */
197: /* MUTANT (rep_const) */ ext_header = pkzip = 1; /* for next file */
197: /* MUTANT (rep_const) */ ext_header = pkzip = -1; /* for next file */
198: /* MUTANT (del_stmt) */ /* return OK; */