From fd2f18d4fbf8b84eb9444972b1660bb7712d192e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Mon, 27 Nov 2023 15:38:41 +0100 Subject: -fix size comparison --- src/pq/pq_result_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pq') diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c index 9acf80716..9bd3fdb49 100644 --- a/src/pq/pq_result_helper.c +++ b/src/pq/pq_result_helper.c @@ -1208,7 +1208,7 @@ extract_array_generic ( in += sizeof(val); /* total size for this array-entry */ - FAIL_IF (sizeof(ap) > sz); + FAIL_IF (sizeof(ap) != sz); GNUNET_memcpy (&ap, in, -- cgit v1.2.3