Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/eckit-1.13.1/regressions/ECKIT-175.cc Examining data/eckit-1.13.1/regressions/ECKIT-166.cc Examining data/eckit-1.13.1/regressions/ECKIT-221.cc Examining data/eckit-1.13.1/src/tools/dhcopy.cc Examining data/eckit-1.13.1/src/tools/rsync.cc Examining data/eckit-1.13.1/src/tools/eckit-version.cc Examining data/eckit-1.13.1/src/tools/syslog-server.cc Examining data/eckit-1.13.1/src/tools/syslog-client.cc Examining data/eckit-1.13.1/src/eckit/types/DateTime.cc Examining data/eckit-1.13.1/src/eckit/types/Types.cc Examining data/eckit-1.13.1/src/eckit/types/TimeInterval.h Examining data/eckit-1.13.1/src/eckit/types/Date.h Examining data/eckit-1.13.1/src/eckit/types/Time.h Examining data/eckit-1.13.1/src/eckit/types/ClimateDate.cc Examining data/eckit-1.13.1/src/eckit/types/UUID.cc Examining data/eckit-1.13.1/src/eckit/types/Time.cc Examining data/eckit-1.13.1/src/eckit/types/VerifyingDate.h Examining data/eckit-1.13.1/src/eckit/types/DayOfYear.cc Examining data/eckit-1.13.1/src/eckit/types/Fraction.h Examining data/eckit-1.13.1/src/eckit/types/Grid.h Examining data/eckit-1.13.1/src/eckit/types/Coord.cc Examining data/eckit-1.13.1/src/eckit/types/Grid.cc Examining data/eckit-1.13.1/src/eckit/types/Double.h Examining data/eckit-1.13.1/src/eckit/types/Double.cc Examining data/eckit-1.13.1/src/eckit/types/TimeInterval.cc Examining data/eckit-1.13.1/src/eckit/types/DayOfYear.h Examining data/eckit-1.13.1/src/eckit/types/Date.cc Examining data/eckit-1.13.1/src/eckit/types/UUID.h Examining data/eckit-1.13.1/src/eckit/types/Month.h Examining data/eckit-1.13.1/src/eckit/types/DateTime.h Examining data/eckit-1.13.1/src/eckit/types/VerifyingDate.cc Examining data/eckit-1.13.1/src/eckit/types/Fraction.cc Examining data/eckit-1.13.1/src/eckit/types/ClimateDate.h Examining data/eckit-1.13.1/src/eckit/types/FloatCompare.cc Examining data/eckit-1.13.1/src/eckit/types/Coord.h Examining data/eckit-1.13.1/src/eckit/types/FixedString.h Examining data/eckit-1.13.1/src/eckit/types/Month.cc Examining data/eckit-1.13.1/src/eckit/types/FloatCompare.h Examining data/eckit-1.13.1/src/eckit/types/Types.h Examining data/eckit-1.13.1/src/eckit/deprecated.h Examining data/eckit-1.13.1/src/eckit/container/KDMapped.h Examining data/eckit-1.13.1/src/eckit/container/CacheManager.h Examining data/eckit-1.13.1/src/eckit/container/Cache.h Examining data/eckit-1.13.1/src/eckit/container/kdtree/KDNode.cc Examining data/eckit-1.13.1/src/eckit/container/kdtree/KDNode.h Examining data/eckit-1.13.1/src/eckit/container/Queue.h Examining data/eckit-1.13.1/src/eckit/container/DenseSet.h Examining data/eckit-1.13.1/src/eckit/container/BTree.cc Examining data/eckit-1.13.1/src/eckit/container/MappedArray.cc Examining data/eckit-1.13.1/src/eckit/container/CacheLRU.cc Examining data/eckit-1.13.1/src/eckit/container/BloomFilter.h Examining data/eckit-1.13.1/src/eckit/container/BTree.h Examining data/eckit-1.13.1/src/eckit/container/KDTree.h Examining data/eckit-1.13.1/src/eckit/container/BloomFilter.cc Examining data/eckit-1.13.1/src/eckit/container/KDMapped.cc Examining data/eckit-1.13.1/src/eckit/container/BSPTree.h Examining data/eckit-1.13.1/src/eckit/container/CacheManager.cc Examining data/eckit-1.13.1/src/eckit/container/SharedMemArray.h Examining data/eckit-1.13.1/src/eckit/container/ClassExtent.h Examining data/eckit-1.13.1/src/eckit/container/KDMemory.h Examining data/eckit-1.13.1/src/eckit/container/MappedArray.h Examining data/eckit-1.13.1/src/eckit/container/CacheLRU.h Examining data/eckit-1.13.1/src/eckit/container/bsptree/BSPNode.h Examining data/eckit-1.13.1/src/eckit/container/bsptree/BSPHyperPlane.h Examining data/eckit-1.13.1/src/eckit/container/bsptree/BSPNode.cc Examining data/eckit-1.13.1/src/eckit/container/StatCollector.h Examining data/eckit-1.13.1/src/eckit/container/Trie.cc Examining data/eckit-1.13.1/src/eckit/container/sptree/SPValue.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPNodeQueue.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPNode.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPIterator.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPNodeInfo.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPTree.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPMetadata.h Examining data/eckit-1.13.1/src/eckit/container/sptree/SPNode.cc Examining data/eckit-1.13.1/src/eckit/container/Trie.h Examining data/eckit-1.13.1/src/eckit/container/SharedMemArray.cc Examining data/eckit-1.13.1/src/eckit/container/Recycler.h Examining data/eckit-1.13.1/src/eckit/container/DenseMap.h Examining data/eckit-1.13.1/src/eckit/web/AgentResource.h Examining data/eckit-1.13.1/src/eckit/web/JavaResource.cc Examining data/eckit-1.13.1/src/eckit/web/HttpService.h Examining data/eckit-1.13.1/src/eckit/web/JavaUser.h Examining data/eckit-1.13.1/src/eckit/web/HtmlResource.cc Examining data/eckit-1.13.1/src/eckit/web/CgiResource.cc Examining data/eckit-1.13.1/src/eckit/web/JavaService.h Examining data/eckit-1.13.1/src/eckit/web/AgentResource.cc Examining data/eckit-1.13.1/src/eckit/web/HttpResource.cc Examining data/eckit-1.13.1/src/eckit/web/FileResource.cc Examining data/eckit-1.13.1/src/eckit/web/JavaServer.cc Examining data/eckit-1.13.1/src/eckit/web/JavaAgent.h Examining data/eckit-1.13.1/src/eckit/web/JavaUser.cc Examining data/eckit-1.13.1/src/eckit/web/FileResource.h Examining data/eckit-1.13.1/src/eckit/web/FtpRequest.h Examining data/eckit-1.13.1/src/eckit/web/Html.cc Examining data/eckit-1.13.1/src/eckit/web/Url.cc Examining data/eckit-1.13.1/src/eckit/web/CgiResource.h Examining data/eckit-1.13.1/src/eckit/web/JavaServer.h Examining data/eckit-1.13.1/src/eckit/web/HttpServer.cc Examining data/eckit-1.13.1/src/eckit/web/Configure.cc Examining data/eckit-1.13.1/src/eckit/web/HttpUser.h Examining data/eckit-1.13.1/src/eckit/web/HttpResource.h Examining data/eckit-1.13.1/src/eckit/web/JSONResource.cc Examining data/eckit-1.13.1/src/eckit/web/JavaService.cc Examining data/eckit-1.13.1/src/eckit/web/Url.h Examining data/eckit-1.13.1/src/eckit/web/Html.h Examining data/eckit-1.13.1/src/eckit/web/HttpServer.h Examining data/eckit-1.13.1/src/eckit/web/JavaAgent.cc Examining data/eckit-1.13.1/src/eckit/web/HttpService.cc Examining data/eckit-1.13.1/src/eckit/web/HttpStream.cc Examining data/eckit-1.13.1/src/eckit/web/JSONResource.h Examining data/eckit-1.13.1/src/eckit/web/HtmlResource.h Examining data/eckit-1.13.1/src/eckit/web/JavaResource.h Examining data/eckit-1.13.1/src/eckit/web/HtmlObject.cc Examining data/eckit-1.13.1/src/eckit/web/HttpStream.h Examining data/eckit-1.13.1/src/eckit/web/HtmlObject.h Examining data/eckit-1.13.1/src/eckit/compat/Inited.h Examining data/eckit-1.13.1/src/eckit/compat/StrStream.h Examining data/eckit-1.13.1/src/eckit/utils/LZ4Compressor.cc Examining data/eckit-1.13.1/src/eckit/utils/StringTools.h Examining data/eckit-1.13.1/src/eckit/utils/Clock.h Examining data/eckit-1.13.1/src/eckit/utils/RendezvousHash.cc Examining data/eckit-1.13.1/src/eckit/utils/Compressor.h Examining data/eckit-1.13.1/src/eckit/utils/SHA1.h Examining data/eckit-1.13.1/src/eckit/utils/StringTools.cc Examining data/eckit-1.13.1/src/eckit/utils/MD5.cc Examining data/eckit-1.13.1/src/eckit/utils/Rsync.h Examining data/eckit-1.13.1/src/eckit/utils/SnappyCompressor.cc Examining data/eckit-1.13.1/src/eckit/utils/Compressor.cc Examining data/eckit-1.13.1/src/eckit/utils/AECCompressor.cc Examining data/eckit-1.13.1/src/eckit/utils/SHA1.cc Examining data/eckit-1.13.1/src/eckit/utils/Regex.cc Examining data/eckit-1.13.1/src/eckit/utils/xxHashing.cc Examining data/eckit-1.13.1/src/eckit/utils/Translator.h Examining data/eckit-1.13.1/src/eckit/utils/Rsync.cc Examining data/eckit-1.13.1/src/eckit/utils/RendezvousHash.h Examining data/eckit-1.13.1/src/eckit/utils/RLE.cc Examining data/eckit-1.13.1/src/eckit/utils/Tokenizer.h Examining data/eckit-1.13.1/src/eckit/utils/BZip2Compressor.cc Examining data/eckit-1.13.1/src/eckit/utils/HyperCube.h Examining data/eckit-1.13.1/src/eckit/utils/RLE.h Examining data/eckit-1.13.1/src/eckit/utils/SnappyCompressor.h Examining data/eckit-1.13.1/src/eckit/utils/Translator.cc Examining data/eckit-1.13.1/src/eckit/utils/BZip2Compressor.h Examining data/eckit-1.13.1/src/eckit/utils/Hash.h Examining data/eckit-1.13.1/src/eckit/utils/Tokenizer.cc Examining data/eckit-1.13.1/src/eckit/utils/MD5.h Examining data/eckit-1.13.1/src/eckit/utils/Hash.cc Examining data/eckit-1.13.1/src/eckit/utils/MD4.h Examining data/eckit-1.13.1/src/eckit/utils/xxHashing.h Examining data/eckit-1.13.1/src/eckit/utils/MD4.cc Examining data/eckit-1.13.1/src/eckit/utils/AECCompressor.h Examining data/eckit-1.13.1/src/eckit/utils/Regex.h Examining data/eckit-1.13.1/src/eckit/utils/HyperCube.cc Examining data/eckit-1.13.1/src/eckit/utils/LZ4Compressor.h Examining data/eckit-1.13.1/src/eckit/memory/Padded.h Examining data/eckit-1.13.1/src/eckit/memory/MemoryPool.h Examining data/eckit-1.13.1/src/eckit/memory/Builder.cc Examining data/eckit-1.13.1/src/eckit/memory/SharedPtr.h Examining data/eckit-1.13.1/src/eckit/memory/MapAllocator.h Examining data/eckit-1.13.1/src/eckit/memory/Factory.h Examining data/eckit-1.13.1/src/eckit/memory/OnlyMovable.h Examining data/eckit-1.13.1/src/eckit/memory/MemoryBuffer.cc Examining data/eckit-1.13.1/src/eckit/memory/Shmget.h Examining data/eckit-1.13.1/src/eckit/memory/MMap.h Examining data/eckit-1.13.1/src/eckit/memory/MemoryBuffer.h Examining data/eckit-1.13.1/src/eckit/memory/Counted.cc Examining data/eckit-1.13.1/src/eckit/memory/NonCopyable.cc Examining data/eckit-1.13.1/src/eckit/memory/Counted.h Examining data/eckit-1.13.1/src/eckit/memory/MapAllocator.cc Examining data/eckit-1.13.1/src/eckit/memory/SharedPtr.cc Examining data/eckit-1.13.1/src/eckit/memory/Shmget.cc Examining data/eckit-1.13.1/src/eckit/memory/Owned.h Examining data/eckit-1.13.1/src/eckit/memory/MMap.cc Examining data/eckit-1.13.1/src/eckit/memory/Zero.h Examining data/eckit-1.13.1/src/eckit/memory/ScopedPtr.h Examining data/eckit-1.13.1/src/eckit/memory/NonCopyable.h Examining data/eckit-1.13.1/src/eckit/memory/MemoryPool.cc Examining data/eckit-1.13.1/src/eckit/memory/Builder.h Examining data/eckit-1.13.1/src/eckit/maths/Lapack.h Examining data/eckit-1.13.1/src/eckit/maths/Lapack.cc Examining data/eckit-1.13.1/src/eckit/maths/MatrixEigen.h Examining data/eckit-1.13.1/src/eckit/maths/Functions.cc Examining data/eckit-1.13.1/src/eckit/maths/Functions.h Examining data/eckit-1.13.1/src/eckit/maths/Matrix.h Examining data/eckit-1.13.1/src/eckit/maths/Eigen.h Examining data/eckit-1.13.1/src/eckit/maths/MatrixLapack.h Examining data/eckit-1.13.1/src/eckit/os/Password.h Examining data/eckit-1.13.1/src/eckit/os/SharedInt.h Examining data/eckit-1.13.1/src/eckit/os/SemLocker.cc Examining data/eckit-1.13.1/src/eckit/os/Stat.h Examining data/eckit-1.13.1/src/eckit/os/SemLocker.h Examining data/eckit-1.13.1/src/eckit/os/SignalHandler.h Examining data/eckit-1.13.1/src/eckit/os/SharedInt.cc Examining data/eckit-1.13.1/src/eckit/os/System.h Examining data/eckit-1.13.1/src/eckit/os/Password.cc Examining data/eckit-1.13.1/src/eckit/os/System.cc Examining data/eckit-1.13.1/src/eckit/os/Semaphore.h Examining data/eckit-1.13.1/src/eckit/os/AutoUmask.h Examining data/eckit-1.13.1/src/eckit/os/BackTrace.h Examining data/eckit-1.13.1/src/eckit/os/BackTrace.cc Examining data/eckit-1.13.1/src/eckit/os/AutoAlarm.cc Examining data/eckit-1.13.1/src/eckit/os/AutoAlarm.h Examining data/eckit-1.13.1/src/eckit/os/Semaphore.cc Examining data/eckit-1.13.1/src/eckit/os/SignalHandler.cc Examining data/eckit-1.13.1/src/eckit/eckit.h Examining data/eckit-1.13.1/src/eckit/thread/Thread.cc Examining data/eckit-1.13.1/src/eckit/thread/ThreadPool.h Examining data/eckit-1.13.1/src/eckit/thread/Mutex.h Examining data/eckit-1.13.1/src/eckit/thread/ThreadSingleton.h Examining data/eckit-1.13.1/src/eckit/thread/StaticMutex.h Examining data/eckit-1.13.1/src/eckit/thread/Mutex.cc Examining data/eckit-1.13.1/src/eckit/thread/ThreadPool.cc Examining data/eckit-1.13.1/src/eckit/thread/MutexCond.h Examining data/eckit-1.13.1/src/eckit/thread/ThreadControler.cc Examining data/eckit-1.13.1/src/eckit/thread/Once.h Examining data/eckit-1.13.1/src/eckit/thread/AutoLock.h Examining data/eckit-1.13.1/src/eckit/thread/MutexCond.cc Examining data/eckit-1.13.1/src/eckit/thread/Thread.h Examining data/eckit-1.13.1/src/eckit/thread/ThreadControler.h Examining data/eckit-1.13.1/src/eckit/thread/StaticMutex.cc Examining data/eckit-1.13.1/src/eckit/config/Parametrisation.cc Examining data/eckit-1.13.1/src/eckit/config/Configuration.cc Examining data/eckit-1.13.1/src/eckit/config/ResourceMgr.h Examining data/eckit-1.13.1/src/eckit/config/ResourceBase.cc Examining data/eckit-1.13.1/src/eckit/config/YAMLConfiguration.h Examining data/eckit-1.13.1/src/eckit/config/Parametrisation.h Examining data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc Examining data/eckit-1.13.1/src/eckit/config/JSONConfiguration.h Examining data/eckit-1.13.1/src/eckit/config/Configuration.h Examining data/eckit-1.13.1/src/eckit/config/Configured.h Examining data/eckit-1.13.1/src/eckit/config/ResourceBase.h Examining data/eckit-1.13.1/src/eckit/config/YAMLConfiguration.cc Examining data/eckit-1.13.1/src/eckit/config/LibEcKit.h Examining data/eckit-1.13.1/src/eckit/config/Configurable.h Examining data/eckit-1.13.1/src/eckit/config/Resource.h Examining data/eckit-1.13.1/src/eckit/config/LocalConfiguration.h Examining data/eckit-1.13.1/src/eckit/config/LibEcKit.cc Examining data/eckit-1.13.1/src/eckit/config/EtcTable.cc Examining data/eckit-1.13.1/src/eckit/config/Configured.cc Examining data/eckit-1.13.1/src/eckit/config/Configurable.cc Examining data/eckit-1.13.1/src/eckit/config/EtcTable.h Examining data/eckit-1.13.1/src/eckit/config/LocalConfiguration.cc Examining data/eckit-1.13.1/src/eckit/message/Splitter.h Examining data/eckit-1.13.1/src/eckit/message/Message.h Examining data/eckit-1.13.1/src/eckit/message/Message.cc Examining data/eckit-1.13.1/src/eckit/message/Decoder.h Examining data/eckit-1.13.1/src/eckit/message/MessageContent.h Examining data/eckit-1.13.1/src/eckit/message/Decoder.cc Examining data/eckit-1.13.1/src/eckit/message/Reader.h Examining data/eckit-1.13.1/src/eckit/message/Splitter.cc Examining data/eckit-1.13.1/src/eckit/message/MessageContent.cc Examining data/eckit-1.13.1/src/eckit/message/Reader.cc Examining data/eckit-1.13.1/src/eckit/transaction/TxnLog.cc Examining data/eckit-1.13.1/src/eckit/transaction/TxnEvent.cc Examining data/eckit-1.13.1/src/eckit/transaction/TxnLog.h Examining data/eckit-1.13.1/src/eckit/transaction/TxnEvent.h Examining data/eckit-1.13.1/src/eckit/net/ProxiedTCPServer.cc Examining data/eckit-1.13.1/src/eckit/net/HttpHeader.cc Examining data/eckit-1.13.1/src/eckit/net/TCPSocket.cc Examining data/eckit-1.13.1/src/eckit/net/Telnet.cc Examining data/eckit-1.13.1/src/eckit/net/TelnetUser.cc Examining data/eckit-1.13.1/src/eckit/net/TCPSocket.h Examining data/eckit-1.13.1/src/eckit/net/ProxiedTCPServer.h Examining data/eckit-1.13.1/src/eckit/net/SocketOptions.cc Examining data/eckit-1.13.1/src/eckit/net/ProxiedTCPClient.cc Examining data/eckit-1.13.1/src/eckit/net/TCPServer.cc Examining data/eckit-1.13.1/src/eckit/net/TCPClient.h Examining data/eckit-1.13.1/src/eckit/net/NetMask.h Examining data/eckit-1.13.1/src/eckit/net/ProxiedTCPClient.h Examining data/eckit-1.13.1/src/eckit/net/Port.cc Examining data/eckit-1.13.1/src/eckit/net/SocketOptions.h Examining data/eckit-1.13.1/src/eckit/net/NetUser.cc Examining data/eckit-1.13.1/src/eckit/net/IPAddress.h Examining data/eckit-1.13.1/src/eckit/net/Connector.cc Examining data/eckit-1.13.1/src/eckit/net/UDPClient.h Examining data/eckit-1.13.1/src/eckit/net/Endpoint.h Examining data/eckit-1.13.1/src/eckit/net/NetService.h Examining data/eckit-1.13.1/src/eckit/net/UDPClient.cc Examining data/eckit-1.13.1/src/eckit/net/TCPServer.h Examining data/eckit-1.13.1/src/eckit/net/TCPStream.cc Examining data/eckit-1.13.1/src/eckit/net/Telnetable.h Examining data/eckit-1.13.1/src/eckit/net/UDPServer.cc Examining data/eckit-1.13.1/src/eckit/net/Telnet.h Examining data/eckit-1.13.1/src/eckit/net/TCPClient.cc Examining data/eckit-1.13.1/src/eckit/net/Connector.h Examining data/eckit-1.13.1/src/eckit/net/NetMask.cc Examining data/eckit-1.13.1/src/eckit/net/TCPStream.h Examining data/eckit-1.13.1/src/eckit/net/IPAddress.cc Examining data/eckit-1.13.1/src/eckit/net/HttpHeader.h Examining data/eckit-1.13.1/src/eckit/net/NetService.cc Examining data/eckit-1.13.1/src/eckit/net/Endpoint.cc Examining data/eckit-1.13.1/src/eckit/net/Port.h Examining data/eckit-1.13.1/src/eckit/net/Telnetable.cc Examining data/eckit-1.13.1/src/eckit/net/NetUser.h Examining data/eckit-1.13.1/src/eckit/net/TelnetUser.h Examining data/eckit-1.13.1/src/eckit/net/UDPServer.h Examining data/eckit-1.13.1/src/eckit/persist/Isa.h Examining data/eckit-1.13.1/src/eckit/persist/DumpLoad.h Examining data/eckit-1.13.1/src/eckit/persist/Exporter.cc Examining data/eckit-1.13.1/src/eckit/persist/Isa.cc Examining data/eckit-1.13.1/src/eckit/persist/Exporter.h Examining data/eckit-1.13.1/src/eckit/persist/Bless.h Examining data/eckit-1.13.1/src/eckit/persist/DumpLoad.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLStatement.h Examining data/eckit-1.13.1/src/eckit/sql/Environment.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLIterator.h Examining data/eckit-1.13.1/src/eckit/sql/SchemaComponents.h Examining data/eckit-1.13.1/src/eckit/sql/SQLTableFactory.h Examining data/eckit-1.13.1/src/eckit/sql/SQLParser.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLIteratorOutput.h Examining data/eckit-1.13.1/src/eckit/sql/SQLSelectFactory.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLOrderOutput.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLDistinctOutput.h Examining data/eckit-1.13.1/src/eckit/sql/SQLDatabase.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLStatement.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLMATCHSubquerySession.h Examining data/eckit-1.13.1/src/eckit/sql/SQLParser.h Examining data/eckit-1.13.1/src/eckit/sql/SQLBitColumn.h Examining data/eckit-1.13.1/src/eckit/sql/SQLMATCHSubquerySessionOutput.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLOrderOutput.h Examining data/eckit-1.13.1/src/eckit/sql/SQLTable.cc Examining data/eckit-1.13.1/src/eckit/sql/SelectOneTable.h Examining data/eckit-1.13.1/src/eckit/sql/SQLTable.h Examining data/eckit-1.13.1/src/eckit/sql/expression/ColumnExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/ColumnExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/SQLExpressions.h Examining data/eckit-1.13.1/src/eckit/sql/expression/BitColumnExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/ShiftedColumnExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/NumberExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/OrderByExpressions.h Examining data/eckit-1.13.1/src/eckit/sql/expression/ConstantExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/ConstantExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/SQLExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/SQLExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/ShiftedColumnExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/StringExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/StringExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/OrderByExpressions.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/ParameterExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/BitColumnExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/NumberExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/SQLExpressionEvaluated.h Examining data/eckit-1.13.1/src/eckit/sql/expression/ParameterExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/SQLExpressions.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNOT_NULL.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionFactory.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionJOIN.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionVAR.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNVL.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionCOUNT.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionIntegerExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionOR.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionJULIAN.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionFIRST.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionSTDEV.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNORM.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNOT_IN.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionAND.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionJULIAN.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNOT_IN.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionRMS.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionCOUNT.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionROWNUMBER.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/DoubleFunctions.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionDOTP.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionMATCH.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionJULIAN_SECONDS.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionAND.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionRLIKE.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionIN.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionFIRST.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionEQ.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionJOIN.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionTDIFF.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionIN.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNULL.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionROWNUMBER.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionRLIKE.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionAVG.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNOT_NULL.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionLAST.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionMIN.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionTHIN.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionTIMESTAMP.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionMAX.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionIntegerExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionMAX.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionSUM.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNULL.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionRMS.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionMATCH.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionExpression.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionVAR.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionLAST.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionSTDEV.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionTDIFF.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionOR.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionJULIAN_SECONDS.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionExpression.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionMIN.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionTIMESTAMP.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNORM.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionTHIN.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNVL.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionEQ.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionAVG.h Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionDOTP.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionSUM.cc Examining data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionFactory.h Examining data/eckit-1.13.1/src/eckit/sql/expression/SQLExpressionEvaluated.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLIteratorOutput.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLOutputConfig.h Examining data/eckit-1.13.1/src/eckit/sql/SchemaAnalyzer.h Examining data/eckit-1.13.1/src/eckit/sql/SelectOneTable.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLSession.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLColumn.h Examining data/eckit-1.13.1/src/eckit/sql/SQLColumn.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLOutput.h Examining data/eckit-1.13.1/src/eckit/sql/SQLDistinctOutput.cc Examining data/eckit-1.13.1/src/eckit/sql/SchemaAnalyzer.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLMATCHSubquerySessionOutput.h Examining data/eckit-1.13.1/src/eckit/sql/SQLTypedefs.h Examining data/eckit-1.13.1/src/eckit/sql/SQLSelectFactory.h Examining data/eckit-1.13.1/src/eckit/sql/SQLSession.h Examining data/eckit-1.13.1/src/eckit/sql/SQLOutputConfig.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLSimpleOutput.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLBitfield.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLBitfield.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLString.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLReal.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLInt.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLBit.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLString.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLReal.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLType.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLInt.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLType.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLDouble.cc Examining data/eckit-1.13.1/src/eckit/sql/type/SQLBit.h Examining data/eckit-1.13.1/src/eckit/sql/type/SQLDouble.h Examining data/eckit-1.13.1/src/eckit/sql/SQLSelect.h Examining data/eckit-1.13.1/src/eckit/sql/SQLSimpleOutput.cc Examining data/eckit-1.13.1/src/eckit/sql/SchemaComponents.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLBitColumn.cc Examining data/eckit-1.13.1/src/eckit/sql/Environment.h Examining data/eckit-1.13.1/src/eckit/sql/SQLMATCHSubquerySession.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLSelect.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLTableFactory.cc Examining data/eckit-1.13.1/src/eckit/sql/SQLDatabase.h Examining data/eckit-1.13.1/src/eckit/sql/SQLOutput.cc Examining data/eckit-1.13.1/src/eckit/parser/CSVParser.h Examining data/eckit-1.13.1/src/eckit/parser/StringTools.h Examining data/eckit-1.13.1/src/eckit/parser/ObjectParser.cc Examining data/eckit-1.13.1/src/eckit/parser/JSON.h Examining data/eckit-1.13.1/src/eckit/parser/JSONParser.cc Examining data/eckit-1.13.1/src/eckit/parser/ObjectParser.h Examining data/eckit-1.13.1/src/eckit/parser/YAMLParser.cc Examining data/eckit-1.13.1/src/eckit/parser/YAMLParser.h Examining data/eckit-1.13.1/src/eckit/parser/Tokenizer.h Examining data/eckit-1.13.1/src/eckit/parser/CSVParser.cc Examining data/eckit-1.13.1/src/eckit/parser/StreamParser.h Examining data/eckit-1.13.1/src/eckit/parser/StreamParser.cc Examining data/eckit-1.13.1/src/eckit/parser/JSONParser.h Examining data/eckit-1.13.1/src/eckit/io/HandleBuf.cc Examining data/eckit-1.13.1/src/eckit/io/SockBuf.cc Examining data/eckit-1.13.1/src/eckit/io/FTPHandle.h Examining data/eckit-1.13.1/src/eckit/io/Base64.h Examining data/eckit-1.13.1/src/eckit/io/DblBuffer.h Examining data/eckit-1.13.1/src/eckit/io/ResizableBuffer.h Examining data/eckit-1.13.1/src/eckit/io/RawFileHandle.h Examining data/eckit-1.13.1/src/eckit/io/FileHandle.cc Examining data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc Examining data/eckit-1.13.1/src/eckit/io/Buffer.cc Examining data/eckit-1.13.1/src/eckit/io/StdioBuf.h Examining data/eckit-1.13.1/src/eckit/io/FileLock.h Examining data/eckit-1.13.1/src/eckit/io/CommandStream.h Examining data/eckit-1.13.1/src/eckit/io/FileHandle.h Examining data/eckit-1.13.1/src/eckit/io/PipeHandle.cc Examining data/eckit-1.13.1/src/eckit/io/RawFileHandle.cc Examining data/eckit-1.13.1/src/eckit/io/StdFile.h Examining data/eckit-1.13.1/src/eckit/io/MultiHandle.h Examining data/eckit-1.13.1/src/eckit/io/MoverTransfer.h Examining data/eckit-1.13.1/src/eckit/io/FileLock.cc Examining data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.h Examining data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.h Examining data/eckit-1.13.1/src/eckit/io/BufferCache.cc Examining data/eckit-1.13.1/src/eckit/io/FileLocker.cc Examining data/eckit-1.13.1/src/eckit/io/HandleBuf.h Examining data/eckit-1.13.1/src/eckit/io/PartHandle.cc Examining data/eckit-1.13.1/src/eckit/io/FilePool.h Examining data/eckit-1.13.1/src/eckit/io/BitIO.h Examining data/eckit-1.13.1/src/eckit/io/HandleHolder.cc Examining data/eckit-1.13.1/src/eckit/io/DataHandle.cc Examining data/eckit-1.13.1/src/eckit/io/PartFileHandle.h Examining data/eckit-1.13.1/src/eckit/io/FileDescHandle.cc Examining data/eckit-1.13.1/src/eckit/io/BufferedHandle.cc Examining data/eckit-1.13.1/src/eckit/io/FileLocker.h Examining data/eckit-1.13.1/src/eckit/io/URLHandle.cc Examining data/eckit-1.13.1/src/eckit/io/Pipeline.h Examining data/eckit-1.13.1/src/eckit/io/Length.h Examining data/eckit-1.13.1/src/eckit/io/TCPHandle.cc Examining data/eckit-1.13.1/src/eckit/io/TCPHandle.h Examining data/eckit-1.13.1/src/eckit/io/PeekHandle.h Examining data/eckit-1.13.1/src/eckit/io/SeekableHandle.h Examining data/eckit-1.13.1/src/eckit/io/BufferCache.h Examining data/eckit-1.13.1/src/eckit/io/EasyCURL.cc Examining data/eckit-1.13.1/src/eckit/io/TeeHandle.cc Examining data/eckit-1.13.1/src/eckit/io/TransferWatcher.cc Examining data/eckit-1.13.1/src/eckit/io/FDataSync.h Examining data/eckit-1.13.1/src/eckit/io/DataHandle.h Examining data/eckit-1.13.1/src/eckit/io/AsyncHandle.h Examining data/eckit-1.13.1/src/eckit/io/StatsHandle.cc Examining data/eckit-1.13.1/src/eckit/io/SharedHandle.h Examining data/eckit-1.13.1/src/eckit/io/Base64.cc Examining data/eckit-1.13.1/src/eckit/io/TeeHandle.h Examining data/eckit-1.13.1/src/eckit/io/PooledFile.cc Examining data/eckit-1.13.1/src/eckit/io/StdPipe.h Examining data/eckit-1.13.1/src/eckit/io/StdFileHandle.h Examining data/eckit-1.13.1/src/eckit/io/SeekableHandle.cc Examining data/eckit-1.13.1/src/eckit/io/SockBuf.h Examining data/eckit-1.13.1/src/eckit/io/FTPHandle.cc Examining data/eckit-1.13.1/src/eckit/io/StdPipe.cc Examining data/eckit-1.13.1/src/eckit/io/URLHandle.h Examining data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc Examining data/eckit-1.13.1/src/eckit/io/PartFileHandle.cc Examining data/eckit-1.13.1/src/eckit/io/Compress.cc Examining data/eckit-1.13.1/src/eckit/io/SharedBuffer.h Examining data/eckit-1.13.1/src/eckit/io/Select.cc Examining data/eckit-1.13.1/src/eckit/io/EmptyHandle.h Examining data/eckit-1.13.1/src/eckit/io/BufferedHandle.h Examining data/eckit-1.13.1/src/eckit/io/CommandStream.cc Examining data/eckit-1.13.1/src/eckit/io/HandleHolder.h Examining data/eckit-1.13.1/src/eckit/io/PeekHandle.cc Examining data/eckit-1.13.1/src/eckit/io/Pipeline.cc Examining data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.h Examining data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc Examining data/eckit-1.13.1/src/eckit/io/cluster/NodeInfo.h Examining data/eckit-1.13.1/src/eckit/io/cluster/NodeInfo.cc Examining data/eckit-1.13.1/src/eckit/io/cluster/ClusterNode.h Examining data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.h Examining data/eckit-1.13.1/src/eckit/io/cluster/ClusterNode.cc Examining data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc Examining data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.cc Examining data/eckit-1.13.1/src/eckit/io/PipeHandle.h Examining data/eckit-1.13.1/src/eckit/io/FilePool.cc Examining data/eckit-1.13.1/src/eckit/io/StdFileHandle.cc Examining data/eckit-1.13.1/src/eckit/io/Offset.h Examining data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.cc Examining data/eckit-1.13.1/src/eckit/io/AsyncHandle.cc Examining data/eckit-1.13.1/src/eckit/io/Length.cc Examining data/eckit-1.13.1/src/eckit/io/PooledHandle.cc Examining data/eckit-1.13.1/src/eckit/io/StdioBuf.cc Examining data/eckit-1.13.1/src/eckit/io/DblBuffer.cc Examining data/eckit-1.13.1/src/eckit/io/Buffer.h Examining data/eckit-1.13.1/src/eckit/io/SharedBuffer.cc Examining data/eckit-1.13.1/src/eckit/io/PooledHandle.h Examining data/eckit-1.13.1/src/eckit/io/FileDescHandle.h Examining data/eckit-1.13.1/src/eckit/io/StatsHandle.h Examining data/eckit-1.13.1/src/eckit/io/CircularBuffer.h Examining data/eckit-1.13.1/src/eckit/io/Select.h Examining data/eckit-1.13.1/src/eckit/io/TransferWatcher.h Examining data/eckit-1.13.1/src/eckit/io/MoverTransfer.cc Examining data/eckit-1.13.1/src/eckit/io/BitIO.cc Examining data/eckit-1.13.1/src/eckit/io/PartHandle.h Examining data/eckit-1.13.1/src/eckit/io/AutoCloser.h Examining data/eckit-1.13.1/src/eckit/io/MemoryHandle.h Examining data/eckit-1.13.1/src/eckit/io/EasyCURL.h Examining data/eckit-1.13.1/src/eckit/io/MemoryHandle.cc Examining data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc Examining data/eckit-1.13.1/src/eckit/io/PooledFile.h Examining data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.h Examining data/eckit-1.13.1/src/eckit/io/SharedHandle.cc Examining data/eckit-1.13.1/src/eckit/io/AIOHandle.cc Examining data/eckit-1.13.1/src/eckit/io/MultiHandle.cc Examining data/eckit-1.13.1/src/eckit/io/FileBase.cc Examining data/eckit-1.13.1/src/eckit/io/FileBase.h Examining data/eckit-1.13.1/src/eckit/io/ResizableBuffer.cc Examining data/eckit-1.13.1/src/eckit/io/AIOHandle.h Examining data/eckit-1.13.1/src/eckit/io/StdFile.cc Examining data/eckit-1.13.1/src/eckit/io/Compress.h Examining data/eckit-1.13.1/src/eckit/io/FDataSync.cc Examining data/eckit-1.13.1/src/eckit/io/EmptyHandle.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosAttributes.h Examining data/eckit-1.13.1/src/eckit/io/rados/RadosWriteHandle.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosReadHandle.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosObject.h Examining data/eckit-1.13.1/src/eckit/io/rados/RadosCluster.h Examining data/eckit-1.13.1/src/eckit/io/rados/RadosCluster.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosAttributes.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosObject.cc Examining data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.h Examining data/eckit-1.13.1/src/eckit/io/rados/RadosReadHandle.h Examining data/eckit-1.13.1/src/eckit/io/rados/RadosWriteHandle.h Examining data/eckit-1.13.1/src/eckit/io/Offset.cc Examining data/eckit-1.13.1/src/eckit/value/Expression.h Examining data/eckit-1.13.1/src/eckit/value/TimeContent.h Examining data/eckit-1.13.1/src/eckit/value/Value.cc Examining data/eckit-1.13.1/src/eckit/value/DateTimeContent.cc Examining data/eckit-1.13.1/src/eckit/value/MapContent.cc Examining data/eckit-1.13.1/src/eckit/value/Content.cc Examining data/eckit-1.13.1/src/eckit/value/DoubleContent.h Examining data/eckit-1.13.1/src/eckit/value/Properties.h Examining data/eckit-1.13.1/src/eckit/value/OrderedMapContent.cc Examining data/eckit-1.13.1/src/eckit/value/StringContent.cc Examining data/eckit-1.13.1/src/eckit/value/MapContent.h Examining data/eckit-1.13.1/src/eckit/value/BoolContent.h Examining data/eckit-1.13.1/src/eckit/value/TimeContent.cc Examining data/eckit-1.13.1/src/eckit/value/DispatchParams.h Examining data/eckit-1.13.1/src/eckit/value/DateContent.cc Examining data/eckit-1.13.1/src/eckit/value/ScopeParams.h Examining data/eckit-1.13.1/src/eckit/value/ScopeParams.cc Examining data/eckit-1.13.1/src/eckit/value/DateContent.h Examining data/eckit-1.13.1/src/eckit/value/CompositeParams.cc Examining data/eckit-1.13.1/src/eckit/value/ListContent.cc Examining data/eckit-1.13.1/src/eckit/value/StringContent.h Examining data/eckit-1.13.1/src/eckit/value/NilContent.h Examining data/eckit-1.13.1/src/eckit/value/NilContent.cc Examining data/eckit-1.13.1/src/eckit/value/CompositeParams.h Examining data/eckit-1.13.1/src/eckit/value/Params.h Examining data/eckit-1.13.1/src/eckit/value/Params.cc Examining data/eckit-1.13.1/src/eckit/value/BoolContent.cc Examining data/eckit-1.13.1/src/eckit/value/Properties.cc Examining data/eckit-1.13.1/src/eckit/value/NumberContent.h Examining data/eckit-1.13.1/src/eckit/value/DateTimeContent.h Examining data/eckit-1.13.1/src/eckit/value/Content.h Examining data/eckit-1.13.1/src/eckit/value/Value.h Examining data/eckit-1.13.1/src/eckit/value/OrderedMapContent.h Examining data/eckit-1.13.1/src/eckit/value/NumberContent.cc Examining data/eckit-1.13.1/src/eckit/value/DoubleContent.cc Examining data/eckit-1.13.1/src/eckit/value/ListContent.h Examining data/eckit-1.13.1/src/eckit/mpi/DataType.h Examining data/eckit-1.13.1/src/eckit/mpi/Parallel.cc Examining data/eckit-1.13.1/src/eckit/mpi/SerialRequest.cc Examining data/eckit-1.13.1/src/eckit/mpi/SerialStatus.cc Examining data/eckit-1.13.1/src/eckit/mpi/Request.cc Examining data/eckit-1.13.1/src/eckit/mpi/Serial.cc Examining data/eckit-1.13.1/src/eckit/mpi/ParallelRequest.cc Examining data/eckit-1.13.1/src/eckit/mpi/ParallelStatus.h Examining data/eckit-1.13.1/src/eckit/mpi/Operation.h Examining data/eckit-1.13.1/src/eckit/mpi/Status.h Examining data/eckit-1.13.1/src/eckit/mpi/Parallel.h Examining data/eckit-1.13.1/src/eckit/mpi/Request.h Examining data/eckit-1.13.1/src/eckit/mpi/Comm.cc Examining data/eckit-1.13.1/src/eckit/mpi/DataType.cc Examining data/eckit-1.13.1/src/eckit/mpi/Buffer.h Examining data/eckit-1.13.1/src/eckit/mpi/SerialStatus.h Examining data/eckit-1.13.1/src/eckit/mpi/ParallelStatus.cc Examining data/eckit-1.13.1/src/eckit/mpi/SerialRequest.h Examining data/eckit-1.13.1/src/eckit/mpi/Serial.h Examining data/eckit-1.13.1/src/eckit/mpi/Comm.h Examining data/eckit-1.13.1/src/eckit/mpi/ParallelRequest.h Examining data/eckit-1.13.1/src/eckit/mpi/SerialData.h Examining data/eckit-1.13.1/src/eckit/mpi/Status.cc Examining data/eckit-1.13.1/src/eckit/mpi/Operation.cc Examining data/eckit-1.13.1/src/eckit/log/ProgressTimer.cc Examining data/eckit-1.13.1/src/eckit/log/Channel.cc Examining data/eckit-1.13.1/src/eckit/log/TimeStampTarget.h Examining data/eckit-1.13.1/src/eckit/log/Colour.cc Examining data/eckit-1.13.1/src/eckit/log/WrapperTarget.h Examining data/eckit-1.13.1/src/eckit/log/LogTarget.h Examining data/eckit-1.13.1/src/eckit/log/MessageTarget.h Examining data/eckit-1.13.1/src/eckit/log/ChannelBuffer.h Examining data/eckit-1.13.1/src/eckit/log/ColouringTarget.h Examining data/eckit-1.13.1/src/eckit/log/WrapperTarget.cc Examining data/eckit-1.13.1/src/eckit/log/JSON.h Examining data/eckit-1.13.1/src/eckit/log/UserChannel.h Examining data/eckit-1.13.1/src/eckit/log/Seconds.cc Examining data/eckit-1.13.1/src/eckit/log/ETA.cc Examining data/eckit-1.13.1/src/eckit/log/BigNum.cc Examining data/eckit-1.13.1/src/eckit/log/ResourceUsage.cc Examining data/eckit-1.13.1/src/eckit/log/Log.h Examining data/eckit-1.13.1/src/eckit/log/StatusTarget.cc Examining data/eckit-1.13.1/src/eckit/log/SavedStatus.cc Examining data/eckit-1.13.1/src/eckit/log/FileTarget.cc Examining data/eckit-1.13.1/src/eckit/log/TraceTimer.h Examining data/eckit-1.13.1/src/eckit/log/LineBasedTarget.h Examining data/eckit-1.13.1/src/eckit/log/ProgressTimer.h Examining data/eckit-1.13.1/src/eckit/log/OStreamTarget.h Examining data/eckit-1.13.1/src/eckit/log/Progress.cc Examining data/eckit-1.13.1/src/eckit/log/Seconds.h Examining data/eckit-1.13.1/src/eckit/log/SysLog.h Examining data/eckit-1.13.1/src/eckit/log/StatusTarget.h Examining data/eckit-1.13.1/src/eckit/log/SysLog.cc Examining data/eckit-1.13.1/src/eckit/log/ETA.h Examining data/eckit-1.13.1/src/eckit/log/Statistics.cc Examining data/eckit-1.13.1/src/eckit/log/IndentTarget.h Examining data/eckit-1.13.1/src/eckit/log/RotationTarget.h Examining data/eckit-1.13.1/src/eckit/log/OStreamTarget.cc Examining data/eckit-1.13.1/src/eckit/log/CodeLocation.h Examining data/eckit-1.13.1/src/eckit/log/PrefixTarget.h Examining data/eckit-1.13.1/src/eckit/log/Log.cc Examining data/eckit-1.13.1/src/eckit/log/IndentTarget.cc Examining data/eckit-1.13.1/src/eckit/log/ColouringTarget.cc Examining data/eckit-1.13.1/src/eckit/log/TimeStamp.cc Examining data/eckit-1.13.1/src/eckit/log/LogTarget.cc Examining data/eckit-1.13.1/src/eckit/log/Bytes.cc Examining data/eckit-1.13.1/src/eckit/log/PrefixTarget.cc Examining data/eckit-1.13.1/src/eckit/log/CodeLocation.cc Examining data/eckit-1.13.1/src/eckit/log/Bytes.h Examining data/eckit-1.13.1/src/eckit/log/MonitorTarget.cc Examining data/eckit-1.13.1/src/eckit/log/BigNum.h Examining data/eckit-1.13.1/src/eckit/log/Number.cc Examining data/eckit-1.13.1/src/eckit/log/Timer.h Examining data/eckit-1.13.1/src/eckit/log/Channel.h Examining data/eckit-1.13.1/src/eckit/log/Timer.cc Examining data/eckit-1.13.1/src/eckit/log/Colour.h Examining data/eckit-1.13.1/src/eckit/log/ResourceUsage.h Examining data/eckit-1.13.1/src/eckit/log/CallbackTarget.h Examining data/eckit-1.13.1/src/eckit/log/Statistics.h Examining data/eckit-1.13.1/src/eckit/log/Progress.h Examining data/eckit-1.13.1/src/eckit/log/TeeTarget.cc Examining data/eckit-1.13.1/src/eckit/log/LineBasedTarget.cc Examining data/eckit-1.13.1/src/eckit/log/TimeStamp.h Examining data/eckit-1.13.1/src/eckit/log/SavedStatus.h Examining data/eckit-1.13.1/src/eckit/log/Plural.h Examining data/eckit-1.13.1/src/eckit/log/TeeTarget.h Examining data/eckit-1.13.1/src/eckit/log/JSON.cc Examining data/eckit-1.13.1/src/eckit/log/ChannelBuffer.cc Examining data/eckit-1.13.1/src/eckit/log/MonitorTarget.h Examining data/eckit-1.13.1/src/eckit/log/Number.h Examining data/eckit-1.13.1/src/eckit/log/UserChannel.cc Examining data/eckit-1.13.1/src/eckit/log/RotationTarget.cc Examining data/eckit-1.13.1/src/eckit/log/MessageTarget.cc Examining data/eckit-1.13.1/src/eckit/log/TimeStampTarget.cc Examining data/eckit-1.13.1/src/eckit/log/FileTarget.h Examining data/eckit-1.13.1/src/eckit/log/CallbackTarget.cc Examining data/eckit-1.13.1/src/eckit/serialisation/ResizableMemoryStream.h Examining data/eckit-1.13.1/src/eckit/serialisation/PipeStream.cc Examining data/eckit-1.13.1/src/eckit/serialisation/Reanimator.cc Examining data/eckit-1.13.1/src/eckit/serialisation/Reanimator.h Examining data/eckit-1.13.1/src/eckit/serialisation/BadTag.h Examining data/eckit-1.13.1/src/eckit/serialisation/Streamable.cc Examining data/eckit-1.13.1/src/eckit/serialisation/Stream.cc Examining data/eckit-1.13.1/src/eckit/serialisation/HandleStream.h Examining data/eckit-1.13.1/src/eckit/serialisation/MemoryStream.h Examining data/eckit-1.13.1/src/eckit/serialisation/FstreamStream.h Examining data/eckit-1.13.1/src/eckit/serialisation/FileStream.cc Examining data/eckit-1.13.1/src/eckit/serialisation/Stream.h Examining data/eckit-1.13.1/src/eckit/serialisation/Streamable.h Examining data/eckit-1.13.1/src/eckit/serialisation/IfstreamStream.h Examining data/eckit-1.13.1/src/eckit/serialisation/ResizableMemoryStream.cc Examining data/eckit-1.13.1/src/eckit/serialisation/ReanimatorBase.cc Examining data/eckit-1.13.1/src/eckit/serialisation/BadTag.cc Examining data/eckit-1.13.1/src/eckit/serialisation/MemoryStream.cc Examining data/eckit-1.13.1/src/eckit/serialisation/FileStream.h Examining data/eckit-1.13.1/src/eckit/serialisation/PipeStream.h Examining data/eckit-1.13.1/src/eckit/cmd/AliasCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/EchoCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/StatusCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/CmdApplication.h Examining data/eckit-1.13.1/src/eckit/cmd/Arg.h Examining data/eckit-1.13.1/src/eckit/cmd/StartCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/SleepCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/MemoryCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/CmdResource.cc Examining data/eckit-1.13.1/src/eckit/cmd/PsCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/MemoryCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/CmdParser.h Examining data/eckit-1.13.1/src/eckit/cmd/ManCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/CmdArg.cc Examining data/eckit-1.13.1/src/eckit/cmd/KillCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCommander.h Examining data/eckit-1.13.1/src/eckit/cmd/LockCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/term.c Examining data/eckit-1.13.1/src/eckit/cmd/EchoCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/AliasCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/ConfigCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/HistoryCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/StartCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/DirCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/HistoryCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/TermBuf.cc Examining data/eckit-1.13.1/src/eckit/cmd/ExportCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCommandUser.cc Examining data/eckit-1.13.1/src/eckit/cmd/QuitCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/CmdParser.cc Examining data/eckit-1.13.1/src/eckit/cmd/UpTimeCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/UserInput.h Examining data/eckit-1.13.1/src/eckit/cmd/LibEcKitCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/StopCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCommander.cc Examining data/eckit-1.13.1/src/eckit/cmd/JSONCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/LockCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/TailCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/ManCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/CmdApplication.cc Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/PsCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/JSONCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/SleepCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCommandUser.h Examining data/eckit-1.13.1/src/eckit/cmd/QuitCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/ConfigCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/KillCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/LibEcKitCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCommandable.cc Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCommandable.h Examining data/eckit-1.13.1/src/eckit/cmd/StatusCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/TailCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/CmdResource.h Examining data/eckit-1.13.1/src/eckit/cmd/UserInput.cc Examining data/eckit-1.13.1/src/eckit/cmd/ExportCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/EnvironmentCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/Arg.cc Examining data/eckit-1.13.1/src/eckit/cmd/RemoteCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/StopCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/CmdArg.h Examining data/eckit-1.13.1/src/eckit/cmd/UpTimeCmd.h Examining data/eckit-1.13.1/src/eckit/cmd/TermBuf.h Examining data/eckit-1.13.1/src/eckit/cmd/cmdlib.h Examining data/eckit-1.13.1/src/eckit/cmd/EnvironmentCmd.cc Examining data/eckit-1.13.1/src/eckit/cmd/DirCmd.cc Examining data/eckit-1.13.1/src/eckit/system/Library.cc Examining data/eckit-1.13.1/src/eckit/system/SystemInfo.h Examining data/eckit-1.13.1/src/eckit/system/ResourceUsage.cc Examining data/eckit-1.13.1/src/eckit/system/SystemInfoFreeBSD.cc Examining data/eckit-1.13.1/src/eckit/system/MemoryInfo.cc Examining data/eckit-1.13.1/src/eckit/system/MemoryInfo.h Examining data/eckit-1.13.1/src/eckit/system/SystemInfo.cc Examining data/eckit-1.13.1/src/eckit/system/Library.h Examining data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.h Examining data/eckit-1.13.1/src/eckit/system/ResourceUsage.h Examining data/eckit-1.13.1/src/eckit/system/SystemInfoFreeBSD.h Examining data/eckit-1.13.1/src/eckit/system/SystemInfoMacOSX.cc Examining data/eckit-1.13.1/src/eckit/system/SystemInfoMacOSX.h Examining data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc Examining data/eckit-1.13.1/src/eckit/testing/Test.h Examining data/eckit-1.13.1/src/eckit/filesystem/PathExpander.cc Examining data/eckit-1.13.1/src/eckit/filesystem/LocalFileManager.h Examining data/eckit-1.13.1/src/eckit/filesystem/FileSpaceStrategies.cc Examining data/eckit-1.13.1/src/eckit/filesystem/PathName.h Examining data/eckit-1.13.1/src/eckit/filesystem/FileSpace.h Examining data/eckit-1.13.1/src/eckit/filesystem/LocalFileManager.cc Examining data/eckit-1.13.1/src/eckit/filesystem/FileMode.h Examining data/eckit-1.13.1/src/eckit/filesystem/TmpDir.cc Examining data/eckit-1.13.1/src/eckit/filesystem/BasePathNameT.h Examining data/eckit-1.13.1/src/eckit/filesystem/BasePathName.h Examining data/eckit-1.13.1/src/eckit/filesystem/TmpFile.h Examining data/eckit-1.13.1/src/eckit/filesystem/FileSystem.cc Examining data/eckit-1.13.1/src/eckit/filesystem/FileSpaceStrategies.h Examining data/eckit-1.13.1/src/eckit/filesystem/FileSystemSize.h Examining data/eckit-1.13.1/src/eckit/filesystem/PathName.cc Examining data/eckit-1.13.1/src/eckit/filesystem/TmpDir.h Examining data/eckit-1.13.1/src/eckit/filesystem/PathNameFactory.cc Examining data/eckit-1.13.1/src/eckit/filesystem/FileSystem.h Examining data/eckit-1.13.1/src/eckit/filesystem/TempFile.h Examining data/eckit-1.13.1/src/eckit/filesystem/PathExpander.h Examining data/eckit-1.13.1/src/eckit/filesystem/URIManager.cc Examining data/eckit-1.13.1/src/eckit/filesystem/PathNameFactory.h Examining data/eckit-1.13.1/src/eckit/filesystem/FileSpace.cc Examining data/eckit-1.13.1/src/eckit/filesystem/BasePathName.cc Examining data/eckit-1.13.1/src/eckit/filesystem/TempFile.cc Examining data/eckit-1.13.1/src/eckit/filesystem/TmpFile.cc Examining data/eckit-1.13.1/src/eckit/filesystem/URI.cc Examining data/eckit-1.13.1/src/eckit/filesystem/URIManager.h Examining data/eckit-1.13.1/src/eckit/filesystem/FileMode.cc Examining data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.h Examining data/eckit-1.13.1/src/eckit/filesystem/URI.h Examining data/eckit-1.13.1/src/eckit/filesystem/BasePathNameT.cc Examining data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc Examining data/eckit-1.13.1/src/eckit/bases/Loader.h Examining data/eckit-1.13.1/src/eckit/bases/Watcher.cc Examining data/eckit-1.13.1/src/eckit/bases/Watcher.h Examining data/eckit-1.13.1/src/eckit/bases/Loader.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraEigen.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraViennaCL.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebra.cc Examining data/eckit-1.13.1/src/eckit/linalg/Triplet.h Examining data/eckit-1.13.1/src/eckit/linalg/types.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraEigen.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraMKL.cc Examining data/eckit-1.13.1/src/eckit/linalg/Vector.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraCUDA.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraArmadillo.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraViennaCL.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraGeneric.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraArmadillo.h Examining data/eckit-1.13.1/src/eckit/linalg/Vector.h Examining data/eckit-1.13.1/src/eckit/linalg/Triplet.cc Examining data/eckit-1.13.1/src/eckit/linalg/Matrix.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraMKL.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraLAPACK.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraCUDA.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraLAPACK.h Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebra.h Examining data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc Examining data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.h Examining data/eckit-1.13.1/src/eckit/linalg/Matrix.cc Examining data/eckit-1.13.1/src/eckit/linalg/LinearAlgebraGeneric.h Examining data/eckit-1.13.1/src/eckit/option/VectorOption.cc Examining data/eckit-1.13.1/src/eckit/option/FactoryOption.h Examining data/eckit-1.13.1/src/eckit/option/SimpleOption.h Examining data/eckit-1.13.1/src/eckit/option/SimpleOption.cc Examining data/eckit-1.13.1/src/eckit/option/Separator.cc Examining data/eckit-1.13.1/src/eckit/option/CmdArgs.h Examining data/eckit-1.13.1/src/eckit/option/Separator.h Examining data/eckit-1.13.1/src/eckit/option/FactoryOption.cc Examining data/eckit-1.13.1/src/eckit/option/VectorOption.h Examining data/eckit-1.13.1/src/eckit/option/Option.h Examining data/eckit-1.13.1/src/eckit/option/Option.cc Examining data/eckit-1.13.1/src/eckit/option/CmdArgs.cc Examining data/eckit-1.13.1/src/eckit/exception/Exceptions.cc Examining data/eckit-1.13.1/src/eckit/exception/Exceptions.h Examining data/eckit-1.13.1/src/eckit/geometry/Point2.cc Examining data/eckit-1.13.1/src/eckit/geometry/UnitSphere.h Examining data/eckit-1.13.1/src/eckit/geometry/GreatCircle.cc Examining data/eckit-1.13.1/src/eckit/geometry/KPoint.cc Examining data/eckit-1.13.1/src/eckit/geometry/Sphere.cc Examining data/eckit-1.13.1/src/eckit/geometry/SphereT.h Examining data/eckit-1.13.1/src/eckit/geometry/Point2.h Examining data/eckit-1.13.1/src/eckit/geometry/Polygon.cc Examining data/eckit-1.13.1/src/eckit/geometry/EllipsoidOfRevolution.h Examining data/eckit-1.13.1/src/eckit/geometry/GreatCircle.h Examining data/eckit-1.13.1/src/eckit/geometry/Point3.cc Examining data/eckit-1.13.1/src/eckit/geometry/Sphere.h Examining data/eckit-1.13.1/src/eckit/geometry/EllipsoidOfRevolution.cc Examining data/eckit-1.13.1/src/eckit/geometry/Polygon.h Examining data/eckit-1.13.1/src/eckit/geometry/KPoint.h Examining data/eckit-1.13.1/src/eckit/geometry/Point3.h Examining data/eckit-1.13.1/src/eckit/runtime/Library.cc Examining data/eckit-1.13.1/src/eckit/runtime/Telemetry.h Examining data/eckit-1.13.1/src/eckit/runtime/Monitor.h Examining data/eckit-1.13.1/src/eckit/runtime/Tool.cc Examining data/eckit-1.13.1/src/eckit/runtime/Monitor.cc Examining data/eckit-1.13.1/src/eckit/runtime/Dispatcher.h Examining data/eckit-1.13.1/src/eckit/runtime/ProducerConsumer.h Examining data/eckit-1.13.1/src/eckit/runtime/SessionID.cc Examining data/eckit-1.13.1/src/eckit/runtime/Monitorable.h Examining data/eckit-1.13.1/src/eckit/runtime/Task.h Examining data/eckit-1.13.1/src/eckit/runtime/ProcessControler.h Examining data/eckit-1.13.1/src/eckit/runtime/Task.cc Examining data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc Examining data/eckit-1.13.1/src/eckit/runtime/Telemetry.cc Examining data/eckit-1.13.1/src/eckit/runtime/Main.cc Examining data/eckit-1.13.1/src/eckit/runtime/SessionID.h Examining data/eckit-1.13.1/src/eckit/runtime/TaskID.h Examining data/eckit-1.13.1/src/eckit/runtime/Application.cc Examining data/eckit-1.13.1/src/eckit/runtime/Tool.h Examining data/eckit-1.13.1/src/eckit/runtime/Library.h Examining data/eckit-1.13.1/src/eckit/runtime/PipeApplication.h Examining data/eckit-1.13.1/src/eckit/runtime/ProcessControler.cc Examining data/eckit-1.13.1/src/eckit/runtime/PipeHandler.h Examining data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h Examining data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc Examining data/eckit-1.13.1/src/eckit/runtime/Application.h Examining data/eckit-1.13.1/src/eckit/runtime/Monitorable.cc Examining data/eckit-1.13.1/src/eckit/runtime/Main.h Examining data/eckit-1.13.1/src/eckit/runtime/Pipe.h Examining data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc Examining data/eckit-1.13.1/src/sandbox/arg.cc Examining data/eckit-1.13.1/src/sandbox/tcp_server_threaded.cc Examining data/eckit-1.13.1/src/sandbox/mpiobjsend.cc Examining data/eckit-1.13.1/src/sandbox/udp_client.cc Examining data/eckit-1.13.1/src/sandbox/shint.cc Examining data/eckit-1.13.1/src/sandbox/mpmc.cc Examining data/eckit-1.13.1/src/sandbox/memsharedlimit.cc Examining data/eckit-1.13.1/src/sandbox/net.cc Examining data/eckit-1.13.1/src/sandbox/pipe.cc Examining data/eckit-1.13.1/src/sandbox/tcp_server_forked.cc Examining data/eckit-1.13.1/src/sandbox/tcp_client.cc Examining data/eckit-1.13.1/src/sandbox/udp_server.cc Examining data/eckit-1.13.1/src/sandbox/tcp_client_json.cc Examining data/eckit-1.13.1/src/sandbox/pool.cc Examining data/eckit-1.13.1/src/sandbox/tcp_server.cc Examining data/eckit-1.13.1/tests/types/test-double-compare-speed.cc Examining data/eckit-1.13.1/tests/types/test_doublecompare.cc Examining data/eckit-1.13.1/tests/types/test_cache.cc Examining data/eckit-1.13.1/tests/types/test_fixedstring.cc Examining data/eckit-1.13.1/tests/types/test_print_vector.cc Examining data/eckit-1.13.1/tests/types/test_fraction.cc Examining data/eckit-1.13.1/tests/types/test_floatcompare.cc Examining data/eckit-1.13.1/tests/types/test_uuid.cc Examining data/eckit-1.13.1/tests/container/benchmark_densemap.cc Examining data/eckit-1.13.1/tests/container/test_bloomfilter.cc Examining data/eckit-1.13.1/tests/container/test_trie.cc Examining data/eckit-1.13.1/tests/container/test_sharedmemarray.cc Examining data/eckit-1.13.1/tests/container/test_denseset.cc Examining data/eckit-1.13.1/tests/container/test_cache_lru.cc Examining data/eckit-1.13.1/tests/container/test_btree.cc Examining data/eckit-1.13.1/tests/container/test_densemap.cc Examining data/eckit-1.13.1/tests/utils/test_rendezvoushash.cc Examining data/eckit-1.13.1/tests/utils/hash-performance.cc Examining data/eckit-1.13.1/tests/utils/test_tokenizer.cc Examining data/eckit-1.13.1/tests/utils/test_translator.cc Examining data/eckit-1.13.1/tests/utils/test_hashing.cc Examining data/eckit-1.13.1/tests/utils/test_compressor.cc Examining data/eckit-1.13.1/tests/utils/test_rsync.cc Examining data/eckit-1.13.1/tests/utils/test_string_tools.cc Examining data/eckit-1.13.1/tests/utils/compression-performance.cc Examining data/eckit-1.13.1/tests/memory/test_shared_ptr.cc Examining data/eckit-1.13.1/tests/memory/test_memory_mmap.cc Examining data/eckit-1.13.1/tests/memory/test_counted.cc Examining data/eckit-1.13.1/tests/memory/test_scoped_ptr.cc Examining data/eckit-1.13.1/tests/memory/test_factory.cc Examining data/eckit-1.13.1/tests/maths/test_eigen.cc Examining data/eckit-1.13.1/tests/maths/test_matrix.cc Examining data/eckit-1.13.1/tests/thread/test_mutex.cc Examining data/eckit-1.13.1/tests/config/test_resource.cc Examining data/eckit-1.13.1/tests/config/test_configuration.cc Examining data/eckit-1.13.1/tests/experimental/singleton/TestBuilder2.cc Examining data/eckit-1.13.1/tests/experimental/singleton/TestFactory.cc Examining data/eckit-1.13.1/tests/experimental/singleton/TestBuilder1.cc Examining data/eckit-1.13.1/tests/experimental/singleton/TestFactory.h Examining data/eckit-1.13.1/tests/experimental/singleton/test_singleton.cc Examining data/eckit-1.13.1/tests/sql/test_simple_functions.cc Examining data/eckit-1.13.1/tests/sql/test_select.cc Examining data/eckit-1.13.1/tests/parser/test_stream_parser.cc Examining data/eckit-1.13.1/tests/parser/test_json.cc Examining data/eckit-1.13.1/tests/parser/test_yaml.cc Examining data/eckit-1.13.1/tests/parser/test_json_metadata.cc Examining data/eckit-1.13.1/tests/parser/test_csv.cc Examining data/eckit-1.13.1/tests/io/test_bitio.cc Examining data/eckit-1.13.1/tests/io/test_multihandle.cc Examining data/eckit-1.13.1/tests/io/test_pooledfile.cc Examining data/eckit-1.13.1/tests/io/test_base64.cc Examining data/eckit-1.13.1/tests/io/test_filepool.cc Examining data/eckit-1.13.1/tests/io/test_circularbuffer.cc Examining data/eckit-1.13.1/tests/io/rados-performance.cc Examining data/eckit-1.13.1/tests/io/test_pooledhandle.cc Examining data/eckit-1.13.1/tests/io/test_radoshandle.cc Examining data/eckit-1.13.1/tests/io/test_partfilehandle.cc Examining data/eckit-1.13.1/tests/io/test_compress.cc Examining data/eckit-1.13.1/tests/io/test_urlhandle.cc Examining data/eckit-1.13.1/tests/value/test_value_boolean.cc Examining data/eckit-1.13.1/tests/value/test_value_integer.cc Examining data/eckit-1.13.1/tests/value/test_value_date.cc Examining data/eckit-1.13.1/tests/value/test_value_params.cc Examining data/eckit-1.13.1/tests/value/test_value_nil.cc Examining data/eckit-1.13.1/tests/value/test_value_helper.h Examining data/eckit-1.13.1/tests/value/test_value_typeordering.cc Examining data/eckit-1.13.1/tests/value/test_value_valuelist.cc Examining data/eckit-1.13.1/tests/value/test_value_properties.cc Examining data/eckit-1.13.1/tests/value/test_value_string.cc Examining data/eckit-1.13.1/tests/value/test_value_valuemap.cc Examining data/eckit-1.13.1/tests/value/test_value_orderedmap.cc Examining data/eckit-1.13.1/tests/value/AnyKeyParams.h Examining data/eckit-1.13.1/tests/value/test_value_const.cc Examining data/eckit-1.13.1/tests/value/AnyKeyParams.cc Examining data/eckit-1.13.1/tests/value/test_value_double.cc Examining data/eckit-1.13.1/tests/large_file/test_large_file.cc Examining data/eckit-1.13.1/tests/mpi/eckit_test_mpi_objserialisation.cc Examining data/eckit-1.13.1/tests/mpi/eckit_test_mpi.cc Examining data/eckit-1.13.1/tests/mpi/eckit_test_mpi_addcomm.cc Examining data/eckit-1.13.1/tests/mpi/eckit_test_mpi_splitcomm.cc Examining data/eckit-1.13.1/tests/mpi/eckit_test_mpi_internal_access.cc Examining data/eckit-1.13.1/tests/log/test_log_channels.cc Examining data/eckit-1.13.1/tests/log/test_log_threads.cc Examining data/eckit-1.13.1/tests/log/test_log_user_channels.cc Examining data/eckit-1.13.1/tests/log/test_log_callback.cc Examining data/eckit-1.13.1/tests/log/test_log.cc Examining data/eckit-1.13.1/tests/log/test_colour.cc Examining data/eckit-1.13.1/tests/serialisation/test_file_stream.cc Examining data/eckit-1.13.1/tests/serialisation/test_streamable.cc Examining data/eckit-1.13.1/tests/system/test_system_library.cc Examining data/eckit-1.13.1/tests/testing/test_testing.cc Examining data/eckit-1.13.1/tests/filesystem/test_restarthandle.cc Examining data/eckit-1.13.1/tests/filesystem/test_atomic_file_update.cc Examining data/eckit-1.13.1/tests/filesystem/test_aiohandle.cc Examining data/eckit-1.13.1/tests/filesystem/test_pathexpander.cc Examining data/eckit-1.13.1/tests/filesystem/test_uri.cc Examining data/eckit-1.13.1/tests/filesystem/test_pathname.cc Examining data/eckit-1.13.1/tests/filesystem/test_localpathname.cc Examining data/eckit-1.13.1/tests/filesystem/test_asynchandle.cc Examining data/eckit-1.13.1/tests/filesystem/test_filemode.cc Examining data/eckit-1.13.1/tests/linalg/test_la_streaming.cc Examining data/eckit-1.13.1/tests/linalg/test_la_sparse.cc Examining data/eckit-1.13.1/tests/linalg/test_la_factory.cc Examining data/eckit-1.13.1/tests/linalg/test_la_linalg.cc Examining data/eckit-1.13.1/tests/linalg/util.h Examining data/eckit-1.13.1/tests/option/eckit_test_option_cmdargs.cc Examining data/eckit-1.13.1/tests/option/eckit_test_option_factory.cc Examining data/eckit-1.13.1/tests/geometry/test_kpoint.cc Examining data/eckit-1.13.1/tests/geometry/test_kdtree.cc Examining data/eckit-1.13.1/tests/geometry/test_points.cc Examining data/eckit-1.13.1/tests/geometry/test_sphere.cc Examining data/eckit-1.13.1/tests/geometry/test_polygon.cc Examining data/eckit-1.13.1/tests/geometry/test_great_circle.cc Examining data/eckit-1.13.1/tests/runtime/test_context.cc Examining data/eckit-1.13.1/tests/runtime/test_telemetry.cc Examining data/eckit-1.13.1/tests/runtime/test_producer.cc FINAL RESULTS: data/eckit-1.13.1/src/eckit/container/CacheManager.h:290:19: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. SYSCALL(::chmod(tmpfile.asString().c_str(), 0444)); data/eckit-1.13.1/src/eckit/filesystem/BasePathName.h:54:18: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. virtual void chmod(const FileMode& mode) const = 0; data/eckit-1.13.1/src/eckit/filesystem/BasePathNameT.cc:117:24: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. void BasePathNameT<T>::chmod(const FileMode& mode) const { data/eckit-1.13.1/src/eckit/filesystem/BasePathNameT.cc:118:11: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. path_.chmod(mode.mode()); data/eckit-1.13.1/src/eckit/filesystem/BasePathNameT.h:72:18: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. virtual void chmod(const FileMode& mode) const; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:307:21: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. void LocalPathName::chmod(short mode) const { data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:308:15: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. SYSCALL(::chmod(path_.c_str(), mode)); data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.h:185:10: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. void chmod(short mode) const; data/eckit-1.13.1/src/eckit/filesystem/PathName.cc:117:16: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. void PathName::chmod(const FileMode& mode) const { data/eckit-1.13.1/src/eckit/filesystem/PathName.cc:118:12: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. path_->chmod(mode); data/eckit-1.13.1/src/eckit/filesystem/PathName.h:172:10: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. void chmod(const FileMode& mode) const; data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:41:30: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. ssize_t size = SYSCALL(::readlink("/proc/self/exe", buffer, buffer.size())); data/eckit-1.13.1/tests/filesystem/test_filemode.cc:155:7: [5] (race) chmod: This accepts filename arguments; if an attacker can move those files, a race condition results. (CWE-362). Use fchmod( ) instead. p.chmod(m); data/eckit-1.13.1/src/eckit/cmd/CmdParser.cc:228:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. ret = ::system(s.c_str()); data/eckit-1.13.1/src/eckit/cmd/CmdParser.cc:230:17: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. ret = ::system("$SHELL"); data/eckit-1.13.1/src/eckit/cmd/LibEcKitCmd.h:23:35: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. class LibEcKitCmd : public eckit::system::Library { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:128:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buffer, "\r%s%s\033[0K\r\033[%luC", s->prompt, s->curr->edit, strlen(s->prompt) + s->pos); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:136:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(e->edit, e->line); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:162:9: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(s->curr->edit, old); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:395:13: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(s->clipboard, s->curr->edit + s->pos); data/eckit-1.13.1/src/eckit/config/LibEcKit.h:26:32: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. class LibEcKit : public eckit::system::Library { data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc:196:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf1, "%s.%s.%s", owner_.c_str(), kind_.c_str(), name_.c_str()); data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc:197:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(buf2, "%s.%s.%s", other.owner_.c_str(), other.kind_.c_str(), other.name_.c_str()); data/eckit-1.13.1/src/eckit/container/Cache.h:58:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. V& access() data/eckit-1.13.1/src/eckit/container/Cache.h:205:19: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. v = e.access(); data/eckit-1.13.1/src/eckit/container/CacheLRU.cc:48:19: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. V CacheLRU<K, V>::access(const key_type& key) { data/eckit-1.13.1/src/eckit/container/CacheLRU.h:70:16: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. value_type access(const key_type& key); data/eckit-1.13.1/src/eckit/container/CacheManager.cc:288:15: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return (::access(path.asString().c_str(), W_OK) == 0); data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:219:14: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return ::access(path_.c_str(), F_OK) == 0; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:248:14: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. while (::access(name.c_str(), F_OK) == 0) { data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:287:11: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). ::strcpy(path, path_.c_str()); data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:404:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (eckit::system::Library::exists(s)) { data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:405:31: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. path = eckit::system::Library::lookup(s).expandPath(path); data/eckit-1.13.1/src/eckit/filesystem/TmpFile.cc:29:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(path, "%s/eckitXXXXXXXXXXX", tmpdir); data/eckit-1.13.1/src/eckit/io/CommandStream.cc:22:81: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. CommandStream::CommandStream(const std::string& name, const char* mode) : file_(popen(name.c_str(), mode)) { data/eckit-1.13.1/src/eckit/io/PipeHandle.cc:45:15: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. file_ = ::popen(name_.c_str(), mode); data/eckit-1.13.1/src/eckit/io/StdPipe.cc:20:15: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. file_ = ::popen(name.c_str(), mode.c_str()); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:222:38: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::string shmpath = eckit::system::SystemInfo::instance().userName() + "-etc-cluster-disks"; data/eckit-1.13.1/src/eckit/log/Log.cc:235:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:237:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().setStream(out); data/eckit-1.13.1/src/eckit/log/Log.cc:247:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:249:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().addStream(out); data/eckit-1.13.1/src/eckit/log/Log.cc:263:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:265:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().setTarget(file); data/eckit-1.13.1/src/eckit/log/Log.cc:278:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:280:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().addTarget(file); data/eckit-1.13.1/src/eckit/log/Log.cc:292:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:294:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. if (system::Library::lookup(*libname).debugChannel()) { data/eckit-1.13.1/src/eckit/log/Log.cc:295:13: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().setCallback(cb, data); data/eckit-1.13.1/src/eckit/log/Log.cc:307:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:309:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().addCallback(cb, data); data/eckit-1.13.1/src/eckit/log/Log.cc:318:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:320:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().flush(); data/eckit-1.13.1/src/eckit/log/Log.cc:329:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:331:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::lookup(*libname).debugChannel().reset(); data/eckit-1.13.1/src/eckit/log/Log.cc:340:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::vector<std::string> libs = eckit::system::Library::list(); data/eckit-1.13.1/src/eckit/log/Log.cc:342:42: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. os << *libname << ".debug() " << system::Library::lookup(*libname).debugChannel() << std::endl; data/eckit-1.13.1/src/eckit/log/ResourceUsage.cc:42:28: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. using namespace eckit::system; data/eckit-1.13.1/src/eckit/log/ResourceUsage.cc:53:28: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. using namespace eckit::system; data/eckit-1.13.1/src/eckit/log/ResourceUsage.h:51:5: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::MemoryInfo usage_; data/eckit-1.13.1/src/eckit/memory/MemoryBuffer.cc:50:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). ::strcpy(static_cast<char*>(buffer_), s.c_str()); data/eckit-1.13.1/src/eckit/runtime/Main.cc:102:39: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::string execHome = eckit::system::SystemInfo::instance().executablePath().dirName().dirName(); data/eckit-1.13.1/src/eckit/runtime/Main.cc:114:9: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. system::Library::load(library); data/eckit-1.13.1/src/eckit/runtime/Monitor.cc:98:38: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. std::string shmpath = eckit::system::SystemInfo::instance().userName() + "-etc-monitor"; data/eckit-1.13.1/src/eckit/runtime/Monitor.cc:377:15: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. SYSCALL(::system(s.c_str())); data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:205:11: [4] (shell) execlp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. ::execlp(getenv("PIPE_DEBUG"), getenv("PIPE_DEBUG"), data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:222:7: [4] (shell) execlp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. ::execlp(command, basename, "-in", in, "-out", out, "-parent", par, nullptr); data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:201:11: [4] (shell) execlp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. ::execlp(getenv("PIPE_DEBUG"),getenv("PIPE_DEBUG"), data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:218:7: [4] (shell) execlp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. ::execlp(command, basename, "-in", in, "-out", out, "-parent", par, nullptr); data/eckit-1.13.1/src/eckit/runtime/ProcessControler.cc:224:12: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. return access(buf, F_OK) == 0; data/eckit-1.13.1/src/eckit/system/Library.cc:37:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/Library.h:31:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/Library.h:114:19: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. static eckit::system::LibraryRegistration<X> libregist; \ data/eckit-1.13.1/src/eckit/system/MemoryInfo.cc:26:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/MemoryInfo.h:22:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/ResourceUsage.cc:27:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/ResourceUsage.h:22:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfo.cc:45:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfo.cc:49:47: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. SystemInfo* makeSystemInfo(const std::string& system) { data/eckit-1.13.1/src/eckit/system/SystemInfo.h:25:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfoFreeBSD.cc:34:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfoFreeBSD.h:24:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:33:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.h:23:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfoMacOSX.cc:28:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/src/eckit/system/SystemInfoMacOSX.h:23:11: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. namespace system { data/eckit-1.13.1/tests/container/test_cache_lru.cc:54:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("aaa") == 10); data/eckit-1.13.1/tests/container/test_cache_lru.cc:55:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ddd") == 40); data/eckit-1.13.1/tests/container/test_cache_lru.cc:69:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("eee") == 50); data/eckit-1.13.1/tests/container/test_cache_lru.cc:70:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("bbb") == 20); data/eckit-1.13.1/tests/container/test_cache_lru.cc:71:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ccc") == 30); data/eckit-1.13.1/tests/container/test_cache_lru.cc:73:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("ddd"), eckit::OutOfRange); data/eckit-1.13.1/tests/container/test_cache_lru.cc:74:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("aaa"), eckit::OutOfRange); data/eckit-1.13.1/tests/container/test_cache_lru.cc:93:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("aaa") == 10); data/eckit-1.13.1/tests/container/test_cache_lru.cc:94:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("bbb") == 20); data/eckit-1.13.1/tests/container/test_cache_lru.cc:95:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ccc") == 30); data/eckit-1.13.1/tests/container/test_cache_lru.cc:96:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ddd") == 40); data/eckit-1.13.1/tests/container/test_cache_lru.cc:97:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("eee") == 50); data/eckit-1.13.1/tests/container/test_cache_lru.cc:111:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("aaa"), eckit::OutOfRange); data/eckit-1.13.1/tests/container/test_cache_lru.cc:112:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("bbb"), eckit::OutOfRange); data/eckit-1.13.1/tests/container/test_cache_lru.cc:113:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ccc") == 30); data/eckit-1.13.1/tests/container/test_cache_lru.cc:114:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ddd") == 40); data/eckit-1.13.1/tests/container/test_cache_lru.cc:115:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("eee") == 50); data/eckit-1.13.1/tests/container/test_cache_lru.cc:126:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("ccc"), eckit::OutOfRange); data/eckit-1.13.1/tests/container/test_cache_lru.cc:127:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("ddd") == 40); data/eckit-1.13.1/tests/container/test_cache_lru.cc:128:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT(cache.access("eee") == 50); data/eckit-1.13.1/tests/container/test_cache_lru.cc:137:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("ddd"), eckit::OutOfRange); data/eckit-1.13.1/tests/container/test_cache_lru.cc:147:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. EXPECT_THROWS_AS(cache.access("eee"), eckit::OutOfRange); data/eckit-1.13.1/tests/system/test_system_library.cc:38:25: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t before = system::ResourceUsage().maxResidentSetSize(); data/eckit-1.13.1/tests/system/test_system_library.cc:43:24: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t after = system::ResourceUsage().maxResidentSetSize(); data/eckit-1.13.1/tests/system/test_system_library.cc:55:39: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. EXPECT_NO_THROW(execPath = eckit::system::SystemInfo::instance().executablePath()); data/eckit-1.13.1/tests/system/test_system_library.cc:62:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. using eckit::system::Library; data/eckit-1.13.1/tests/system/test_system_library.cc:92:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. using eckit::system::Library; data/eckit-1.13.1/tests/system/test_system_library.cc:100:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. using eckit::system::Library; data/eckit-1.13.1/tests/system/test_system_library.cc:107:18: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. using eckit::system::Library; data/eckit-1.13.1/src/eckit/config/ResourceBase.cc:97:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* p = ::getenv(environment_.c_str() + 1); data/eckit-1.13.1/src/eckit/config/ResourceBase.cc:137:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* p = getenv(environment_.c_str() + 1); data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:36:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("ECKIT_EXCEPTION_DUMPS_BACKTRACE")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:69:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("ECKIT_EXCEPTION_DUMPS_BACKTRACE")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:73:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_EXCEPTION_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:98:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_EXCEPTION_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:165:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_SERIOUS_BUG_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:176:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_SERIOUS_BUG_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:187:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_SERIOUS_BUG_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:195:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_ASSERT_FAILED_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:205:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("ECKIT_ASSERT_ABORTS")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:216:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_ASSERT_FAILED_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:226:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("ECKIT_ASSERT_ABORTS")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:238:12: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!::getenv("ECKIT_ASSERT_FAILED_IS_SILENT")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:248:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("ECKIT_ASSERT_ABORTS")) { data/eckit-1.13.1/src/eckit/exception/Exceptions.cc:398:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("STOP_ON_PANIC")) { data/eckit-1.13.1/src/eckit/filesystem/FileSpace.cc:143:7: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ::srandom(static_cast<unsigned>(::getpid())); data/eckit-1.13.1/src/eckit/filesystem/FileSpaceStrategies.cc:296:29: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. double choice = (double(random()) / double(RAND_MAX)); data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:785:12: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (!::realpath(c_str(), result)) data/eckit-1.13.1/src/eckit/filesystem/PathExpander.cc:131:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* e = ::getenv(param.c_str()); data/eckit-1.13.1/src/eckit/filesystem/TmpFile.cc:21:28: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* tmpdir = ::getenv("TMPDIR"); data/eckit-1.13.1/src/eckit/linalg/LinearAlgebra.cc:43:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* envBackend = ::getenv("ECKIT_LINEAR_ALGEBRA_BACKEND"); data/eckit-1.13.1/src/eckit/log/Log.cc:163:25: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* e = getenv("DEBUG"); data/eckit-1.13.1/src/eckit/mpi/Comm.cc:40:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* forcedComm = ::getenv("ECKIT_MPI_FORCE")) { data/eckit-1.13.1/src/eckit/mpi/Comm.cc:44:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. else if (have_parallel() && (::getenv("OMPI_COMM_WORLD_SIZE") || // OpenMPI data/eckit-1.13.1/src/eckit/mpi/Comm.cc:45:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::getenv("ALPS_APP_PE") || // Cray PE data/eckit-1.13.1/src/eckit/mpi/Comm.cc:46:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::getenv("PMI_SIZE") || // Intel data/eckit-1.13.1/src/eckit/mpi/Comm.cc:47:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::getenv("SLURM_NTASKS"))) { // slurm srun data/eckit-1.13.1/src/eckit/runtime/Main.cc:50:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (::getenv("MAIN_DEBUG")) { data/eckit-1.13.1/src/eckit/runtime/Main.cc:51:59: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. debug_ = eckit::Translator<std::string, bool>()(::getenv("MAIN_DEBUG")); data/eckit-1.13.1/src/eckit/runtime/Main.cc:93:7: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ::srand(::getpid() + ::time(0)); data/eckit-1.13.1/src/eckit/runtime/Main.cc:94:7: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ::srandom(::getpid() + ::time(0)); data/eckit-1.13.1/src/eckit/runtime/Main.cc:96:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* home = homeenv ? ::getenv(homeenv) : nullptr; data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:53:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("PIPE_DEBUG")) { data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:56:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (Application::name() == getenv("PIPE_DEBUG")) { data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:204:9: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (getenv("PIPE_DEBUG")) { data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:205:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::execlp(getenv("PIPE_DEBUG"), getenv("PIPE_DEBUG"), data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:205:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::execlp(getenv("PIPE_DEBUG"), getenv("PIPE_DEBUG"), data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:208:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. std::cerr << "Exec failed " << getenv("PIPE_DEBUG") << Log::syserr << std::endl; data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:199:8: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if(getenv("PIPE_DEBUG")) data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:201:18: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::execlp(getenv("PIPE_DEBUG"),getenv("PIPE_DEBUG"), data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:201:39: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. ::execlp(getenv("PIPE_DEBUG"),getenv("PIPE_DEBUG"), data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:204:40: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. std::cerr << "Exec failed " << getenv("PIPE_DEBUG") << Log::syserr << std::endl; data/eckit-1.13.1/src/eckit/runtime/Telemetry.cc:105:26: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* config_str = ::getenv("TELEMETRY_CONFIG"); data/eckit-1.13.1/src/eckit/system/Library.cc:191:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* e = ::getenv(s.c_str()); data/eckit-1.13.1/src/eckit/system/Library.cc:197:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. e = ::getenv("DEBUG"); data/eckit-1.13.1/src/eckit/system/Library.cc:224:29: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* home = ::getenv(libhome.c_str()); data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:80:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. static const char* debug = getenv("ECKIT_SYSINFO_DEBUG"); data/eckit-1.13.1/src/eckit/testing/Test.h:57:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. oldValue_ = ::getenv(key_); data/eckit-1.13.1/src/eckit/testing/Test.h:321:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (not ::getenv("ECKIT_COLOUR_OUTPUT")) { data/eckit-1.13.1/src/eckit/testing/Test.h:327:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (not ::getenv("ECKIT_EXCEPTION_IS_SILENT")) { data/eckit-1.13.1/src/eckit/testing/Test.h:333:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (not ::getenv("ECKIT_ASSERT_FAILED_IS_SILENT")) { data/eckit-1.13.1/src/eckit/testing/Test.h:339:15: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (not ::getenv("ECKIT_SERIOUS_BUG_IS_SILENT")) { data/eckit-1.13.1/src/eckit/types/DateTime.cc:44:73: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. << "Check your LANG variable - current value: " << getenv("LANG") << std::endl; data/eckit-1.13.1/src/eckit/types/UUID.cc:96:20: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/eckit-1.13.1/src/eckit/types/UUID.cc:106:20: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. is.setstate(std::ios_base::failbit); data/eckit-1.13.1/src/sandbox/memsharedlimit.cc:144:11: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ::srandom(unsigned(::getpid()) + unsigned(::time(nullptr))); data/eckit-1.13.1/src/sandbox/memsharedlimit.cc:154:67: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. size_t mem = 1024 * 1024 * (1 + ::lround(5 * double(::random()) / double(RAND_MAX))); data/eckit-1.13.1/src/sandbox/memsharedlimit.cc:162:42: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. double ms = 1000 * (double(::random()) / double(RAND_MAX)); data/eckit-1.13.1/src/sandbox/shint.cc:23:11: [3] (random) srandom: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. ::srandom(unsigned(::getpid()) + unsigned(::time(nullptr))); data/eckit-1.13.1/src/sandbox/shint.cc:41:42: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. double ms = 1000 * (double(::random()) / double(RAND_MAX)); data/eckit-1.13.1/tests/filesystem/test_pathexpander.cc:34:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* e = ::getenv("CURRENT_TEST_DIR"); data/eckit-1.13.1/tests/filesystem/test_pathexpander.cc:63:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* e = ::getenv("CURRENT_TEST_DIR"); data/eckit-1.13.1/regressions/ECKIT-175.cc:73:21: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int test = std::atoi(argv[1]); data/eckit-1.13.1/src/eckit/cmd/CmdParser.cc:127:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char l[102400]; data/eckit-1.13.1/src/eckit/cmd/CmdParser.cc:299:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). int idx = atoi(p); data/eckit-1.13.1/src/eckit/cmd/DirCmd.cc:47:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[PATH_MAX]; data/eckit-1.13.1/src/eckit/cmd/RemoteCmd.cc:78:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024 * 4]; data/eckit-1.13.1/src/eckit/cmd/TailCmd.cc:67:12: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char buffer[10240]; data/eckit-1.13.1/src/eckit/cmd/TermBuf.h:52:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer_[1024]; data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:243:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:305:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char insert[10240]; data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:534:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* f = ::fopen(path, "w"); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:561:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[10240]; data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:562:17: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* f = ::fopen(path, "r"); data/eckit-1.13.1/src/eckit/config/EtcTable.cc:107:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc:117:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc:193:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf1[1024]; data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc:194:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf2[1024]; data/eckit-1.13.1/src/eckit/container/BTree.cc:64:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file_.open(); data/eckit-1.13.1/src/eckit/container/BTree.cc:531:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&p, (*j).second.page_, sizeof(Page)); data/eckit-1.13.1/src/eckit/container/BTree.cc:540:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(q, &p, sizeof(Page)); data/eckit-1.13.1/src/eckit/container/BTree.cc:565:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((*j).second.page_, &p, sizeof(Page)); data/eckit-1.13.1/src/eckit/container/BTree.cc:573:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(q, &p, sizeof(Page)); data/eckit-1.13.1/src/eckit/container/BTree.cc:611:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(q, &p, sizeof(Page)); data/eckit-1.13.1/src/eckit/container/BloomFilter.cc:78:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char md5_buf[16]; data/eckit-1.13.1/src/eckit/container/CacheManager.h:286:69: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). bool CacheManager<Traits>::commit(const key_t& key, const PathName& tmpfile, const PathName& root) const data/eckit-1.13.1/src/eckit/container/CacheManager.h:290:25: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). SYSCALL(::chmod(tmpfile.asString().c_str(), 0444)); data/eckit-1.13.1/src/eckit/container/CacheManager.h:291:27: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). PathName::rename( tmpfile, file ); data/eckit-1.13.1/src/eckit/container/KDMapped.cc:49:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL(fd_ = ::open(path.localPath(), oflags, 0777)); data/eckit-1.13.1/src/eckit/container/KDMapped.cc:136:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(start + sizeof(header_), addr, size); data/eckit-1.13.1/src/eckit/container/KDMapped.cc:142:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(addr, start + sizeof(header_), size); data/eckit-1.13.1/src/eckit/container/MappedArray.cc:38:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd_ = ::open(path.localPath(), O_RDWR | O_CREAT, 0777); data/eckit-1.13.1/src/eckit/container/MappedArray.cc:55:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf1[sizeof(PaddedHeader)]; data/eckit-1.13.1/src/eckit/container/MappedArray.cc:57:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf2[sizeof(T)]; data/eckit-1.13.1/src/eckit/container/Recycler.h:146:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd_ = ::open(path_.localPath(),O_RDWR|O_CREAT,0777); data/eckit-1.13.1/src/eckit/filesystem/FileSpace.cc:159:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024] = { data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:94:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:227:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[PATH_MAX + 1]; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:281:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path[PATH_MAX + 1]; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:352:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[PATH_MAX]; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:783:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char result[PATH_MAX + 1]; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:789:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char save[PATH_MAX + 1]; data/eckit-1.13.1/src/eckit/filesystem/LocalPathName.cc:800:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char dir[PATH_MAX + 1]; data/eckit-1.13.1/src/eckit/filesystem/PathExpander.cc:170:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[4 * 1024]; data/eckit-1.13.1/src/eckit/filesystem/TmpFile.cc:31:20: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). SYSCALL(fd = ::mkstemp(path)); data/eckit-1.13.1/src/eckit/io/AIOHandle.cc:54:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buff_->data(), buffer, length); data/eckit-1.13.1/src/eckit/io/AIOHandle.cc:279:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL2(fd_ = ::open(path_.localPath(), O_WRONLY | O_CREAT | O_TRUNC, 0777), path_); data/eckit-1.13.1/src/eckit/io/AIOHandle.cc:285:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL2(fd_ = ::open(path_.localPath(), O_WRONLY | O_CREAT | O_APPEND, 0777), path_); data/eckit-1.13.1/src/eckit/io/AsyncHandle.cc:155:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(p.second->data(), buffer, length); data/eckit-1.13.1/src/eckit/io/Base64.h:33:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char encode_[256]; data/eckit-1.13.1/src/eckit/io/Base64.h:34:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char decode_[256]; data/eckit-1.13.1/src/eckit/io/Buffer.cc:77:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer_, p, size); data/eckit-1.13.1/src/eckit/io/BufferCache.cc:30:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy((char*)buffer_, (const char*)other.buffer_, count_); data/eckit-1.13.1/src/eckit/io/BufferCache.cc:39:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy((char*)buffer_, (const char*)other.buffer_, count_); data/eckit-1.13.1/src/eckit/io/BufferCache.cc:57:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(((char*)buffer_) + count_, buffer, len); data/eckit-1.13.1/src/eckit/io/BufferedHandle.cc:112:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buf + len, p + pos_, s); data/eckit-1.13.1/src/eckit/io/BufferedHandle.cc:140:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(p + pos_, q + written, len); data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc:84:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer_ + start, p, n); data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc:85:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer_, p + n, length - n); data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc:107:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(p, buffer_ + pos_, n); data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc:108:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(p + n, buffer_, len - n); data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:50:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer_[16 * 1024]; data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:271:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). static FILE* open(DataHandle* handle, data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:287:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return open(this, mode, delete_on_close, true); data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:291:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return open(this, "r+", delete_on_close, false); data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:66:9: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (atoi(out.c_str()) / 100 == 5) data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:75:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void FTPHandle::open(const std::string& cmd) { data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:89:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char p[1024]; data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:107:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("RETR"); data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:112:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("STOR"); data/eckit-1.13.1/src/eckit/io/FTPHandle.h:78:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(const std::string&); data/eckit-1.13.1/src/eckit/io/FileBase.cc:25:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL2(fd_ = ::open(path.localPath(), O_RDWR | O_CREAT, 0777), path.localPath()); data/eckit-1.13.1/src/eckit/io/FileBase.cc:54:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&data, &buffer_, sizeof(T)); data/eckit-1.13.1/src/eckit/io/FileBase.cc:66:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&buffer_, &data, sizeof(T)); data/eckit-1.13.1/src/eckit/io/FileHandle.cc:59:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void FileHandle::open(const char* mode) { data/eckit-1.13.1/src/eckit/io/FileHandle.cc:60:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file_ = ::fopen(name_.c_str(), mode); data/eckit-1.13.1/src/eckit/io/FileHandle.cc:88:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("r"); data/eckit-1.13.1/src/eckit/io/FileHandle.cc:98:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("r+"); data/eckit-1.13.1/src/eckit/io/FileHandle.cc:101:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("w"); data/eckit-1.13.1/src/eckit/io/FileHandle.cc:105:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("a"); data/eckit-1.13.1/src/eckit/io/FileHandle.h:88:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(const char*); data/eckit-1.13.1/src/eckit/io/FileLock.cc:30:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL2(fd = ::open(lockFile.asString().c_str(), O_CREAT | O_RDWR, 0777), lockFile); data/eckit-1.13.1/src/eckit/io/HandleBuf.h:46:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char in_[1]; data/eckit-1.13.1/src/eckit/io/HandleBuf.h:47:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out_[80]; data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.cc:65:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL2(fd_ = ::open(path_.c_str(), O_RDONLY), path_); data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.h:81:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(const char*); data/eckit-1.13.1/src/eckit/io/MemoryHandle.cc:120:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer, address_ + position_, size); data/eckit-1.13.1/src/eckit/io/MemoryHandle.cc:140:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(newdata, address_, position_); data/eckit-1.13.1/src/eckit/io/MemoryHandle.cc:152:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(address_ + position_, buffer, size); data/eckit-1.13.1/src/eckit/io/MemoryHandle.cc:197:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(h->address_, address_, size_); data/eckit-1.13.1/src/eckit/io/MultiHandle.h:104:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(); data/eckit-1.13.1/src/eckit/io/PipeHandle.cc:44:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void PipeHandle::open(const char* mode) { data/eckit-1.13.1/src/eckit/io/PipeHandle.cc:52:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("r"); data/eckit-1.13.1/src/eckit/io/PipeHandle.cc:57:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("w"); data/eckit-1.13.1/src/eckit/io/PipeHandle.cc:61:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open("a"); data/eckit-1.13.1/src/eckit/io/PipeHandle.h:84:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(const char*); data/eckit-1.13.1/src/eckit/io/PooledFile.cc:93:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(const PooledFile* file) { data/eckit-1.13.1/src/eckit/io/PooledFile.cc:100:23: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file_ = ::fopen(name_.c_str(), "r"); data/eckit-1.13.1/src/eckit/io/PooledFile.cc:220:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void PooledFile::open() { data/eckit-1.13.1/src/eckit/io/PooledFile.cc:222:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). entry_->open(this); data/eckit-1.13.1/src/eckit/io/PooledFile.h:35:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(); data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc:30:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void PooledFileDescriptor::open() { data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc:33:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file_->open(); data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc:37:26: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL2(fd_ = ::open(path_.localPath(), O_RDWR | O_CREAT, 0777), path_); data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.h:32:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(); data/eckit-1.13.1/src/eckit/io/PooledHandle.cc:107:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). Length open(const PooledHandle* file) { data/eckit-1.13.1/src/eckit/io/PooledHandle.cc:224:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return entry_->open(this); data/eckit-1.13.1/src/eckit/io/RawFileHandle.cc:44:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). SYSCALL(fd_ = ::open(std::string(path_).c_str(), O_RDONLY)); data/eckit-1.13.1/src/eckit/io/RawFileHandle.cc:54:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd_ = SYSCALL(::open(std::string(path_).c_str(), O_WRONLY, 0777)); data/eckit-1.13.1/src/eckit/io/RawFileHandle.cc:57:25: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fd_ = SYSCALL(::open(std::string(path_).c_str(), O_WRONLY | O_CREAT, 0777)); data/eckit-1.13.1/src/eckit/io/ResizableBuffer.cc:26:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer_, p, size); data/eckit-1.13.1/src/eckit/io/ResizableBuffer.cc:50:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(newbuffer, buffer_, std::min(size_, size)); data/eckit-1.13.1/src/eckit/io/SockBuf.h:42:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char in_[1]; data/eckit-1.13.1/src/eckit/io/SockBuf.h:43:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out_[80]; data/eckit-1.13.1/src/eckit/io/StdFile.cc:20:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file_ = ::fopen(name.localPath(), mode.c_str()); data/eckit-1.13.1/src/eckit/io/StdioBuf.h:46:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char in_[1]; data/eckit-1.13.1/src/eckit/io/StdioBuf.h:47:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out_[80]; data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.cc:73:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char c[10240]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:40:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char node_[256]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:41:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char type_[256]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:42:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char path_[2048]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:405:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:33:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char node_[256]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:34:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char type_[256]; data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:35:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char host_[256]; data/eckit-1.13.1/src/eckit/io/cluster/NodeInfo.cc:61:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4096]; data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.cc:67:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void RadosHandle::open() { data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.cc:86:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.cc:99:5: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open(); data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.h:74:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(); data/eckit-1.13.1/src/eckit/linalg/Matrix.cc:62:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(array_, other.array_, size() * sizeof(Scalar)); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:180:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(spm_.data_, other.spm_.data_, shape_.sizeofData()); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:181:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(spm_.outer_, other.spm_.outer_, shape_.sizeofOuter()); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:182:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(spm_.inner_, other.spm_.inner_, shape_.sizeofInner()); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:447:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(tmp.spm_.data_, v.data(), nnz * sizeof(Scalar)); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:448:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(tmp.spm_.outer_, spm_.outer_, shape_.outerSize() * sizeof(Index)); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:449:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(tmp.spm_.inner_, inner.data(), nnz * sizeof(Index)); data/eckit-1.13.1/src/eckit/linalg/Vector.cc:46:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(array_, other.array_, length_ * sizeof(Scalar)); data/eckit-1.13.1/src/eckit/log/Log.cc:350:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char estr[256]; data/eckit-1.13.1/src/eckit/log/TimeStamp.cc:28:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/eckit-1.13.1/src/eckit/maths/MatrixLapack.h:119:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy( data_, other.data(), sizeof(Scalar)*nr_*nc_ ); data/eckit-1.13.1/src/eckit/maths/MatrixLapack.h:148:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy( data_, other.data(), sizeof(Scalar)*nr_*nc_ ); data/eckit-1.13.1/src/eckit/maths/MatrixLapack.h:554:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy( this->data(), other.data(), sizeof(Scalar)*this->cols() ); data/eckit-1.13.1/src/eckit/maths/MatrixLapack.h:606:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy( this->data(), other.data(), sizeof(Scalar)*this->cols() ); data/eckit-1.13.1/src/eckit/memory/MemoryBuffer.cc:54:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer_, p, size); data/eckit-1.13.1/src/eckit/memory/MemoryPool.cc:259:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer_[WORD]; data/eckit-1.13.1/src/eckit/memory/Padded.h:36:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char padding_[((size_t(osize_)+size_t(align_)-1)/align_)*align_ - osize_]; data/eckit-1.13.1/src/eckit/mpi/Parallel.cc:59:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char error[10240]; data/eckit-1.13.1/src/eckit/mpi/Parallel.cc:296:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hostname[256]; data/eckit-1.13.1/src/eckit/mpi/Serial.cc:185:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(recvReq.buffer(), sendReq.buffer(), sendReq.count() * dataSize[sendReq.type()]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:251:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, sendcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:257:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, recvcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:264:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, sendcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:271:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, recvcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:277:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, count * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:287:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, sendcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:294:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, sendcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:300:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, sendcount * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:306:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recvbuf, sendbuf, sendcounts[0] * dataSize[type]); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:318:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(recv, send.buffer(), send.count() * dataSize[send.type()]); data/eckit-1.13.1/src/eckit/net/Connector.cc:366:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buf, cached_.buffer_ + cached_.pos_, len); data/eckit-1.13.1/src/eckit/net/HttpHeader.cc:54:26: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). contentLength_ = atol(((*j).second).c_str()); data/eckit-1.13.1/src/eckit/net/HttpHeader.cc:194:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char b64[256]; data/eckit-1.13.1/src/eckit/net/IPAddress.cc:58:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hostname[256] = {0, }; data/eckit-1.13.1/src/eckit/net/TCPSocket.cc:375:15: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(&sin.sin_addr, him->h_addr_list[0], him->h_length); data/eckit-1.13.1/src/eckit/net/UDPServer.cc:120:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char inet6[INET6_ADDRSTRLEN]; data/eckit-1.13.1/src/eckit/os/BackTrace.cc:63:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[10240]; data/eckit-1.13.1/src/eckit/os/Password.cc:25:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/os/Password.cc:47:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/os/Password.cc:55:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char salt[3]; data/eckit-1.13.1/src/eckit/persist/Bless.h:20:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char _offset_dummy[80]; data/eckit-1.13.1/src/eckit/persist/Exporter.cc:164:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[MAX_STRING_LEN]; data/eckit-1.13.1/src/eckit/runtime/Main.cc:168:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char hostname[256] = { data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:182:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char in[20]; data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:184:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[20]; data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:186:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char par[20]; data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:214:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[1024]; data/eckit-1.13.1/src/eckit/runtime/PipeApplication.cc:215:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char basename[1024]; data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:178:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char in[20]; data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:180:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out[20]; data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:182:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char par[20]; data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:210:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char command[1024]; data/eckit-1.13.1/src/eckit/runtime/PipeHandler.cc:211:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char basename[1024]; data/eckit-1.13.1/src/eckit/runtime/ProcessControler.cc:222:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:44:11: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. ::strcpy(status_, "Starting"); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:229:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[size_ + 1] = {0,}; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:48:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer_[size_]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:51:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name_[80]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:52:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char kind_[80]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:53:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char status_[256]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:54:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char application_[80]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:62:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char name_[80]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:79:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char cancelMsg_[80]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:90:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char host_[80]; data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:92:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char message_[80]; data/eckit-1.13.1/src/eckit/serialisation/MemoryStream.cc:47:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer, address_ + position_, size); data/eckit-1.13.1/src/eckit/serialisation/MemoryStream.cc:56:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(address_ + position_, buffer, size); data/eckit-1.13.1/src/eckit/serialisation/ResizableMemoryStream.cc:28:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer, buffer_.data() + position_, size); data/eckit-1.13.1/src/eckit/serialisation/ResizableMemoryStream.cc:46:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buffer_.data() + position_, buffer, written); data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:631:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[sz]; data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:650:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[length]; data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:783:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buf, buffer_ + pos_, len); data/eckit-1.13.1/src/eckit/sql/SQLDatabase.cc:34:19: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void SQLDatabase::open() { data/eckit-1.13.1/src/eckit/sql/SQLDatabase.h:55:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(); data/eckit-1.13.1/src/eckit/sql/SQLSession.cc:46:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). database_.open(); data/eckit-1.13.1/src/eckit/sql/expression/ColumnExpression.cc:70:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(out, value_->first, type_->size()); data/eckit-1.13.1/src/eckit/sql/expression/SQLExpressionEvaluated.cc:55:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(out, &value_[0], value_.size() * sizeof(value_[0])); data/eckit-1.13.1/src/eckit/sql/expression/StringExpression.cc:66:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(val, name.c_str(), len); data/eckit-1.13.1/src/eckit/sql/expression/StringExpression.cc:124:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(out, &value_[0], value_.size() * sizeof(value_[0])); data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionIntegerExpression.cc:118:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return (double)atoi(Translator<double, std::string>()(x).c_str()); data/eckit-1.13.1/src/eckit/system/SystemInfo.cc:90:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4096]; data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:50:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[10240] = { data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:62:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[10240] = { data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:82:18: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (debug && atoi(debug)) { data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:90:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[10240] = { data/eckit-1.13.1/src/eckit/types/Date.cc:85:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(s.c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:99:30: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). long month = atol(result[0].c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:100:30: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). long day = atol(result[1].c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:116:33: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). long year = atol(result[0].c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:117:33: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). long day = atol(result[1].c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:138:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:138:55: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/Date.cc:138:87: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/FixedString.h:91:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char data_[SIZE]; data/eckit-1.13.1/src/eckit/types/FixedString.h:121:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(data_,other.data_,SIZE); data/eckit-1.13.1/src/eckit/types/FixedString.h:128:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(data_, s, strlen(s)); data/eckit-1.13.1/src/eckit/types/FixedString.h:136:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(data_,s.data_,SIZE); data/eckit-1.13.1/src/eckit/types/FixedString.h:146:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(data_, s.c_str(), s.length()); data/eckit-1.13.1/src/eckit/types/Month.cc:41:29: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(s.c_str()); data/eckit-1.13.1/src/eckit/types/Month.cc:59:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + 1; data/eckit-1.13.1/src/eckit/types/Month.cc:59:55: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + 1; data/eckit-1.13.1/src/eckit/types/Month.cc:74:21: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/Month.cc:74:55: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/Month.cc:74:87: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). value = atol(result[0].c_str()) * 10000 + atol(result[1].c_str()) * 100 + atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/Time.cc:46:16: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). long t = atol(s.c_str()); data/eckit-1.13.1/src/eckit/types/Time.cc:74:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). hh = atol(result[0].c_str()); data/eckit-1.13.1/src/eckit/types/Time.cc:75:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mm = atol(result[1].c_str()); data/eckit-1.13.1/src/eckit/types/Time.cc:84:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). hh = atol(result[0].c_str()); data/eckit-1.13.1/src/eckit/types/Time.cc:85:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). mm = atol(result[1].c_str()); data/eckit-1.13.1/src/eckit/types/Time.cc:86:18: [2] (integer) atol: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). ss = atol(result[2].c_str()); data/eckit-1.13.1/src/eckit/types/UUID.cc:84:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char data[16]; data/eckit-1.13.1/src/eckit/utils/AECCompressor.cc:141:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(out, outTmp, out.size()); data/eckit-1.13.1/src/eckit/utils/Compressor.cc:122:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(out, in, in.size()); data/eckit-1.13.1/src/eckit/utils/Compressor.cc:128:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(out, in, in.size()); data/eckit-1.13.1/src/eckit/utils/MD4.cc:27:38: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static std::string toString(unsigned char digest[MD4_DIGEST_LENGTH]) { data/eckit-1.13.1/src/eckit/utils/MD4.cc:29:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char x[2 * MD4_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/MD4.cc:52:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[MD4_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/MD4.cc:87:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[MD4_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/MD5.cc:46:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char PADDING[64] = {0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, data/eckit-1.13.1/src/eckit/utils/MD5.cc:116:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy((POINTER)&context->buffer[index], (POINTER)input, partLen); data/eckit-1.13.1/src/eckit/utils/MD5.cc:128:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy((POINTER)&context->buffer[index], (POINTER)&input[i], inputLen - i); data/eckit-1.13.1/src/eckit/utils/MD5.cc:133:26: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void MD5::Final(unsigned char digest[MD5_DIGEST_LENGTH], MD5_CTX* context) { data/eckit-1.13.1/src/eckit/utils/MD5.cc:134:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char bits[8]; data/eckit-1.13.1/src/eckit/utils/MD5.cc:157:52: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void MD5::Transform(UINT4 state[4], const unsigned char block[64]) { data/eckit-1.13.1/src/eckit/utils/MD5.cc:277:38: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static std::string toString(unsigned char digest[MD5_DIGEST_LENGTH]) { data/eckit-1.13.1/src/eckit/utils/MD5.cc:279:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char x[2 * MD5_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/MD5.cc:302:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[MD5_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/MD5.cc:344:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[MD5_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/MD5.cc:352:36: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void MD5::numericalDigest(unsigned char out[MD5_DIGEST_LENGTH]) const { data/eckit-1.13.1/src/eckit/utils/MD5.h:79:33: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. void numericalDigest(unsigned char out[MD5_DIGEST_LENGTH]) const; data/eckit-1.13.1/src/eckit/utils/MD5.h:95:14: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char buffer[64]; /* input buffer */ data/eckit-1.13.1/src/eckit/utils/Regex.cc:96:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[1024]; data/eckit-1.13.1/src/eckit/utils/Rsync.cc:184:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/eckit-1.13.1/src/eckit/utils/SHA1.cc:68:18: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char digest[SHA_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/SHA1.cc:71:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char x[2 * SHA_DIGEST_LENGTH]; data/eckit-1.13.1/src/eckit/utils/Translator.cc:67:12: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return atoi(s.c_str()); // 0 is returned on non-conversion data/eckit-1.13.1/src/eckit/utils/xxHashing.cc:26:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[2 * 8]; data/eckit-1.13.1/src/eckit/web/AgentResource.cc:51:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy((char*)out_ + length_, buf, len); data/eckit-1.13.1/src/eckit/web/AgentResource.cc:63:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(buf, (char*)in_ + pos_, size); data/eckit-1.13.1/src/eckit/web/CgiResource.cc:47:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/web/FileResource.cc:29:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char line[1024]; data/eckit-1.13.1/src/eckit/web/HttpStream.cc:26:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char out_[4096]; data/eckit-1.13.1/tests/filesystem/test_restarthandle.cc:120:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, buf1, 26); data/eckit-1.13.1/tests/filesystem/test_restarthandle.cc:138:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(p, buf2, 26); data/eckit-1.13.1/tests/io/test_base64.cc:28:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char base64ed[10240] = { data/eckit-1.13.1/tests/io/test_base64.cc:31:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char unbase64ed[10240] = { data/eckit-1.13.1/tests/io/test_circularbuffer.cc:47:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char q[26]; data/eckit-1.13.1/tests/io/test_compress.cc:27:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char compressed[10240] = { data/eckit-1.13.1/tests/io/test_compress.cc:30:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char uncompressed[10240] = { data/eckit-1.13.1/tests/io/test_compress.cc:98:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char original[102400]; data/eckit-1.13.1/tests/io/test_compress.cc:99:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char compressed[102400 * 2]; data/eckit-1.13.1/tests/io/test_compress.cc:100:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char uncompressed[102400]; data/eckit-1.13.1/tests/io/test_pooledfile.cc:86:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW(f1.open()); data/eckit-1.13.1/tests/io/test_pooledfile.cc:87:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW(f2.open()); data/eckit-1.13.1/tests/io/test_pooledfile.cc:128:35: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW(file->open()); data/eckit-1.13.1/tests/io/test_pooledfile.cc:134:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char b[2]; data/eckit-1.13.1/tests/io/test_pooledfile.cc:162:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_THROWS_AS(f.open(), PooledFileError); data/eckit-1.13.1/tests/io/test_pooledfile.cc:168:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW(f->open()); data/eckit-1.13.1/tests/io/test_pooledfile.cc:184:28: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW( f.open() ); data/eckit-1.13.1/tests/io/test_pooledfile.cc:231:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW( f1.open() ); data/eckit-1.13.1/tests/io/test_pooledfile.cc:232:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW( f2.open() ); data/eckit-1.13.1/tests/io/test_pooledfile.cc:233:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW( f3.open() ); data/eckit-1.13.1/tests/io/test_pooledfile.cc:234:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). EXPECT_NO_THROW( f4.open() ); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:130:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char b[2]; data/eckit-1.13.1/tests/large_file/test_large_file.cc:50:17: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). if ((fd = ::mkstemp(filename)) == -1) data/eckit-1.13.1/tests/memory/test_memory_mmap.cc:87:17: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). if ((fd = ::mkstemp(filename)) == -1) data/eckit-1.13.1/src/eckit/cmd/CmdParser.cc:142:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(l, p, sizeof(l)); data/eckit-1.13.1/src/eckit/cmd/RemoteCmd.cc:80:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((len = remote.read(buf, sizeof(buf))) > 0) data/eckit-1.13.1/src/eckit/cmd/TailCmd.cc:102:15: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. ::usleep(1000); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:127:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* buffer = (char*)malloc(strlen(s->prompt) + strlen(s->curr->edit) + 20); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:127:54: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char* buffer = (char*)malloc(strlen(s->prompt) + strlen(s->curr->edit) + 20); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:128:75: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sprintf(buffer, "\r%s%s\033[0K\r\033[%luC", s->prompt, s->curr->edit, strlen(s->prompt) + s->pos); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:129:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write(1, buffer, strlen(buffer)); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:145:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(line); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:156:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(line); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:169:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(line); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:179:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(0, &c, 1) != 1) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:285:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(s->curr->edit)) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:314:57: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (insert[0] && (size_t(s->pos) == strlen(s->curr->edit))) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:321:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). write(1, insert, strlen(insert)); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:340:13: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(s->clipboard, s->curr->edit, s->pos); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:362:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s->pos = strlen(s->curr->edit); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:370:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s->pos = strlen(s->curr->edit); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:377:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (size_t(s->pos) > strlen(s->curr->edit)) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:378:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s->pos = strlen(s->curr->edit); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:406:22: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s->pos = strlen(s->curr->edit); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:450:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(s->curr->edit) > 1) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:452:39: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (size_t(s->pos) == strlen(s->curr->edit)) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:478:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (size_t(s->pos) > strlen(s->curr->edit)) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:479:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s->pos = strlen(s->curr->edit); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:574:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int len = strlen(line); data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:615:13: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(h->line) == 0 /*|| strcmp(h->line, prev) == 0*/) { data/eckit-1.13.1/src/eckit/cmd/UserInput.cc:685:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(history->line) == 0) { data/eckit-1.13.1/src/eckit/config/ResourceMgr.cc:97:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int l = ::strlen(p) - 1; data/eckit-1.13.1/src/eckit/container/BTree.cc:519:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int len = file_.read(&p, sizeof(p)); data/eckit-1.13.1/src/eckit/container/CacheManager.cc:129:15: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). AutoUmask umask(0); data/eckit-1.13.1/src/eckit/container/CacheManager.cc:294:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). eckit::AutoUmask umask(0); data/eckit-1.13.1/src/eckit/container/CacheManager.cc:306:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). eckit::AutoUmask umask(0); data/eckit-1.13.1/src/eckit/container/CacheManager.cc:320:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). eckit::AutoUmask umask(0); data/eckit-1.13.1/src/eckit/container/CacheManager.h:197:31: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). AutoUmask umask(0); data/eckit-1.13.1/src/eckit/container/CacheManager.h:277:15: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). AutoUmask umask(0); data/eckit-1.13.1/src/eckit/container/KDMapped.cc:58:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SYSCALL(n = ::read(fd_, &header_, sizeof(header_))); data/eckit-1.13.1/src/eckit/container/Recycler.h:228:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(::read(fd_, &value, sizeof(T)) == sizeof(T)); data/eckit-1.13.1/src/eckit/geometry/KPoint.h:114:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. static bool equal(const KPoint& p1, const KPoint& p2) { data/eckit-1.13.1/src/eckit/geometry/KPoint.h:122:57: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator==(const KPoint& other) const { return equal(*this, other); } data/eckit-1.13.1/src/eckit/geometry/KPoint.h:124:58: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator!=(const KPoint& other) const { return !equal(*this, other); } data/eckit-1.13.1/src/eckit/io/AIOHandle.cc:289:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long AIOHandle::read(void*, long) { data/eckit-1.13.1/src/eckit/io/AIOHandle.h:33:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/AsyncHandle.cc:133:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long AsyncHandle::read(void*, long) { data/eckit-1.13.1/src/eckit/io/AsyncHandle.h:57:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/Base64.cc:55:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((c = bin.read(6, EOI_MARKER)) != EOI_MARKER) { data/eckit-1.13.1/src/eckit/io/Base64.cc:89:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t c = bin.read(8, EOI_MARKER); data/eckit-1.13.1/src/eckit/io/Base64.cc:105:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = bin.read(8, EOI_MARKER); data/eckit-1.13.1/src/eckit/io/BitIO.cc:116:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t BitIO::read(size_t nbits, size_t EOF_MARKER) { data/eckit-1.13.1/src/eckit/io/BitIO.cc:134:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (handle_.read(&c, 1) <= 0) { data/eckit-1.13.1/src/eckit/io/BitIO.h:52:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t read(size_t nbits, size_t EOF_MARKER = 0); data/eckit-1.13.1/src/eckit/io/Buffer.cc:71:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(static_cast<char*>(buffer_), s.c_str(), std::min(size_, s.size())); data/eckit-1.13.1/src/eckit/io/BufferedHandle.cc:81:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long BufferedHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/BufferedHandle.cc:96:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). used_ = handle().read(buffer_, size_); data/eckit-1.13.1/src/eckit/io/BufferedHandle.h:53:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc:68:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(read(buffer, save) == save); data/eckit-1.13.1/src/eckit/io/CircularBuffer.cc:92:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t CircularBuffer::read(void* buffer, size_t length) { data/eckit-1.13.1/src/eckit/io/CircularBuffer.h:39:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t read(void* buffer, size_t length); data/eckit-1.13.1/src/eckit/io/CommandStream.cc:34:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long CommandStream::read(void* buf, long length) { data/eckit-1.13.1/src/eckit/io/CommandStream.h:41:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/Compress.cc:160:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t byte = in.read(8, END_MARKER); data/eckit-1.13.1/src/eckit/io/Compress.cc:274:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t k = bin.read(nbits, END_MARKER); data/eckit-1.13.1/src/eckit/io/Compress.cc:293:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). k = bin.read(nbits, END_MARKER); data/eckit-1.13.1/src/eckit/io/DataHandle.cc:125:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((length = read(buffer, buffer.size())) > 0) { data/eckit-1.13.1/src/eckit/io/DataHandle.cc:197:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((length = read(buffer, buffer.size())) > 0) { data/eckit-1.13.1/src/eckit/io/DataHandle.cc:264:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long len1 = self.read(buffer1, buffer1.size()); data/eckit-1.13.1/src/eckit/io/DataHandle.cc:265:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long len2 = other.read(buffer2, buffer2.size()); data/eckit-1.13.1/src/eckit/io/DataHandle.cc:337:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long DataHandle::read(void*, long) { data/eckit-1.13.1/src/eckit/io/DataHandle.cc:389:62: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void DataHandle::cost(std::map<std::string, Length>& c, bool read) const {} data/eckit-1.13.1/src/eckit/io/DataHandle.h:72:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long) ; data/eckit-1.13.1/src/eckit/io/DblBuffer.cc:164:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). buffers[i].length_ = in.read(buffers[i].buffer_, bufSize_); data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:186:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual size_t read(void* ptr, size_t size) = 0; data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:265:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual size_t read(void* ptr, size_t size) override { data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:375:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual size_t read(void* ptr, size_t size) override { data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:385:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return buffer_.read(ptr, size); data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:469:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:506:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long EasyCURLHandle::read(void* ptr, long size) { data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:508:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size = imp_->read(ptr, size); data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:568:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t EasyCURLResponse::read(void* ptr, size_t size) const { data/eckit-1.13.1/src/eckit/io/EasyCURL.cc:569:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return imp_->read(ptr, size); data/eckit-1.13.1/src/eckit/io/EasyCURL.h:67:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t read(void* ptr, size_t size) const; data/eckit-1.13.1/src/eckit/io/EmptyHandle.h:44:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long) { return 0; } data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:44:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long read(char* buffer, long length); data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:95:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long FOpenDataHandle::read(char* buffer, long length) { data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:96:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long len = handle_->read(buffer, length); data/eckit-1.13.1/src/eckit/io/FOpenDataHandle.cc:156:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t len = fd->read(buffer, length); data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:54:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (cmds_.read(&c, 1) == 1 && c != '\n') data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:119:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long FTPHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/FTPHandle.cc:120:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return data_.read(buffer, length); data/eckit-1.13.1/src/eckit/io/FTPHandle.h:50:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/FileBase.cc:35:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool FileBase<T>::read(long rec, T& data) { data/eckit-1.13.1/src/eckit/io/FileBase.cc:46:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SYSCALL(size = ::read(fd_, &buffer_, sizeof(Record))); data/eckit-1.13.1/src/eckit/io/FileBase.h:50:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool read(long,T&); data/eckit-1.13.1/src/eckit/io/FileDescHandle.cc:46:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long FileDescHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/FileDescHandle.cc:47:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return ::read(fd_, buffer, length); data/eckit-1.13.1/src/eckit/io/FileDescHandle.h:44:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/FileHandle.cc:108:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long FileHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/FileHandle.cc:271:62: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void FileHandle::cost(std::map<std::string, Length>& c, bool read) const { data/eckit-1.13.1/src/eckit/io/FileHandle.cc:272:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) { data/eckit-1.13.1/src/eckit/io/FileHandle.h:45:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/HandleBuf.cc:67:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = handle_.read(in_, sizeof(in_)); data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.cc:88:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long MMappedFileHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.cc:90:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return handle_->read(buffer, length); data/eckit-1.13.1/src/eckit/io/MMappedFileHandle.h:41:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/MemoryHandle.cc:113:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long MemoryHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/MemoryHandle.h:50:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/MultiHandle.cc:146:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long n = (*current_)->read(buffer, length); data/eckit-1.13.1/src/eckit/io/MultiHandle.cc:156:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long MultiHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/MultiHandle.cc:398:63: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void MultiHandle::cost(std::map<std::string, Length>& c, bool read) const { data/eckit-1.13.1/src/eckit/io/MultiHandle.cc:400:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). datahandles_[i]->cost(c, read); data/eckit-1.13.1/src/eckit/io/MultiHandle.h:56:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/PartFileHandle.cc:119:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long n = handle_->read(buffer, size); data/eckit-1.13.1/src/eckit/io/PartFileHandle.cc:137:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PartFileHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/PartFileHandle.cc:262:66: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PartFileHandle::cost(std::map<std::string, Length>& c, bool read) const { data/eckit-1.13.1/src/eckit/io/PartFileHandle.cc:263:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) { data/eckit-1.13.1/src/eckit/io/PartFileHandle.h:51:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long) override; data/eckit-1.13.1/src/eckit/io/PartHandle.cc:135:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long n = handle().read(buffer, size); data/eckit-1.13.1/src/eckit/io/PartHandle.cc:153:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PartHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/PartHandle.h:57:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/PeekHandle.cc:44:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(handle().read(&c, 1) == 1); data/eckit-1.13.1/src/eckit/io/PeekHandle.cc:57:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long p = handle().read(buf, n); data/eckit-1.13.1/src/eckit/io/PeekHandle.cc:82:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PeekHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/PeekHandle.cc:85:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return handle().read(buffer, length); data/eckit-1.13.1/src/eckit/io/PeekHandle.cc:107:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = handle().read(p, length); data/eckit-1.13.1/src/eckit/io/PeekHandle.h:58:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/PipeHandle.cc:64:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PipeHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/PipeHandle.h:49:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/PooledFile.cc:136:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long read(const PooledFile* file, void *buffer, long len) { data/eckit-1.13.1/src/eckit/io/PooledFile.cc:264:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PooledFile::read(void *buffer, long len) { data/eckit-1.13.1/src/eckit/io/PooledFile.cc:266:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return entry_->read(this, buffer, len); data/eckit-1.13.1/src/eckit/io/PooledFile.h:40:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long read(void*, long); data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc:56:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t PooledFileDescriptor::read(void *buf, size_t nbyte) { data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc:59:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return file_->read(buf, nbyte); data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.cc:63:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SYSCALL(len = ::read(fd_, buf, nbyte)); data/eckit-1.13.1/src/eckit/io/PooledFileDescriptor.h:35:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t read(void*, size_t); data/eckit-1.13.1/src/eckit/io/PooledHandle.cc:168:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long read(const PooledHandle* handle, void* buffer, long len) { data/eckit-1.13.1/src/eckit/io/PooledHandle.cc:175:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long n = handle_->read(buffer, len); data/eckit-1.13.1/src/eckit/io/PooledHandle.cc:264:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PooledHandle::read(void* buffer, long len) { data/eckit-1.13.1/src/eckit/io/PooledHandle.cc:266:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return entry_->read(this, buffer, len); data/eckit-1.13.1/src/eckit/io/PooledHandle.h:39:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/RawFileHandle.cc:66:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long RawFileHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/RawFileHandle.cc:68:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). SYSCALL(n = ::read(fd_, buffer, length)); data/eckit-1.13.1/src/eckit/io/RawFileHandle.h:36:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/SeekableHandle.cc:58:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long SeekableHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/SeekableHandle.h:54:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/SharedHandle.cc:52:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long SharedHandle::read(void* data, long len) { data/eckit-1.13.1/src/eckit/io/SharedHandle.cc:53:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return handle_.read(data, len); data/eckit-1.13.1/src/eckit/io/SharedHandle.h:52:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/SockBuf.cc:73:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = protocol_.read(in_, sizeof(in_)); data/eckit-1.13.1/src/eckit/io/SockBuf.cc:75:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int n = protocol_.read(base(), sizeof(in_)); data/eckit-1.13.1/src/eckit/io/StatsHandle.cc:102:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long StatsHandle::read(void* data, long len) { data/eckit-1.13.1/src/eckit/io/StatsHandle.cc:106:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long ret = handle().read(data, len); data/eckit-1.13.1/src/eckit/io/StatsHandle.h:54:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/StdFileHandle.cc:43:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long StdFileHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/StdFileHandle.h:37:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/TCPHandle.cc:59:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long TCPHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/TCPHandle.cc:60:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return connection_.read(buffer, length); data/eckit-1.13.1/src/eckit/io/TCPHandle.h:43:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.cc:43:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long InstantTCPSocketHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.cc:44:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long n = connection_.read(buffer, length); data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.cc:74:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read(c, std::min(sizeof(c), size_t(o - position_))); data/eckit-1.13.1/src/eckit/io/TCPSocketHandle.h:48:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/TeeHandle.cc:79:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long TeeHandle::read(void*, long) { data/eckit-1.13.1/src/eckit/io/TeeHandle.cc:154:61: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void TeeHandle::cost(std::map<std::string, Length>& c, bool read) const { data/eckit-1.13.1/src/eckit/io/TeeHandle.cc:156:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). datahandles_[i]->cost(c, read); data/eckit-1.13.1/src/eckit/io/TeeHandle.h:53:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/io/URLHandle.cc:62:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long URLHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/URLHandle.cc:63:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return handle().read(buffer, length); data/eckit-1.13.1/src/eckit/io/URLHandle.h:52:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:50:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(node_, node.c_str(), sizeof(node_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:52:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(type_, type.c_str(), sizeof(type_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:54:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(path_, path.c_str(), sizeof(path_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:115:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(node_, x.c_str(), sizeof(node_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:119:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(type_, x.c_str(), sizeof(type_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterDisks.cc:123:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(path_, x.c_str(), sizeof(path_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:42:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(node_, node.c_str(), sizeof(node_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:44:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(type_, type.c_str(), sizeof(type_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:46:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host_, host.c_str(), sizeof(host_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:90:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(node_, x.c_str(), sizeof(node_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:94:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(type_, x.c_str(), sizeof(type_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:98:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host_, x.c_str(), sizeof(host_) - 1); data/eckit-1.13.1/src/eckit/io/cluster/ClusterNodes.cc:129:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(host_, h.c_str(), sizeof(host_) - 1); data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.cc:107:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long RadosHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/rados/RadosHandle.h:50:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/rados/RadosReadHandle.cc:90:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long RadosReadHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/rados/RadosReadHandle.cc:92:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return handle_->read(buffer, length); data/eckit-1.13.1/src/eckit/io/rados/RadosReadHandle.h:49:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/io/rados/RadosWriteHandle.cc:81:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long RadosWriteHandle::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/io/rados/RadosWriteHandle.h:48:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long); data/eckit-1.13.1/src/eckit/linalg/SparseMatrix.cc:251:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mh.read(&info, sizeof(SPMInfo)); data/eckit-1.13.1/src/eckit/log/CodeLocation.cc:32:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). return file_ && ::strlen(file_); data/eckit-1.13.1/src/eckit/log/CodeLocation.cc:38:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (func_ && ::strlen(func_)) data/eckit-1.13.1/src/eckit/log/PrefixTarget.cc:26:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). spaceLength_(::strlen(space)) {} data/eckit-1.13.1/src/eckit/log/Statistics.cc:33:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out << indent << title << std::setw(WIDTH - strlen(title)) << " : " << eckit::BigNum(value) << std::endl; data/eckit-1.13.1/src/eckit/log/Statistics.cc:40:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out << indent << title << std::setw(WIDTH - strlen(title)) << " : " << value << " " << unit << std::endl; data/eckit-1.13.1/src/eckit/log/Statistics.cc:48:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out << indent << title << std::setw(WIDTH - strlen(title)) << " : " << eckit::BigNum(value) << " bytes/s (" data/eckit-1.13.1/src/eckit/log/Statistics.cc:71:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out << indent << title << std::setw(WIDTH - strlen(title)) << " : " << eckit::BigNum(value) << " (" data/eckit-1.13.1/src/eckit/log/Statistics.cc:99:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out << indent << title << std::setw(WIDTH - strlen(title)) << " : " << eckit::Seconds(value.elapsed_) << " (" data/eckit-1.13.1/src/eckit/log/Statistics.cc:106:53: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). out << indent << title << std::setw(WIDTH - strlen(title)) << " : " << eckit::Seconds(value) << std::endl; data/eckit-1.13.1/src/eckit/mpi/Parallel.cc:631:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(buffer->data(), op.len_); data/eckit-1.13.1/src/eckit/mpi/Serial.cc:376:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(buffer->data(), len); data/eckit-1.13.1/src/eckit/net/Connector.cc:321:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long Connector::read(void* buf, long len) { data/eckit-1.13.1/src/eckit/net/Connector.cc:374:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = socketIo(&TCPSocket::read, buf, len, "read"); data/eckit-1.13.1/src/eckit/net/Connector.h:122:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf,long len); data/eckit-1.13.1/src/eckit/net/HttpHeader.cc:266:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(socket.read(&c, 1) == 1); data/eckit-1.13.1/src/eckit/net/HttpHeader.cc:268:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(socket.read(&c, 1) == 1); data/eckit-1.13.1/src/eckit/net/ProxiedTCPServer.cc:41:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (socket.read(&c, 1) == 1) { data/eckit-1.13.1/src/eckit/net/TCPSocket.cc:206:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long TCPSocket::read(void* buf, long length) { data/eckit-1.13.1/src/eckit/net/TCPSocket.cc:250:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = ::read(socket_, p, length); data/eckit-1.13.1/src/eckit/net/TCPSocket.cc:253:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = ::read(socket_, p, length); data/eckit-1.13.1/src/eckit/net/TCPSocket.cc:256:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). len = ::read(socket_, p, length); data/eckit-1.13.1/src/eckit/net/TCPSocket.cc:736:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return ::read(socket_, buf, length); data/eckit-1.13.1/src/eckit/net/TCPSocket.h:63:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long read(void* buf, long length); data/eckit-1.13.1/src/eckit/net/TCPStream.h:40:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf,long len) data/eckit-1.13.1/src/eckit/net/TCPStream.h:41:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). { return socket().read(buf,len); } data/eckit-1.13.1/src/eckit/os/AutoUmask.h:28:49: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). explicit AutoUmask(mode_t u = 0) : umask_(::umask(u)) {} data/eckit-1.13.1/src/eckit/os/AutoUmask.h:29:22: [1] (access) umask: Ensure that umask is given most restrictive possible setting (e.g., 066 or 077) (CWE-732). ~AutoUmask() { ::umask(umask_); } data/eckit-1.13.1/src/eckit/os/Password.cc:56:7: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(salt, p.pw_passwd, 2); data/eckit-1.13.1/src/eckit/persist/Exporter.cc:157:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(handle_.read(&tag, 1) == 1); data/eckit-1.13.1/src/eckit/persist/Exporter.cc:180:18: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). size_t len = strlen(s); data/eckit-1.13.1/src/eckit/persist/Exporter.cc:196:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(handle_.read(&c, 1) == 1); data/eckit-1.13.1/src/eckit/persist/Exporter.cc:222:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(handle_.read(&d, sizeof(d)) == sizeof(d)); data/eckit-1.13.1/src/eckit/persist/Exporter.cc:241:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(handle_.read(&d, sizeof(d)) == sizeof(d)); data/eckit-1.13.1/src/eckit/persist/Exporter.cc:260:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(handle_.read(&d, sizeof(d)) == sizeof(d)); data/eckit-1.13.1/src/eckit/runtime/Main.cc:71:41: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (::strncmp(argv[i], debug, ::strlen(debug)) == 0) { data/eckit-1.13.1/src/eckit/runtime/Main.cc:72:73: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). debug_ = eckit::Translator<std::string, bool>()(argv[i] + ::strlen(debug)); data/eckit-1.13.1/src/eckit/runtime/Main.cc:83:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (::strncmp(argv[i], display_name, ::strlen(display_name)) == 0) { data/eckit-1.13.1/src/eckit/runtime/Main.cc:84:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). displayName_ = argv[i] + ::strlen(display_name); data/eckit-1.13.1/src/eckit/runtime/Main.cc:88:52: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (::strncmp(argv[i], application_name, ::strlen(application_name)) == 0) { data/eckit-1.13.1/src/eckit/runtime/Main.cc:89:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). name_ = argv[i] + ::strlen(application_name); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:41:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(name_, Main::instance().displayName().c_str(), sizeof(name_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:42:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(kind_, Main::instance().name().c_str(), sizeof(kind_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:43:11: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(application_, Main::instance().name().c_str(), sizeof(application_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:61:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(kind_, s.c_str(), sizeof(kind_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:66:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(name_, s.c_str(), sizeof(name_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:71:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(status_, s.c_str(), sizeof(status_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:77:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(message_, s.c_str(), sizeof(message_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.cc:82:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(progress_.name_, s.c_str(), sizeof(progress_.name_) - 1); data/eckit-1.13.1/src/eckit/runtime/TaskInfo.h:181:52: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). void host(const std::string& h) { touch(); strncpy(host_, h.c_str(), sizeof(host_)); } data/eckit-1.13.1/src/eckit/serialisation/FileStream.cc:78:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long FileStream::read(void* buf, long length) { data/eckit-1.13.1/src/eckit/serialisation/FileStream.h:38:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/serialisation/FstreamStream.h:60:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf, long len) { data/eckit-1.13.1/src/eckit/serialisation/FstreamStream.h:62:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). f_.read(static_cast<char*>(buf), len); data/eckit-1.13.1/src/eckit/serialisation/HandleStream.h:53:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf,long len) data/eckit-1.13.1/src/eckit/serialisation/HandleStream.h:54:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). { return handle_.read(buf,len); } data/eckit-1.13.1/src/eckit/serialisation/IfstreamStream.h:57:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf, long len) { data/eckit-1.13.1/src/eckit/serialisation/IfstreamStream.h:58:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). f_.read(static_cast<char*>(buf), len); data/eckit-1.13.1/src/eckit/serialisation/MemoryStream.cc:44:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long MemoryStream::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/serialisation/MemoryStream.h:37:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/serialisation/PipeStream.cc:106:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long PipeStream::read(void* buf, long length) { data/eckit-1.13.1/src/eckit/serialisation/PipeStream.cc:111:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long len = ::read(in_, p, length); data/eckit-1.13.1/src/eckit/serialisation/PipeStream.h:64:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/serialisation/ResizableMemoryStream.cc:25:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long ResizableMemoryStream::read(void* buffer, long length) { data/eckit-1.13.1/src/eckit/serialisation/ResizableMemoryStream.h:32:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*,long); data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:86:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(buf, len) != len) data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:185:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ((len = read(&c, 1)) == 0) { data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:365:16: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). long len = strlen(x); data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:734:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ( (len = read(&c, 1)) == 0) data/eckit-1.13.1/src/eckit/serialisation/Stream.cc:782:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf, long len) { data/eckit-1.13.1/src/eckit/serialisation/Stream.h:187:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void*, long) = 0; data/eckit-1.13.1/src/eckit/sql/SQLSession.cc:134:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(size_t(dh.read(&schema[0], sz)) == sz); data/eckit-1.13.1/src/eckit/sql/SQLSession.cc:159:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ASSERT(size_t(dh.read(&readBuf[0], sz)) == sz); data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionEQ.cc:60:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool FunctionEQ::equal(const SQLExpression& l, const SQLExpression& r, bool& missing) { data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionEQ.cc:79:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal(*args_[0], *args_[1], missing); data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionEQ.h:30:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. static bool equal(const SQLExpression& l, const SQLExpression& r, bool& missing); data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionIN.cc:45:25: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (FunctionEQ::equal(x, *args_[i], missing)) data/eckit-1.13.1/src/eckit/sql/expression/function/FunctionNOT_IN.cc:46:25: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (FunctionEQ::equal(x, *args_[i], missing)) data/eckit-1.13.1/src/eckit/system/SystemInfoLinux.cc:145:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mem.mapped_read_ = read; data/eckit-1.13.1/src/eckit/types/FixedString.h:126:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ASSERT(sizeof(char) == 1 && s && strlen(s) <= SIZE); data/eckit-1.13.1/src/eckit/types/FixedString.h:128:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ::memcpy(data_, s, strlen(s)); data/eckit-1.13.1/src/eckit/types/UUID.h:75:14: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return std::equal(lhs.begin(), lhs.end(), rhs.begin()); data/eckit-1.13.1/src/eckit/utils/Hash.h:69:46: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). void add(const char* x) { update(x, std::strlen(x)); } data/eckit-1.13.1/src/eckit/utils/MD4.cc:63:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). add(s, strlen(s)); data/eckit-1.13.1/src/eckit/utils/MD5.cc:313:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). add(s, strlen(s)); data/eckit-1.13.1/src/eckit/utils/MD5.h:70:44: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). void add(const char* x) { update(x, std::strlen(x)); } data/eckit-1.13.1/src/eckit/utils/RLE.cc:87:39: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. while ((other + x <= last) && equal(from, from + x, other)) { data/eckit-1.13.1/src/eckit/utils/Rsync.cc:71:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r_len = h->read(static_cast<void*>(w), len); data/eckit-1.13.1/src/eckit/utils/Rsync.cc:328:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long rlen = dh->read(*buf, *len); data/eckit-1.13.1/src/eckit/utils/SHA1.cc:30:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). add(s, strlen(s)); data/eckit-1.13.1/src/eckit/utils/xxHashing.cc:46:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). add(s, strlen(s)); data/eckit-1.13.1/src/eckit/value/BoolContent.cc:59:9: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (equal) data/eckit-1.13.1/src/eckit/web/AgentResource.cc:34:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buf, long len); data/eckit-1.13.1/src/eckit/web/AgentResource.cc:57:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long MemStream::read(void* buf, long len) { data/eckit-1.13.1/src/sandbox/tcp_client.cc:50:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MemoryHandle mh(data, strlen(data)); data/eckit-1.13.1/tests/filesystem/test_asynchandle.cc:57:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fh->read(buf2, buf2.size()); data/eckit-1.13.1/tests/filesystem/test_asynchandle.cc:83:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fh->read(buf2, buf2.size()); data/eckit-1.13.1/tests/filesystem/test_restarthandle.cc:51:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual long read(void* buffer, long len) { NOTIMP; } data/eckit-1.13.1/tests/geometry/test_sphere.cc:92:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:106:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:120:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:134:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:154:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:168:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:182:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/geometry/test_sphere.cc:196:22: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. EXPECT(PointXYZ::equal(p, q)); data/eckit-1.13.1/tests/io/rados-performance.cc:53:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(buf, size); data/eckit-1.13.1/tests/io/rados-performance.cc:69:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g.read(buf, size); data/eckit-1.13.1/tests/io/test_base64.cc:43:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MemoryHandle in(text, strlen(text)); data/eckit-1.13.1/tests/io/test_base64.cc:47:40: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). std::cout << "Base64 from " << strlen(text) << " to " << s << std::endl; data/eckit-1.13.1/tests/io/test_base64.cc:72:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < std::min(u.size(), strlen(text)); ++i) { data/eckit-1.13.1/tests/io/test_bitio.cc:58:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). size_t r = io.read(i); data/eckit-1.13.1/tests/io/test_bitio.cc:100:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char c = io.read(nbits); data/eckit-1.13.1/tests/io/test_bitio.cc:113:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MemoryHandle h(pattern, strlen(pattern)); data/eckit-1.13.1/tests/io/test_bitio.cc:118:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). char c = io.read(8); data/eckit-1.13.1/tests/io/test_bitio.cc:123:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(io.read(8, 257) == 257); data/eckit-1.13.1/tests/io/test_bitio.cc:130:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MemoryHandle h(pattern, strlen(pattern)); data/eckit-1.13.1/tests/io/test_bitio.cc:134:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). io.read(6); data/eckit-1.13.1/tests/io/test_bitio.cc:135:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_THROWS_AS(io.read(6), std::exception); data/eckit-1.13.1/tests/io/test_bitio.cc:138:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(io.read(8, 257) == 257); data/eckit-1.13.1/tests/io/test_bitio.cc:149:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(io.read(6, 256) == 0x3f); data/eckit-1.13.1/tests/io/test_bitio.cc:150:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(io.read(6, 256) == 0x30); data/eckit-1.13.1/tests/io/test_bitio.cc:151:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(io.read(6, 256) == 256); data/eckit-1.13.1/tests/io/test_bitio.cc:156:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(io.read(8, 257) == 257); data/eckit-1.13.1/tests/io/test_circularbuffer.cc:48:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(buffer.read(q, 26) == 26); data/eckit-1.13.1/tests/io/test_circularbuffer.cc:51:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(buffer.read(q, 26) == 26); data/eckit-1.13.1/tests/io/test_compress.cc:42:31: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). MemoryHandle in(text, strlen(text)); data/eckit-1.13.1/tests/io/test_compress.cc:46:42: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). std::cout << "Compress from " << strlen(text) << " to " << s << std::endl; data/eckit-1.13.1/tests/io/test_compress.cc:62:47: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). for (size_t i = 0; i < std::min(u.size(), strlen(text)); ++i) { data/eckit-1.13.1/tests/io/test_filepool.cc:72:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). foo->read(&buffer[0], BUF_SIZE); data/eckit-1.13.1/tests/io/test_multihandle.cc:135:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). EXPECT(::memcmp(expect, result.data(), strlen(expect)) == 0); data/eckit-1.13.1/tests/io/test_multihandle.cc:149:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh0.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:156:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh0.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:178:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh1.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:185:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh1.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:206:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh2.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:261:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 13); data/eckit-1.13.1/tests/io/test_multihandle.cc:275:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:284:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 7); data/eckit-1.13.1/tests/io/test_multihandle.cc:295:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:305:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:314:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 30); data/eckit-1.13.1/tests/io/test_multihandle.cc:334:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 13); data/eckit-1.13.1/tests/io/test_multihandle.cc:343:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:352:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 7); data/eckit-1.13.1/tests/io/test_multihandle.cc:361:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 10); data/eckit-1.13.1/tests/io/test_multihandle.cc:371:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = mh.read(buff, 10); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:86:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 10); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:98:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 10); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:133:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 10); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:141:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 13); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:157:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 10); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:166:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 40); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:168:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::string read(buff); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:169:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::cout << read << std::endl; data/eckit-1.13.1/tests/io/test_partfilehandle.cc:170:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQUAL(read, "acdghijnopqrsxyz01234"); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:179:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long r = ph.read(buff, 12); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:181:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::string read(buff); data/eckit-1.13.1/tests/io/test_partfilehandle.cc:182:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::cout << read << std::endl; data/eckit-1.13.1/tests/io/test_partfilehandle.cc:183:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT_EQUAL(read, "ijnopqrsxyz0"); data/eckit-1.13.1/tests/io/test_pooledfile.cc:51:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). f1.write(message, ::strlen(message)); data/eckit-1.13.1/tests/io/test_pooledfile.cc:89:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(buffer, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:92:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f2.read(buffer, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:95:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(buffer, 13) == 13); data/eckit-1.13.1/tests/io/test_pooledfile.cc:98:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f2.read(buffer, 25) == 25); data/eckit-1.13.1/tests/io/test_pooledfile.cc:102:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(buffer, buffer.size()) == 26); data/eckit-1.13.1/tests/io/test_pooledfile.cc:116:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t M = ::strlen(test.message); data/eckit-1.13.1/tests/io/test_pooledfile.cc:135:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long len = files[j]->read(b, 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:189:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:194:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:199:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:204:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:209:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 0); // read past end of file returns 0 data/eckit-1.13.1/tests/io/test_pooledfile.cc:212:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 10) == 6); // read until end of file data/eckit-1.13.1/tests/io/test_pooledfile.cc:237:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:242:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f2.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:247:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f3.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledfile.cc:252:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f4.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:51:29: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). f1.write(message, ::strlen(message)); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:89:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(buffer, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:92:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f2.read(buffer, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:95:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(buffer, 13) == 13); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:98:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f2.read(buffer, 25) == 25); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:112:28: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t M = ::strlen(test.message); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:131:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). long len = files[j]->read(b, 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:184:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:189:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:194:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:199:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:204:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 1) == 0); // read past end of file returns 0 data/eckit-1.13.1/tests/io/test_pooledhandle.cc:207:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f.read(b, 10) == 6); // read until end of file data/eckit-1.13.1/tests/io/test_pooledhandle.cc:232:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f1.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:237:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f2.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:242:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f3.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_pooledhandle.cc:247:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). EXPECT(f4.read(b, 1) == 1); data/eckit-1.13.1/tests/io/test_radoshandle.cc:49:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g.read(mem, mem.size()); data/eckit-1.13.1/tests/io/test_radoshandle.cc:86:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g.read(mem, mem.size()); data/eckit-1.13.1/tests/log/test_log_threads.cc:65:15: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. ::usleep(N * WAIT); data/eckit-1.13.1/tests/runtime/test_producer.cc:33:11: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. ::usleep(10000); data/eckit-1.13.1/tests/runtime/test_producer.cc:45:11: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. ::usleep(count_ * 10000); data/eckit-1.13.1/tests/sql/test_select.cc:93:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(reinterpret_cast<char*>(&data_[1]), STRING_DATA[idx_].c_str(), 16); data/eckit-1.13.1/tests/sql/test_simple_functions.cc:79:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). ::strncpy(reinterpret_cast<char*>(&data_[1]), STRING_DATA[idx_].c_str(), 16); data/eckit-1.13.1/tests/utils/compression-performance.cc:92:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(in2TGrib, length); data/eckit-1.13.1/tests/utils/compression-performance.cc:101:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(in2TgGrib, length); data/eckit-1.13.1/tests/utils/compression-performance.cc:110:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(inVO_DGrib, length); data/eckit-1.13.1/tests/utils/compression-performance.cc:119:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(inU_VGrib, length); data/eckit-1.13.1/tests/utils/compression-performance.cc:128:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dh->read(inQgGrib, length); ANALYSIS SUMMARY: Hits = 867 Lines analyzed = 131477 in approximately 3.02 seconds (43502 lines/second) Physical Source Lines of Code (SLOC) = 78224 Hits@level = [0] 144 [1] 395 [2] 294 [3] 63 [4] 102 [5] 13 Hits@level+ = [0+] 1011 [1+] 867 [2+] 472 [3+] 178 [4+] 115 [5+] 13 Hits/KSLOC@level+ = [0+] 12.9244 [1+] 11.0836 [2+] 6.03395 [3+] 2.27552 [4+] 1.47014 [5+] 0.166189 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.