equal
deleted
inserted
replaced
329 off_t xlen = LOCEXT(buf); |
329 off_t xlen = LOCEXT(buf); |
330 off_t start = LOCHDR + flen; |
330 off_t start = LOCHDR + flen; |
331 off_t end = start + xlen; |
331 off_t end = start + xlen; |
332 |
332 |
333 if (end <= count) { |
333 if (end <= count) { |
|
334 end -= 4; // make sure there are 4 bytes to read at start |
334 while (start < end) { |
335 while (start < end) { |
335 off_t xhid = SH(buf, start); |
336 off_t xhid = SH(buf, start); |
336 off_t xdlen = SH(buf, start + 2); |
337 off_t xdlen = SH(buf, start + 2); |
337 |
338 |
338 start += 4 + xdlen; |
339 start += 4 + xdlen; |