Skip to content

CID 1508882: Uninitialized pointer field #10427

Description

@maskit

mgmt/config/FileManager.cc

 86FileManager::FileManager()
 87{
 88  ink_mutex_init(&accessLock);
 89  this->registerCallback(&handle_file_reload);
 90
 91  // Register the files registry jsonrpc endpoint
 92  rpc::add_method_handler("filemanager.get_files_registry",
 93                          [this](std::string_view const &id, const YAML::Node &req) -> ts::Rv<YAML::Node> {
 94                            return get_files_registry_rpc_endpoint(id, req);
 95                          },
 96                          &rpc::core_ats_rpc_service_provider_handle, {{rpc::NON_RESTRICTED_API}});
   	
CID 1508882 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member _pluginCallbackList is not initialized in this constructor nor in any functions that it calls.
 97}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions