]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
it helps to initialize fields
authorAlan T. DeKok <aland@freeradius.org>
Thu, 13 Jul 2023 18:35:10 +0000 (14:35 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 13 Jul 2023 22:44:42 +0000 (18:44 -0400)
src/protocols/dhcpv6/base.c

index b20681ab4355b9769e5ab7864ea6ac6854c17f15..db5ab680fefd08ee47b3e2926ea7ed32b95b7aed 100644 (file)
@@ -579,7 +579,7 @@ ssize_t     fr_dhcpv6_decode(TALLOC_CTX *ctx, fr_pair_list_t *out, uint8_t const *pa
 {
        ssize_t                 slen = -1;
        uint8_t const           *p, *end;
-       fr_dhcpv6_decode_ctx_t  packet_ctx;
+       fr_dhcpv6_decode_ctx_t  packet_ctx = {};
        fr_pair_t               *vp;
        fr_pair_list_t          tmp;