1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08: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

@@ -78,7 +78,7 @@ zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) {
ZIP_EXTERN zip_source_t *
zip_source_filep_create(FILE *file, zip_uint64_t start, zip_int64_t length, zip_error_t *error) {
if (file == NULL || length < -1) {
if (file == NULL || length < ZIP_LENGTH_UNCHECKED) {
zip_error_set(error, ZIP_ER_INVAL, 0);
return NULL;
}