]> wimlib.net Git - wimlib/blobdiff - src/integrity.c
Update NEWS and add imagex-optimize
[wimlib] / src / integrity.c
index bf02a6b108ecf58ebe6ca4a453cb6346fd2a1e7c..d7f81eb60a436aafaaf96ce9d5237bfb1b23ec00 100644 (file)
@@ -372,6 +372,8 @@ int write_integrity_table(FILE *fp,
        off_t cur_offset;
        u32 new_table_size;
 
+       wimlib_assert(old_lookup_table_end <= new_lookup_table_end);
+
        cur_offset = ftello(fp);
        if (cur_offset == -1) {
                ERROR_WITH_ERRNO("Failed to get offset in WIM");