less: document -S flag and make it independently configurable
[oweals/busybox.git] / archival / libarchive / lzo1x_d.c
index 348a85510b6d4fad259a1dc7f1f2b15097a15995..40b167e688e2218b0333f917c060630238afb5b9 100644 (file)
@@ -15,7 +15,7 @@
 
    The LZO library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.         See the
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
@@ -92,6 +92,7 @@ int lzo1x_decompress_safe(const uint8_t* in, unsigned in_len,
                                ip++;
                                NEED_IP(1);
                        }
+                       TEST_IV(t);
                        t += 15 + *ip++;
                }
                /* copy literals */
@@ -224,6 +225,7 @@ int lzo1x_decompress_safe(const uint8_t* in, unsigned in_len,
                                                ip++;
                                                NEED_IP(1);
                                        }
+                                       TEST_IV(t);
                                        t += 31 + *ip++;
                                }
 #if defined(COPY_DICT)
@@ -265,6 +267,7 @@ int lzo1x_decompress_safe(const uint8_t* in, unsigned in_len,
                                                ip++;
                                                NEED_IP(1);
                                        }
+                                       TEST_IV(t);
                                        t += 7 + *ip++;
                                }
 #if defined(COPY_DICT)