Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #32

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extlibs/minizip
Submodule minizip updated 76 files
+13 −0 .codecov.yaml
+7 −0 .github/dependabot.yml
+122 −108 .github/workflows/build.yml
+14 −13 .github/workflows/codeql.yml
+4 −1 .github/workflows/fuzz.yml
+1 −1 .gitignore
+216 −212 CMakeLists.txt
+31 −31 README.md
+3 −3 cmake/clone-repo.cmake
+166 −0 cmake/detect-sanitizer.cmake
+133 −2 doc/README.md
+0 −8 doc/mz_extrafield.md
+15 −15 doc/mz_os.md
+66 −81 doc/mz_zip.md
+6 −6 doc/mz_zip_file.md
+97 −203 doc/mz_zip_rw.md
+ doc/zip/winzip_aes_attack.pdf
+9 −9 minigzip.c
+30 −37 minizip.c
+5 −5 minizip.pc.cmakein
+25 −31 mz.h
+211 −141 mz_compat.c
+62 −43 mz_compat.h
+15 −9 mz_crypt.c
+14 −14 mz_crypt.h
+181 −191 mz_crypt_apple.c
+320 −299 mz_crypt_openssl.c
+0 −924 mz_crypt_win32.c
+666 −0 mz_crypt_winvista.c
+569 −0 mz_crypt_winxp.c
+18 −19 mz_os.c
+3 −3 mz_os.h
+27 −33 mz_os_posix.c
+75 −86 mz_os_win32.c
+29 −38 mz_strm.c
+4 −4 mz_strm.h
+7 −14 mz_strm_buf.c
+2 −2 mz_strm_buf.h
+8 −17 mz_strm_bzip.c
+2 −2 mz_strm_bzip.h
+7 −14 mz_strm_libcomp.c
+2 −2 mz_strm_libcomp.h
+14 −19 mz_strm_lzma.c
+2 −2 mz_strm_lzma.h
+15 −21 mz_strm_mem.c
+2 −2 mz_strm_mem.h
+2 −2 mz_strm_os.h
+18 −25 mz_strm_os_posix.c
+19 −28 mz_strm_os_win32.c
+10 −17 mz_strm_pkcrypt.c
+2 −2 mz_strm_pkcrypt.h
+21 −32 mz_strm_split.c
+2 −2 mz_strm_split.h
+42 −38 mz_strm_wzaes.c
+3 −3 mz_strm_wzaes.h
+16 −18 mz_strm_zlib.c
+2 −2 mz_strm_zlib.h
+14 −18 mz_strm_zstd.c
+2 −2 mz_strm_zstd.h
+164 −148 mz_zip.c
+3 −3 mz_zip.h
+297 −333 mz_zip_rw.c
+3 −12 mz_zip_rw.h
+1 −1 test/CMakeLists.txt
+16 −25 test/fuzz/standalone.c
+13 −14 test/fuzz/unzip_fuzzer.c
+ test/fuzz/unzip_fuzzer_seed_corpus/gh_739.zip
+ test/fuzz/unzip_fuzzer_seed_corpus/gh_740.zip
+24 −23 test/fuzz/zip_fuzzer.c
+3 −3 test/test_compat.cc
+346 −32 test/test_crypt.cc
+3 −3 test/test_encoding.cc
+1 −1 test/test_path.cc
+9 −5 test/test_stream.cc
+11 −6 test/test_stream_compress.cc
+13 −7 test/test_stream_crypt.cc
2 changes: 1 addition & 1 deletion src/unzipper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace ziputils
if (isOpen())
{
closeEntry();
int err = unzLocateFile(zipFile_, filename.data(), nullptr);
int err = unzLocateFile(zipFile_, filename.data(), 0);
if (err == UNZ_OK)
{
if (!password.empty())
Expand Down