summaryrefslogtreecommitdiffstats
path: root/pceplib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-02-22 14:21:32 +0100
committerDonald Sharp <sharpd@nvidia.com>2022-02-22 17:11:31 +0100
commitbd6beab0a6722f4ea05b528010ee5064adc66e53 (patch)
tree11ad31e73bc1ec2948a0665865dda1afff98ac33 /pceplib
parenteigrpd: Up convert to uint64_t before doing math (diff)
downloadfrr-bd6beab0a6722f4ea05b528010ee5064adc66e53.tar.xz
frr-bd6beab0a6722f4ea05b528010ee5064adc66e53.zip
pceplib: Fix uninited data in test vehicle
Coverity SA found this. Fix Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pceplib')
-rw-r--r--pceplib/test/pcep_msg_messages_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pceplib/test/pcep_msg_messages_test.c b/pceplib/test/pcep_msg_messages_test.c
index 3fec24a22..e3a74f92d 100644
--- a/pceplib/test/pcep_msg_messages_test.c
+++ b/pceplib/test/pcep_msg_messages_test.c
@@ -143,7 +143,7 @@ void test_pcep_msg_create_request()
/* Test IPv6 */
rp_obj = pcep_obj_create_rp(0, false, false, false, false, 10, NULL);
- struct in6_addr src_addr_ipv6, dst_addr_ipv6;
+ struct in6_addr src_addr_ipv6 = {}, dst_addr_ipv6 = {};
struct pcep_object_endpoints_ipv6 *ipv6_obj =
pcep_obj_create_endpoint_ipv6(&src_addr_ipv6, &dst_addr_ipv6);
message = pcep_msg_create_request_ipv6(rp_obj, ipv6_obj, NULL);