]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Return ARCHIVE_FATAL if BZ2_bzDecompressEnd failed.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 8 Nov 2009 19:06:43 +0000 (14:06 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 8 Nov 2009 19:06:43 +0000 (14:06 -0500)
Found by Clang Static Analyzer.

SVN-Revision: 1597

libarchive/archive_read_support_compression_bzip2.c

index 082cf49c5f61a410ac56176d95918108f4534b32..15f2c964359a714d2d024920a006c7f0752b3116 100644 (file)
@@ -348,7 +348,7 @@ bzip2_filter_close(struct archive_read_filter *self)
 
        free(state->out_block);
        free(state);
-       return (ARCHIVE_OK);
+       return (ret);
 }
 
 #endif /* HAVE_BZLIB_H */