==265== Uninitialised value was created by a heap allocation ==265== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==265== by 0x21204F: std::_MakeUniq::__single_object std::make_unique >, certi::Comparable, certi::Printable, certi::Hashable, certi::Invalidable>&>(certi::SocketServer&, certi::AuditFile&, certi::NamedTypeImpl >, certi::Comparable, certi::Printable, certi::Hashable, certi::Invalidable>&) (unique_ptr.h:857) ==265== by 0x1FF230: certi::rtig::Federation::Federation(std::__cxx11::basic_string, std::allocator > const&, certi::NamedTypeImpl >, certi::Comparable, certi::Printable, certi::Hashable, certi::Invalidable>, certi::SocketServer&, certi::AuditFile&, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::__cxx11::basic_string, std::allocator > const&, unsigned char, int) (Federation.cc:141) ==265== by 0x23E5C6: std::_MakeUniq::__single_object std::make_unique, std::allocator > const&, certi::NamedTypeImpl >, certi::Comparable, certi::Printable, certi::Hashable, certi::Invalidable> const&, certi::SocketServer&, certi::AuditFile&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::basic_string, std::allocator > const&, unsigned char const&, int&>(std::__cxx11::basic_string, std::allocator > const&, certi::NamedTypeImpl >, certi::Comparable, certi::Printable, certi::Hashable, certi::Invalidable> const&, certi::SocketServer&, certi::AuditFile&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&, std::__cxx11::basic_string, std::allocator > const&, unsigned char const&, int&) (unique_ptr.h:857) ==265== by 0x23D303: certi::rtig::FederationsList::createFederation(std::__cxx11::basic_string, std::allocator > const&, certi::NamedTypeImpl >, certi::Comparable, certi::Printable, certi::Hashable, certi::Invalidable>, certi::SocketServer&, certi::AuditFile&, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::__cxx11::basic_string, std::allocator > const&, unsigned char) (FederationsList.cc:113) ==265== by 0x244429: certi::rtig::MessageProcessor::process(certi::MessageEvent&&) (MessageProcessor.cc:165) ==265== by 0x2418FE: certi::rtig::MessageProcessor::processEvent(certi::MessageEvent) (MessageProcessor.cc:61) ==265== by 0x2B7FD7: certi::rtig::RTIG::processIncomingMessage(certi::Socket*) (RTIG.cc:442) ==265== by 0x2B7754: certi::rtig::RTIG::execute() (RTIG.cc:207) ==265== by 0x24116E: main (main.cc:142) ==265== ==265== Conditional jump or move depends on uninitialised value(s) ==265== at 0x4ABB388: certi::SecurityServer::getSocketLink(unsigned int, unsigned int) const (SecurityServer.cc:66) ==265== by 0x202A75: certi::rtig::Federation::setConstrained(unsigned int, bool, certi::FedTime) (Federation.cc:588) ==265== by 0x2467D9: certi::rtig::MessageProcessor::process(certi::MessageEvent&&) (MessageProcessor.cc:429) ==265== by 0x242273: certi::rtig::MessageProcessor::processEvent(certi::MessageEvent) (MessageProcessor.cc:76) ==265== by 0x2B7FD7: certi::rtig::RTIG::processIncomingMessage(certi::Socket*) (RTIG.cc:442) ==265== by 0x2B7754: certi::rtig::RTIG::execute() (RTIG.cc:207) ==265== by 0x24116E: main (main.cc:142) ==265== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==265== at 0x505E690: send (send.c:28) ==265== by 0x4AB9898: certi::SocketTCP::send(unsigned char const*, unsigned long) (SocketTCP.cc:312) ==265== by 0x4A6B534: certi::NetworkMessage::send(certi::Socket*, libhla::MessageBuffer&) (NetworkMessage_RW.cc:96) ==265== by 0x2B8A7F: certi::rtig::RTIG::processIncomingMessage(certi::Socket*) (RTIG.cc:493) ==265== by 0x2B7754: certi::rtig::RTIG::execute() (RTIG.cc:207) ==265== by 0x24116E: main (main.cc:142) ==265== Address 0x7066379 is 41 bytes inside a block of size 8,029 alloc'd ==265== at 0x483C583: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==265== by 0x4D30E2C: libhla::MessageBuffer::reallocate(unsigned int) (MessageBuffer.cc:104) ==265== by 0x4D3110F: libhla::MessageBuffer::write_uint8s(unsigned char const*, unsigned int) (MessageBuffer.cc:215) ==265== by 0x27B87E: libhla::MessageBuffer::write_chars(char const*, unsigned int) (MessageBuffer.hh:199) ==265== by 0x4D32B9E: libhla::MessageBuffer::write_string(std::__cxx11::basic_string, std::allocator > const&) (MessageBuffer.cc:472) ==265== by 0x4A6CFBE: certi::NM_FOM_Interaction_Class::serialize(libhla::MessageBuffer&) (NM_Classes.cc:416) ==265== by 0x4A6E46F: certi::NM_Join_Federation_Execution::serialize(libhla::MessageBuffer&) (NM_Classes.cc:790) ==265== by 0x4A6B672: certi::NetworkMessage::send(std::vector >, libhla::MessageBuffer&) (NetworkMessage_RW.cc:113) ==265== by 0x2B8371: certi::rtig::RTIG::processIncomingMessage(certi::Socket*) (RTIG.cc:455) ==265== by 0x2B7754: certi::rtig::RTIG::execute() (RTIG.cc:207) ==265== by 0x24116E: main (main.cc:142)