Skip to content

Commit

Permalink
Pacify Coverity (CID #1634622)
Browse files Browse the repository at this point in the history
Coverity doesn't see that buffer is being used as an output for
fr_pair_print, so complains about uninitialised use.
  • Loading branch information
ndptech committed Dec 23, 2024
1 parent 008717d commit 947aa30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/dhcpclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ static int send_with_pcap(fr_packet_t **reply, fr_packet_t *request, fr_pair_lis

static void dhcp_packet_debug(fr_packet_t *packet, fr_pair_list_t *list, bool received)
{
char buffer[2048];
char buffer[2048] = "";

char src_ipaddr[INET6_ADDRSTRLEN];
char dst_ipaddr[INET6_ADDRSTRLEN];
Expand Down

0 comments on commit 947aa30

Please sign in to comment.