From: Bastian Dehn Date: Fri, 31 Oct 2025 17:00:22 +0000 (+0100) Subject: fix array length multi feed response X-Git-Tag: v1.1.20^2~1^2~4 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=ba1a0c9c3c14490f0401c9f57ecc913c9a463728;p=sane-kds-s2000w-net.git fix array length multi feed response --- diff --git a/src/kds_s2000w_option_descriptors.c b/src/kds_s2000w_option_descriptors.c index 815322b..999f66f 100644 --- a/src/kds_s2000w_option_descriptors.c +++ b/src/kds_s2000w_option_descriptors.c @@ -1416,7 +1416,7 @@ SANE_Option_Descriptor *_kds_s2000w_option_descriptor_multifeed_response() { kds_s2000w_debug_printf(ALL, "kds_s2000w_option_descriptor_multifeed_response"); - char** constraint = malloc(sizeof(SANE_String_Const*) * 5); + char** constraint = malloc(sizeof(SANE_String_Const*) * 3); if (constraint == NULL) return NULL;