aboutsummaryrefslogtreecommitdiff
path: root/archival/libarchive/lzo1x_d.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/libarchive/lzo1x_d.c')
-rw-r--r--archival/libarchive/lzo1x_d.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/libarchive/lzo1x_d.c b/archival/libarchive/lzo1x_d.c
index 9bc1270da..40b167e68 100644
--- a/archival/libarchive/lzo1x_d.c
+++ b/archival/libarchive/lzo1x_d.c
@@ -92,6 +92,7 @@ int lzo1x_decompress_safe(const uint8_t* in, unsigned in_len,
92 ip++; 92 ip++;
93 NEED_IP(1); 93 NEED_IP(1);
94 } 94 }
95 TEST_IV(t);
95 t += 15 + *ip++; 96 t += 15 + *ip++;
96 } 97 }
97 /* copy literals */ 98 /* copy literals */
@@ -224,6 +225,7 @@ int lzo1x_decompress_safe(const uint8_t* in, unsigned in_len,
224 ip++; 225 ip++;
225 NEED_IP(1); 226 NEED_IP(1);
226 } 227 }
228 TEST_IV(t);
227 t += 31 + *ip++; 229 t += 31 + *ip++;
228 } 230 }
229#if defined(COPY_DICT) 231#if defined(COPY_DICT)
@@ -265,6 +267,7 @@ int lzo1x_decompress_safe(const uint8_t* in, unsigned in_len,
265 ip++; 267 ip++;
266 NEED_IP(1); 268 NEED_IP(1);
267 } 269 }
270 TEST_IV(t);
268 t += 7 + *ip++; 271 t += 7 + *ip++;
269 } 272 }
270#if defined(COPY_DICT) 273#if defined(COPY_DICT)