1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-13 11:58:26 -06:00

Libzip 1.10.1 (#1209)

Updated to the latest version for the VeraCrypt 1.26.6 release.
This commit is contained in:
DLL125
2023-09-24 10:18:54 +02:00
committed by GitHub
parent 937c5cd5cd
commit 2363506e09
18 changed files with 87 additions and 32 deletions

View File

@@ -67,7 +67,7 @@ zip_source_win32w(zip_t *za, const wchar_t *fname, zip_uint64_t start, zip_int64
ZIP_EXTERN zip_source_t *
zip_source_win32w_create(const wchar_t *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) {
if (fname == NULL || length < -1) {
if (fname == NULL || length < ZIP_LENGTH_UNCHECKED) {
zip_error_set(error, ZIP_ER_INVAL, 0);
return NULL;
}