← Commit list

e57feeb9e

Glenn L McGrath
Glenn L McGrath
2003-11-14
FAILED Duration: 68s

Subject

Keep trying to find a good header, if we exit it will cause .tar.gz files to compute incorrect crc and length for gzip

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libunarchive/get_header_tar.c+1 -1
@@ -65,7 +65,7 @@ extern char get_header_tar(archive_handle_t *archive_handle)
/* If there is no filename its an empty header */
if (tar.formated.name[0] == 0) {
- return(EXIT_FAILURE);
+ return(EXIT_SUCCESS);
}
/* Check header has valid magic, "ustar" is for the proper tar