From 09aa70e3b3ae88adfcd5ad342a59f76cfd3f756e Mon Sep 17 00:00:00 2001 From: Daniel Salzman Date: Thu, 12 Sep 2019 11:25:44 +0200 Subject: Use knot_dname_storage_t where suitable --- tests-fuzz/fuzz_dname_from_str.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests-fuzz') diff --git a/tests-fuzz/fuzz_dname_from_str.c b/tests-fuzz/fuzz_dname_from_str.c index 61a3dc914..518dbe518 100644 --- a/tests-fuzz/fuzz_dname_from_str.c +++ b/tests-fuzz/fuzz_dname_from_str.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2018 CZ.NIC, z.s.p.o. +/* Copyright (C) 2019 CZ.NIC, z.s.p.o. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) txt[size] = '\0'; // Transform the input. - uint8_t dname[KNOT_DNAME_MAXLEN]; + knot_dname_storage_t dname; (void)knot_dname_from_str(dname, txt, sizeof(dname)); free(txt); -- cgit v1.2.3