New Defects reported by Coverity Scan for freerangerouting/frr
scan-admin at coverity.com
scan-admin at coverity.com
Thu Feb 17 18:27:58 UTC 2022
Hi,
Please find the latest report on new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
55 new defect(s) introduced to freerangerouting/frr found with Coverity Scan.
8 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 20 of 55 defect(s)
** CID 1514083: (TAINTED_SCALAR)
/ospfd/ospf_ri.c: 1469 in show_vty_sr_algorithm()
/ospfd/ospf_ri.c: 1487 in show_vty_sr_algorithm()
________________________________________________________________________________________________________
*** CID 1514083: (TAINTED_SCALAR)
/ospfd/ospf_ri.c: 1469 in show_vty_sr_algorithm()
1463 int i;
1464
1465 check_tlv_size(ALGORITHM_COUNT, "Segment Routing Algorithm");
1466
1467 if (vty != NULL) {
1468 vty_out(vty, " Segment Routing Algorithm TLV:\n");
>>> CID 1514083: (TAINTED_SCALAR)
>>> Using tainted variable "ntohs(algo->header.length)" as a loop boundary.
1469 for (i = 0; i < ntohs(algo->header.length); i++) {
1470 switch (algo->value[i]) {
1471 case 0:
1472 vty_out(vty, " Algorithm %d: SPF\n", i);
1473 break;
1474 case 1:
/ospfd/ospf_ri.c: 1487 in show_vty_sr_algorithm()
1481 algo->value[i]);
1482 break;
1483 }
1484 }
1485 } else {
1486 zlog_debug(" Segment Routing Algorithm TLV:");
>>> CID 1514083: (TAINTED_SCALAR)
>>> Using tainted variable "ntohs(algo->header.length)" as a loop boundary.
1487 for (i = 0; i < ntohs(algo->header.length); i++)
1488 switch (algo->value[i]) {
1489 case 0:
1490 zlog_debug(" Algorithm %d: SPF", i);
1491 break;
1492 case 1:
** CID 1514082: Memory - illegal accesses (WRAPPER_ESCAPE)
/lib/northbound_grpc.cpp: 1268 in grpc_pthread_start(void *)()
________________________________________________________________________________________________________
*** CID 1514082: Memory - illegal accesses (WRAPPER_ESCAPE)
/lib/northbound_grpc.cpp: 1268 in grpc_pthread_start(void *)()
1262
1263 server_address << "0.0.0.0:" << port;
1264 builder.AddListeningPort(server_address.str(),
1265 grpc::InsecureServerCredentials());
1266 builder.RegisterService(service);
1267 auto cq = builder.AddCompletionQueue();
>>> CID 1514082: Memory - illegal accesses (WRAPPER_ESCAPE)
>>> The internal representation of local "cq" escapes into "s_cq", but is destroyed when it exits scope.
1268 s_cq = cq.get();
1269 s_server = builder.BuildAndStart();
1270
1271 /* Schedule all RPC handlers */
1272 REQUEST_NEWRPC(GetCapabilities, NULL);
1273 REQUEST_NEWRPC(CreateCandidate, &candidates);
** CID 1514081: Insecure data handling (TAINTED_SCALAR)
/tools/start-stop-daemon.c: 641 in pid_is_cmd()
________________________________________________________________________________________________________
*** CID 1514081: Insecure data handling (TAINTED_SCALAR)
/tools/start-stop-daemon.c: 641 in pid_is_cmd()
635 ;
636 if (c != '(') {
637 fclose(f);
638 return 0;
639 }
640 /* this hopefully handles command names containing ')' */
>>> CID 1514081: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "c" as a loop boundary.
641 while ((c = getc(f)) != EOF && c == *name)
642 name++;
643 fclose(f);
644 return (c == ')' && *name == '\0');
645 }
646
** CID 1514080: (UNINIT_CTOR)
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::LockConfigRequest, frr::LockConfigResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::LockConfigRequest *, grpc_impl::ServerAsyncWriter<frr::LockConfigResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::LockConfigRequest, frr::LockConfigResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::GetTransactionRequest, frr::GetTransactionResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::GetTransactionRequest *, grpc_impl::ServerAsyncWriter<frr::GetTransactionResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::GetTransactionRequest, frr::GetTransactionResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::LoadToCandidateRequest, frr::LoadToCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::LoadToCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::LoadToCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::LoadToCandidateRequest, frr::LoadToCandidateResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::CreateCandidateRequest, frr::CreateCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::CreateCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::CreateCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::CreateCandidateRequest, frr::CreateCandidateResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::DeleteCandidateRequest, frr::DeleteCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::DeleteCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::DeleteCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::DeleteCandidateRequest, frr::DeleteCandidateResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::ExecuteRequest, frr::ExecuteResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::ExecuteRequest *, grpc_impl::ServerAsyncWriter<frr::ExecuteResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::ExecuteRequest, frr::ExecuteResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::GetRequest, frr::GetResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::GetRequest *, grpc_impl::ServerAsyncWriter<frr::GetResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::GetRequest, frr::GetResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::UpdateCandidateRequest, frr::UpdateCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::UpdateCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::UpdateCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::UpdateCandidateRequest, frr::UpdateCandidateResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::UnlockConfigRequest, frr::UnlockConfigResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::UnlockConfigRequest *, grpc_impl::ServerAsyncWriter<frr::UnlockConfigResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::UnlockConfigRequest, frr::UnlockConfigResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::ListTransactionsRequest, frr::ListTransactionsResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::ListTransactionsRequest *, grpc_impl::ServerAsyncWriter<frr::ListTransactionsResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::ListTransactionsRequest, frr::ListTransactionsResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::GetCapabilitiesRequest, frr::GetCapabilitiesResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::GetCapabilitiesRequest *, grpc_impl::ServerAsyncWriter<frr::GetCapabilitiesResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::GetCapabilitiesRequest, frr::GetCapabilitiesResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::CommitRequest, frr::CommitResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::CommitRequest *, grpc_impl::ServerAsyncWriter<frr::CommitResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::CommitRequest, frr::CommitResponse>*), const char *)()
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::EditCandidateRequest, frr::EditCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::EditCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::EditCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::EditCandidateRequest, frr::EditCandidateResponse>*), const char *)()
________________________________________________________________________________________________________
*** CID 1514080: (UNINIT_CTOR)
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::LockConfigRequest, frr::LockConfigResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::LockConfigRequest *, grpc_impl::ServerAsyncWriter<frr::LockConfigResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::LockConfigRequest, frr::LockConfigResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::GetTransactionRequest, frr::GetTransactionResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::GetTransactionRequest *, grpc_impl::ServerAsyncWriter<frr::GetTransactionResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::GetTransactionRequest, frr::GetTransactionResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::LoadToCandidateRequest, frr::LoadToCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::LoadToCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::LoadToCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::LoadToCandidateRequest, frr::LoadToCandidateResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::CreateCandidateRequest, frr::CreateCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::CreateCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::CreateCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::CreateCandidateRequest, frr::CreateCandidateResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::DeleteCandidateRequest, frr::DeleteCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::DeleteCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::DeleteCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::DeleteCandidateRequest, frr::DeleteCandidateResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::ExecuteRequest, frr::ExecuteResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::ExecuteRequest *, grpc_impl::ServerAsyncWriter<frr::ExecuteResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::ExecuteRequest, frr::ExecuteResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::GetRequest, frr::GetResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::GetRequest *, grpc_impl::ServerAsyncWriter<frr::GetResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::GetRequest, frr::GetResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::UpdateCandidateRequest, frr::UpdateCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::UpdateCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::UpdateCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::UpdateCandidateRequest, frr::UpdateCandidateResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::UnlockConfigRequest, frr::UnlockConfigResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::UnlockConfigRequest *, grpc_impl::ServerAsyncWriter<frr::UnlockConfigResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::UnlockConfigRequest, frr::UnlockConfigResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::ListTransactionsRequest, frr::ListTransactionsResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::ListTransactionsRequest *, grpc_impl::ServerAsyncWriter<frr::ListTransactionsResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::ListTransactionsRequest, frr::ListTransactionsResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::GetCapabilitiesRequest, frr::GetCapabilitiesResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::GetCapabilitiesRequest *, grpc_impl::ServerAsyncWriter<frr::GetCapabilitiesResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::GetCapabilitiesRequest, frr::GetCapabilitiesResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::CommitRequest, frr::CommitResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::CommitRequest *, grpc_impl::ServerAsyncWriter<frr::CommitResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::CommitRequest, frr::CommitResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
/lib/northbound_grpc.cpp: 147 in NewRpcState<frr::EditCandidateRequest, frr::EditCandidateResponse>::NewRpcState(Candidates *, void (frr::Northbound::WithAsyncMethod_GetCapabilities<frr::Northbound::WithAsyncMethod_Get<frr::Northbound::WithAsyncMethod_CreateCandidate<frr::Northbound::WithAsyncMethod_DeleteCandidate<frr::Northbound::WithAsyncMethod_UpdateCandidate<frr::Northbound::WithAsyncMethod_EditCandidate<frr::Northbound::WithAsyncMethod_LoadToCandidate<frr::Northbound::WithAsyncMethod_Commit<frr::Northbound::WithAsyncMethod_ListTransactions<frr::Northbound::WithAsyncMethod_GetTransaction<frr::Northbound::WithAsyncMethod_LockConfig<frr::Northbound::WithAsyncMethod_UnlockConfig<frr::Northbound::WithAsyncMethod_Execute<frr::Northbound::Service>>>>>>>>>>>>>::*)(grpc_impl::ServerContext *, frr::EditCandidateRequest *, grpc_impl::ServerAsyncWriter<frr::EditCandidateResponse> *, grpc_impl::CompletionQueue *, grpc_impl::ServerCompletionQueue *, void *), void (*)(NewRpcState<frr::EditCandidateRequest, frr::EditCandidateResponse>*), const char *)()
141 void (*cb)(NewRpcState<Q, S> *), const char *name)
142 : requestf(rfunc), callback(cb), responder(&ctx),
143 async_responder(&ctx), name(name), cdb(cdb){};
144 NewRpcState(Candidates *cdb, reqsfunc_t rfunc,
145 void (*cb)(NewRpcState<Q, S> *), const char *name)
146 : requestsf(rfunc), callback(cb), responder(&ctx),
>>> CID 1514080: (UNINIT_CTOR)
>>> Non-static class member "context" is not initialized in this constructor nor in any functions that it calls.
147 async_responder(&ctx), name(name), cdb(cdb){};
148
149 CallState doCallback() override
150 {
151 CallState enter_state = this->state;
152 CallState new_state;
** CID 1514079: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/bfdd/bfd.c: 1453 in integer2timestr()
________________________________________________________________________________________________________
*** CID 1514079: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/bfdd/bfd.c: 1453 in integer2timestr()
1447 rv = snprintf(buf, buflen, "%u month(s), ", month);
1448 buf += rv;
1449 buflen -= rv;
1450 }
1451 if (time >= DAYS) {
1452 day = time / DAYS;
>>> CID 1514079: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
>>> Potentially overflowing expression "day * 86400U" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "_uint64_t" (64 bits, unsigned).
1453 time -= day * DAYS;
1454
1455 rv = snprintf(buf, buflen, "%u day(s), ", day);
1456 buf += rv;
1457 buflen -= rv;
1458 }
** CID 1514078: (UNINIT_CTOR)
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::ExecuteResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetTransactionResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::DeleteCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::GetCapabilitiesResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::CreateCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetTransactionResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::LoadToCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::UpdateCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::EditCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::GetTransactionResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::LockConfigResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpGenericRecvMessage, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::UpdateCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::LoadToCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::ExecuteResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::EditCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::LockConfigResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::UnlockConfigResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::ExecuteResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetCapabilitiesResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetCapabilitiesResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::UnlockConfigResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::CreateCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::DeleteCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::DeleteCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::LoadToCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::CommitResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::EditCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::CreateCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
________________________________________________________________________________________________________
*** CID 1514078: (UNINIT_CTOR)
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::ExecuteResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetTransactionResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::DeleteCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::GetCapabilitiesResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::CreateCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetTransactionResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::LoadToCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::UpdateCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::EditCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::GetTransactionResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::LockConfigResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpGenericRecvMessage, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::UpdateCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::LoadToCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::ExecuteResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::EditCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::LockConfigResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::UnlockConfigResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::ExecuteResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetCapabilitiesResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::GetCapabilitiesResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::UnlockConfigResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::CreateCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::DeleteCandidateResponse>, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::DeleteCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::LoadToCandidateResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpRecvMessage<frr::CommitResponse>, grpc::internal::CallOpClientRecvStatus, grpc::internal::CallNoOp<(int)3>, grpc::internal::CallNoOp<(int)4>, grpc::internal::CallNoOp<(int)5>, grpc::internal::CallNoOp<(int)6>>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::EditCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
/usr/include/grpcpp/impl/codegen/call_op_set.h: 866 in grpc::internal::CallOpSet<grpc::internal::CallOpSendInitialMetadata, grpc::internal::CallOpSendMessage, grpc::internal::CallOpRecvInitialMetadata, grpc::internal::CallOpRecvMessage<frr::CreateCandidateResponse>, grpc::internal::CallOpClientSendClose, grpc::internal::CallOpClientRecvStatus>::CallOpSet()()
860 public Op2,
861 public Op3,
862 public Op4,
863 public Op5,
864 public Op6 {
865 public:
>>> CID 1514078: (UNINIT_CTOR)
>>> Non-static class member "saved_status_" is not initialized in this constructor nor in any functions that it calls.
866 CallOpSet() : core_cq_tag_(this), return_tag_(this) {}
867 // The copy constructor and assignment operator reset the value of
868 // core_cq_tag_, return_tag_, done_intercepting_ and interceptor_methods_
869 // since those are only meaningful on a specific object, not across objects.
870 CallOpSet(const CallOpSet& other)
871 : core_cq_tag_(this),
** CID 1514077: Insecure data handling (TAINTED_SCALAR)
________________________________________________________________________________________________________
*** CID 1514077: Insecure data handling (TAINTED_SCALAR)
/vrrpd/vrrp.c: 1030 in vrrp_read()
1024 VRRP_LOGPFX VRRP_LOGPFX_VRID VRRP_LOGPFX_FAM
1025 "Datagram rx: ",
1026 r->vr->vrid, family2str(r->family));
1027 zlog_hexdump(r->ibuf, nbytes);
1028 }
1029
>>> CID 1514077: Insecure data handling (TAINTED_SCALAR)
>>> Passing tainted expression "m.msg_iov" to "vrrp_pkt_parse_datagram", which uses it as a loop boundary.
1030 pktsize = vrrp_pkt_parse_datagram(r->family, r->vr->version, &m, nbytes,
1031 &src, &pkt, errbuf, sizeof(errbuf));
1032
1033 if (pktsize < 0)
1034 DEBUGD(&vrrp_dbg_pkt,
1035 VRRP_LOGPFX VRRP_LOGPFX_VRID VRRP_LOGPFX_FAM
** CID 1514076: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_te.c: 1938 in ospf_te_parse_router_lsa()
________________________________________________________________________________________________________
*** CID 1514076: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_te.c: 1938 in ospf_te_parse_router_lsa()
1932 for (ALL_LIST_ELEMENTS_RO(vertex->prefixes, node, subnet))
1933 subnet->status = ORPHAN;
1934
1935 /* Then, process Link Information */
1936 len = lsa->size - OSPF_LSA_HEADER_SIZE - OSPF_ROUTER_LSA_MIN_SIZE;
1937 links = ntohs(rl->links);
>>> CID 1514076: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "links" as a loop boundary.
1938 for (int i = 0; i < links && len > 0; len -= 12, i++) {
1939 struct prefix p;
1940 uint32_t metric;
1941
1942 switch (rl->link[i].type) {
1943 case LSA_LINK_TYPE_POINTOPOINT:
** CID 1514075: (OVERFLOW_BEFORE_WIDEN)
/eigrpd/eigrp_metric.c: 91 in eigrp_calculate_metrics()
/eigrpd/eigrp_metric.c: 89 in eigrp_calculate_metrics()
________________________________________________________________________________________________________
*** CID 1514075: (OVERFLOW_BEFORE_WIDEN)
/eigrpd/eigrp_metric.c: 91 in eigrp_calculate_metrics()
85 * {K1*BW+[(K2*BW)/(256-load)]+(K3*delay)}*{K5/(reliability+K4)}
86 */
87
88 if (eigrp->k_values[0])
89 composite += (eigrp->k_values[0] * metric.bandwidth);
90 if (eigrp->k_values[1])
>>> CID 1514075: (OVERFLOW_BEFORE_WIDEN)
>>> Potentially overflowing expression "eigrp->k_values[1] * metric.bandwidth" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "eigrp_metric_t" (64 bits, unsigned).
91 composite += ((eigrp->k_values[1] * metric.bandwidth)
92 / (256 - metric.load));
93 if (eigrp->k_values[2])
94 composite += (eigrp->k_values[2] * metric.delay);
95 if (eigrp->k_values[3] && !eigrp->k_values[4])
96 composite *= eigrp->k_values[3];
/eigrpd/eigrp_metric.c: 89 in eigrp_calculate_metrics()
83 /*
84 * EIGRP Composite =
85 * {K1*BW+[(K2*BW)/(256-load)]+(K3*delay)}*{K5/(reliability+K4)}
86 */
87
88 if (eigrp->k_values[0])
>>> CID 1514075: (OVERFLOW_BEFORE_WIDEN)
>>> Potentially overflowing expression "eigrp->k_values[0] * metric.bandwidth" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "eigrp_metric_t" (64 bits, unsigned).
89 composite += (eigrp->k_values[0] * metric.bandwidth);
90 if (eigrp->k_values[1])
91 composite += ((eigrp->k_values[1] * metric.bandwidth)
92 / (256 - metric.load));
93 if (eigrp->k_values[2])
94 composite += (eigrp->k_values[2] * metric.delay);
** CID 1514074: Uninitialized members (UNINIT_CTOR)
/usr/include/grpcpp/impl/codegen/interceptor_common.h: 46 in grpc::internal::InterceptorBatchMethodsImpl::InterceptorBatchMethodsImpl()()
________________________________________________________________________________________________________
*** CID 1514074: Uninitialized members (UNINIT_CTOR)
/usr/include/grpcpp/impl/codegen/interceptor_common.h: 46 in grpc::internal::InterceptorBatchMethodsImpl::InterceptorBatchMethodsImpl()()
40 for (auto i = static_cast<experimental::InterceptionHookPoints>(0);
41 i < experimental::InterceptionHookPoints::NUM_INTERCEPTION_HOOKS;
42 i = static_cast<experimental::InterceptionHookPoints>(
43 static_cast<size_t>(i) + 1)) {
44 hooks_[static_cast<size_t>(i)] = false;
45 }
>>> CID 1514074: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "send_initial_metadata_" is not initialized in this constructor nor in any functions that it calls.
46 }
47
48 ~InterceptorBatchMethodsImpl() {}
49
50 bool QueryInterceptionHookPoint(
51 experimental::InterceptionHookPoints type) override {
** CID 1514073: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_gr.c: 294 in ospf_gr_check_router_lsa_consistency()
________________________________________________________________________________________________________
*** CID 1514073: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_gr.c: 294 in ospf_gr_check_router_lsa_consistency()
288 struct ospf_lsa *lsa)
289 {
290 if (CHECK_FLAG(lsa->flags, OSPF_LSA_SELF)) {
291 struct ospf_lsa *lsa_self = lsa;
292 struct router_lsa *rl = (struct router_lsa *)lsa->data;
293
>>> CID 1514073: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "ntohs(rl->links)" as a loop boundary.
294 for (int i = 0; i < ntohs(rl->links); i++) {
295 struct in_addr *link_id = &rl->link[i].link_id;
296 struct ospf_lsa *lsa_adj;
297
298 if (rl->link[i].type != LSA_LINK_TYPE_POINTOPOINT)
299 continue;
** CID 1514072: Insecure data handling (TAINTED_SCALAR)
________________________________________________________________________________________________________
*** CID 1514072: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_packet.c: 4081 in ospf_ls_upd_queue_send()
4075 /* Prepare OSPF Link State Update body.
4076 * Includes Type-7 translation.
4077 */
4078 length += ospf_make_ls_upd(oi, update, op->s);
4079
4080 /* Fill OSPF header. */
>>> CID 1514072: Insecure data handling (TAINTED_SCALAR)
>>> Passing tainted expression "length" to "ospf_fill_header", which uses it as a loop boundary.
4081 ospf_fill_header(oi, op->s, length);
4082
4083 /* Set packet length. */
4084 op->length = length;
4085
4086 /* Decide destination address. */
** CID 1514071: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/eigrpd/eigrp_metric.c: 94 in eigrp_calculate_metrics()
________________________________________________________________________________________________________
*** CID 1514071: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/eigrpd/eigrp_metric.c: 94 in eigrp_calculate_metrics()
88 if (eigrp->k_values[0])
89 composite += (eigrp->k_values[0] * metric.bandwidth);
90 if (eigrp->k_values[1])
91 composite += ((eigrp->k_values[1] * metric.bandwidth)
92 / (256 - metric.load));
93 if (eigrp->k_values[2])
>>> CID 1514071: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
>>> Potentially overflowing expression "eigrp->k_values[2] * metric.delay" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "eigrp_metric_t" (64 bits, unsigned).
94 composite += (eigrp->k_values[2] * metric.delay);
95 if (eigrp->k_values[3] && !eigrp->k_values[4])
96 composite *= eigrp->k_values[3];
97 if (!eigrp->k_values[3] && eigrp->k_values[4])
98 composite *= (eigrp->k_values[4] / metric.reliability);
99 if (eigrp->k_values[3] && eigrp->k_values[4])
** CID 1514070: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_vty.c: 6251 in show_ip_ospf_database_router_links()
________________________________________________________________________________________________________
*** CID 1514070: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_vty.c: 6251 in show_ip_ospf_database_router_links()
6245 char buf[PREFIX_STRLEN];
6246
6247 if (json)
6248 json_links = json_object_new_object();
6249
6250 len = ntohs(rl->header.length) - 4;
>>> CID 1514070: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "ntohs(rl->links)" as a loop boundary.
6251 for (i = 0; i < ntohs(rl->links) && len > 0; len -= 12, i++) {
6252 type = rl->link[i].type;
6253
6254 if (json) {
6255 char link[16];
6256
** CID 1514069: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_sr.c: 1486 in ospf_sr_ri_lsa_update()
________________________________________________________________________________________________________
*** CID 1514069: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_sr.c: 1486 in ospf_sr_ri_lsa_update()
1480 srn->srgb.lower_bound = srgb.lower_bound;
1481 }
1482
1483 /* Update Algorithm, SRLB and MSD if present */
1484 if (algo != NULL) {
1485 int i;
>>> CID 1514069: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "ntohs(algo->header.length)" as a loop boundary.
1486 for (i = 0; i < ntohs(algo->header.length); i++)
1487 srn->algo[i] = algo->value[0];
1488 for (; i < ALGORITHM_COUNT; i++)
1489 srn->algo[i] = SR_ALGORITHM_UNSET;
1490 } else {
1491 srn->algo[0] = SR_ALGORITHM_SPF;
** CID 1514068: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_gr.c: 464 in ospf_gr_check_adjs_lsa()
________________________________________________________________________________________________________
*** CID 1514068: Insecure data handling (TAINTED_SCALAR)
/ospfd/ospf_gr.c: 464 in ospf_gr_check_adjs_lsa()
458 }
459
460 static bool ospf_gr_check_adjs_lsa(struct ospf_area *area, struct ospf_lsa *lsa)
461 {
462 struct router_lsa *rl = (struct router_lsa *)lsa->data;
463
>>> CID 1514068: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "ntohs(rl->links)" as a loop boundary.
464 for (int i = 0; i < ntohs(rl->links); i++) {
465 struct in_addr *link_id = &rl->link[i].link_id;
466
467 switch (rl->link[i].type) {
468 case LSA_LINK_TYPE_POINTOPOINT:
469 if (!ospf_gr_check_adj_id(area, link_id))
** CID 1514067: Uninitialized variables (UNINIT)
________________________________________________________________________________________________________
*** CID 1514067: Uninitialized variables (UNINIT)
/pceplib/test/pcep_msg_messages_test.c: 147 in test_pcep_msg_create_request()
141 PCEP_MESSAGE_HEADER_VERSION);
142 pcep_msg_free_message(message);
143
144 /* Test IPv6 */
145 rp_obj = pcep_obj_create_rp(0, false, false, false, false, 10, NULL);
146 struct in6_addr src_addr_ipv6, dst_addr_ipv6;
>>> CID 1514067: Uninitialized variables (UNINIT)
>>> Using uninitialized value "src_addr_ipv6" when calling "pcep_obj_create_endpoint_ipv6".
147 struct pcep_object_endpoints_ipv6 *ipv6_obj =
148 pcep_obj_create_endpoint_ipv6(&src_addr_ipv6, &dst_addr_ipv6);
149 message = pcep_msg_create_request_ipv6(rp_obj, ipv6_obj, NULL);
150
151 CU_ASSERT_PTR_NOT_NULL(message);
152 pcep_encode_message(message, versioning);
** CID 1514066: (UNINIT)
________________________________________________________________________________________________________
*** CID 1514066: (UNINIT)
/usr/include/c++/10/bits/std_function.h: 359 in std::function<void (grpc::Status)>::function(std::function<void (grpc::Status)>&&)()
353 *
354 * The newly-created %function contains the target of @a __x
355 * (if it has one).
356 */
357 function(function&& __x) noexcept : _Function_base()
358 {
>>> CID 1514066: (UNINIT)
>>> Using uninitialized value "this->_M_invoker" when calling "swap".
359 __x.swap(*this);
360 }
361
362 /**
363 * @brief Builds a %function that targets a copy of the incoming
364 * function object.
/usr/include/c++/10/bits/std_function.h: 359 in std::function<void ()>::function(std::function<void ()>&&)()
353 *
354 * The newly-created %function contains the target of @a __x
355 * (if it has one).
356 */
357 function(function&& __x) noexcept : _Function_base()
358 {
>>> CID 1514066: (UNINIT)
>>> Using uninitialized value "this->_M_invoker" when calling "swap".
359 __x.swap(*this);
360 }
361
362 /**
363 * @brief Builds a %function that targets a copy of the incoming
364 * function object.
/usr/include/c++/10/bits/std_function.h: 359 in std::function<void (bool)>::function(std::function<void (bool)>&&)()
353 *
354 * The newly-created %function contains the target of @a __x
355 * (if it has one).
356 */
357 function(function&& __x) noexcept : _Function_base()
358 {
>>> CID 1514066: (UNINIT)
>>> Using uninitialized value "this->_M_invoker" when calling "swap".
359 __x.swap(*this);
360 }
361
362 /**
363 * @brief Builds a %function that targets a copy of the incoming
364 * function object.
** CID 1514065: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/bfdd/bfd.c: 1445 in integer2timestr()
________________________________________________________________________________________________________
*** CID 1514065: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
/bfdd/bfd.c: 1445 in integer2timestr()
1439 rv = snprintf(buf, buflen, "%u year(s), ", year);
1440 buf += rv;
1441 buflen -= rv;
1442 }
1443 if (time >= MONTHS) {
1444 month = time / MONTHS;
>>> CID 1514065: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
>>> Potentially overflowing expression "month * 2592000U" with type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit arithmetic, and then used in a context that expects an expression of type "_uint64_t" (64 bits, unsigned).
1445 time -= month * MONTHS;
1446
1447 rv = snprintf(buf, buflen, "%u month(s), ", month);
1448 buf += rv;
1449 buflen -= rv;
1450 }
** CID 1514064: Resource leaks (RESOURCE_LEAK)
/usr/include/google/protobuf/metadata_lite.h: 114 in google::protobuf::internal::InternalMetadata::Swap<google::protobuf::UnknownFieldSet>(google::protobuf::internal::InternalMetadata*)()
________________________________________________________________________________________________________
*** CID 1514064: Resource leaks (RESOURCE_LEAK)
/usr/include/google/protobuf/metadata_lite.h: 114 in google::protobuf::internal::InternalMetadata::Swap<google::protobuf::UnknownFieldSet>(google::protobuf::internal::InternalMetadata*)()
108 // pointer. We cannot simply swap ptr_ with other->ptr_ because we need to
109 // maintain our own arena ptr. Also, our ptr_ and other's ptr_ may be in
110 // different states (direct arena pointer vs. container with UFS) so we
111 // cannot simply swap ptr_ and then restore the arena pointers. We reuse
112 // UFS's swap implementation instead.
113 if (have_unknown_fields() || other->have_unknown_fields()) {
>>> CID 1514064: Resource leaks (RESOURCE_LEAK)
>>> Failing to save or free storage allocated by "other->mutable_unknown_fields()" leaks it.
114 DoSwap<T>(other->mutable_unknown_fields<T>());
115 }
116 }
117
118 template <typename T>
119 PROTOBUF_ALWAYS_INLINE void MergeFrom(const InternalMetadata& other) {
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yrtN2DGUU98GYhjd55wXsXtw53zRK70R0agdV-2Fb7c45-2BkxBoZjryQtr5SpUD80NNfE-3DItDi_O0IDF7c8sUs2B6kWTeWwAJZqriD5fgsfL8PAN30oQTyLc-2FRbaoZiNJY0NnEHB-2BPOlMcxV-2FmLwlSGD70U5Wv0tIRRFH-2Fh1o05ZBGCpouXo879yvISH3zeTJeiUvnG1E2Qf6gzMTBFro57G8D-2FLlOAACXzsJc1eGdZ3AWkgLKyND9VYWCloKe-2FhXpgrdImzyZsLnwVdikXP9t3uAREO9iy1A-3D-3D
More information about the dev
mailing list