From afa2330e6a4fa8837732d1cf6c07f9cd7c9c3d90 Mon Sep 17 00:00:00 2001 From: philsmd <921533+philsmd@users.noreply.github.com> Date: Fri, 10 Sep 2021 17:47:09 +0200 Subject: [PATCH] fixes #2973: allow longer size fields for -m 11600 = 7-Zip --- src/modules/module_11600.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module_11600.c b/src/modules/module_11600.c index 4d42afade..1b56830b0 100644 --- a/src/modules/module_11600.c +++ b/src/modules/module_11600.c @@ -488,13 +488,13 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE token.sep[8] = '$'; token.len_min[8] = 1; - token.len_max[8] = 6; + token.len_max[8] = 8; token.attr[8] = TOKEN_ATTR_VERIFY_LENGTH | TOKEN_ATTR_VERIFY_DIGIT; token.sep[9] = '$'; token.len_min[9] = 1; - token.len_max[9] = 6; + token.len_max[9] = 8; token.attr[9] = TOKEN_ATTR_VERIFY_LENGTH | TOKEN_ATTR_VERIFY_DIGIT;