Skip to content

Commit 6d89b69

Browse files
committed
initialize "other" to quiet the static analyzer
1 parent 1cdcb70 commit 6d89b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/util/test/dns_tests.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ static void test_decode_to_value_box_label_outside_buf(void)
660660
{
661661
fr_value_box_t vb;
662662
ssize_t slen;
663-
uint8_t other[16];
663+
uint8_t other[16] = {};
664664
uint8_t pkt[16] = {};
665665

666666
slen = fr_dns_label_to_value_box(NULL, &vb, pkt, sizeof(pkt), other, false, NULL);

0 commit comments

Comments
 (0)