From c4e393c4a87b7b7386970e35615686fa2332450a Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Mon, 9 Oct 2017 15:06:13 -0500 Subject: [PATCH] Fix overflow in test_sq --- src/sq/sq_result_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sq/sq_result_helper.c b/src/sq/sq_result_helper.c index 9579863b2..f2986a053 100644 --- a/src/sq/sq_result_helper.c +++ b/src/sq/sq_result_helper.c @@ -620,7 +620,7 @@ extract_uint16 (void *cls, void *dst) { uint64_t v; - uint32_t *u = dst; + uint16_t *u = dst; GNUNET_assert (sizeof (uint16_t) == *dst_size); if (SQLITE_INTEGER != -- 2.25.1