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/aria2-1.35.0/test/Aria2ApiTest.cc
Examining data/aria2-1.35.0/test/TimegmTest.cc
Examining data/aria2-1.35.0/test/AsyncNameResolverTest.cc
Examining data/aria2-1.35.0/test/MetalinkProcessorTest.cc
Examining data/aria2-1.35.0/test/MetalinkParserControllerTest.cc
Examining data/aria2-1.35.0/test/MetalinkHelperTest.cc
Examining data/aria2-1.35.0/test/MetalinkPostDownloadHandlerTest.cc
Examining data/aria2-1.35.0/test/Metalink2RequestGroupTest.cc
Examining data/aria2-1.35.0/test/MetalinkEntryTest.cc
Examining data/aria2-1.35.0/test/MetalinkerTest.cc
Examining data/aria2-1.35.0/test/UDPTrackerClientTest.cc
Examining data/aria2-1.35.0/test/ExtensionMessageRegistryTest.cc
Examining data/aria2-1.35.0/test/ValueBaseBencodeParserTest.cc
Examining data/aria2-1.35.0/test/PeerConnectionTest.cc
Examining data/aria2-1.35.0/test/Bencode2Test.cc
Examining data/aria2-1.35.0/test/LpdMessageReceiverTest.cc
Examining data/aria2-1.35.0/test/LpdMessageDispatcherTest.cc
Examining data/aria2-1.35.0/test/extension_message_test_helper.h
Examining data/aria2-1.35.0/test/MockPieceSelector.h
Examining data/aria2-1.35.0/test/PriorityPieceSelectorTest.cc
Examining data/aria2-1.35.0/test/BittorrentHelperTest.cc
Examining data/aria2-1.35.0/test/MockPieceStorage.h
Examining data/aria2-1.35.0/test/MockExtensionMessageFactory.h
Examining data/aria2-1.35.0/test/MockExtensionMessage.h
Examining data/aria2-1.35.0/test/MockDHTTaskQueue.h
Examining data/aria2-1.35.0/test/MockDHTTaskFactory.h
Examining data/aria2-1.35.0/test/MockDHTTask.h
Examining data/aria2-1.35.0/test/MockDHTMessageFactory.h
Examining data/aria2-1.35.0/test/MockDHTMessageDispatcher.h
Examining data/aria2-1.35.0/test/MockDHTMessageCallback.h
Examining data/aria2-1.35.0/test/MockDHTMessage.h
Examining data/aria2-1.35.0/test/MockBtRequestFactory.h
Examining data/aria2-1.35.0/test/MockBtProgressInfoFile.h
Examining data/aria2-1.35.0/test/MockBtAnnounce.h
Examining data/aria2-1.35.0/test/MSEHandshakeTest.cc
Examining data/aria2-1.35.0/test/ARC4Test.cc
Examining data/aria2-1.35.0/test/DHKeyExchangeTest.cc
Examining data/aria2-1.35.0/test/DHTTaskExecutorTest.cc
Examining data/aria2-1.35.0/test/DHTRoutingTableDeserializerTest.cc
Examining data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc
Examining data/aria2-1.35.0/test/DHTIDCloserTest.cc
Examining data/aria2-1.35.0/test/XORCloserTest.cc
Examining data/aria2-1.35.0/test/DHTTokenTrackerTest.cc
Examining data/aria2-1.35.0/test/DHTPeerAnnounceStorageTest.cc
Examining data/aria2-1.35.0/test/DHTPeerAnnounceEntryTest.cc
Examining data/aria2-1.35.0/test/DHTBucketTreeTest.cc
Examining data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc
Examining data/aria2-1.35.0/test/DHTUnknownMessageTest.cc
Examining data/aria2-1.35.0/test/DHTAnnouncePeerReplyMessageTest.cc
Examining data/aria2-1.35.0/test/DHTAnnouncePeerMessageTest.cc
Examining data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc
Examining data/aria2-1.35.0/test/DHTGetPeersMessageTest.cc
Examining data/aria2-1.35.0/test/DHTFindNodeReplyMessageTest.cc
Examining data/aria2-1.35.0/test/DHTFindNodeMessageTest.cc
Examining data/aria2-1.35.0/test/DHTPingReplyMessageTest.cc
Examining data/aria2-1.35.0/test/DHTPingMessageTest.cc
Examining data/aria2-1.35.0/test/DHTConnectionImplTest.cc
Examining data/aria2-1.35.0/test/DHTMessageTrackerTest.cc
Examining data/aria2-1.35.0/test/DHTMessageTrackerEntryTest.cc
Examining data/aria2-1.35.0/test/DHTRoutingTableTest.cc
Examining data/aria2-1.35.0/test/DHTBucketTest.cc
Examining data/aria2-1.35.0/test/DHTNodeTest.cc
Examining data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc
Examining data/aria2-1.35.0/test/DefaultBtMessageFactoryTest.cc
Examining data/aria2-1.35.0/test/MagnetTest.cc
Examining data/aria2-1.35.0/test/UTMetadataPostDownloadHandlerTest.cc
Examining data/aria2-1.35.0/test/UTMetadataRequestFactoryTest.cc
Examining data/aria2-1.35.0/test/UTMetadataRequestTrackerTest.cc
Examining data/aria2-1.35.0/test/UTMetadataRejectExtensionMessageTest.cc
Examining data/aria2-1.35.0/test/UTMetadataDataExtensionMessageTest.cc
Examining data/aria2-1.35.0/test/UTMetadataRequestExtensionMessageTest.cc
Examining data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc
Examining data/aria2-1.35.0/test/HandshakeExtensionMessageTest.cc
Examining data/aria2-1.35.0/test/BtExtendedMessageTest.cc
Examining data/aria2-1.35.0/test/TimeSeedCriteriaTest.cc
Examining data/aria2-1.35.0/test/BtPostDownloadHandlerTest.cc
Examining data/aria2-1.35.0/test/BtDependencyTest.cc
Examining data/aria2-1.35.0/test/BtRegistryTest.cc
Examining data/aria2-1.35.0/test/ShareRatioSeedCriteriaTest.cc
Examining data/aria2-1.35.0/test/PeerSessionResourceTest.cc
Examining data/aria2-1.35.0/test/PeerTest.cc
Examining data/aria2-1.35.0/test/ByteArrayDiskWriterTest.cc
Examining data/aria2-1.35.0/test/MockPeerStorage.h
Examining data/aria2-1.35.0/test/DefaultPeerStorageTest.cc
Examining data/aria2-1.35.0/test/AnnounceListTest.cc
Examining data/aria2-1.35.0/test/MockBtMessageFactory.h
Examining data/aria2-1.35.0/test/MockBtMessageDispatcher.h
Examining data/aria2-1.35.0/test/MockBtMessage.h
Examining data/aria2-1.35.0/test/DefaultBtRequestFactoryTest.cc
Examining data/aria2-1.35.0/test/DefaultBtMessageDispatcherTest.cc
Examining data/aria2-1.35.0/test/DefaultBtAnnounceTest.cc
Examining data/aria2-1.35.0/test/DefaultPieceStorageTest.cc
Examining data/aria2-1.35.0/test/BtUnchokeMessageTest.cc
Examining data/aria2-1.35.0/test/BtSuggestPieceMessageTest.cc
Examining data/aria2-1.35.0/test/BtRequestMessageTest.cc
Examining data/aria2-1.35.0/test/BtRejectMessageTest.cc
Examining data/aria2-1.35.0/test/BtPortMessageTest.cc
Examining data/aria2-1.35.0/test/BtPieceMessageTest.cc
Examining data/aria2-1.35.0/test/BtNotInterestedMessageTest.cc
Examining data/aria2-1.35.0/test/BtKeepAliveMessageTest.cc
Examining data/aria2-1.35.0/test/BtInterestedMessageTest.cc
Examining data/aria2-1.35.0/test/BtHaveNoneMessageTest.cc
Examining data/aria2-1.35.0/test/BtHaveMessageTest.cc
Examining data/aria2-1.35.0/test/BtHaveAllMessageTest.cc
Examining data/aria2-1.35.0/test/BtHandshakeMessageTest.cc
Examining data/aria2-1.35.0/test/BtChokeMessageTest.cc
Examining data/aria2-1.35.0/test/BtCancelMessageTest.cc
Examining data/aria2-1.35.0/test/BtBitfieldMessageTest.cc
Examining data/aria2-1.35.0/test/BtAllowedFastMessageTest.cc
Examining data/aria2-1.35.0/test/MessageDigestTest.cc
Examining data/aria2-1.35.0/test/IteratableChecksumValidatorTest.cc
Examining data/aria2-1.35.0/test/IteratableChunkChecksumValidatorTest.cc
Examining data/aria2-1.35.0/test/MessageDigestHelperTest.cc
Examining data/aria2-1.35.0/test/Sqlite3CookieParserTest.cc
Examining data/aria2-1.35.0/test/GZipFileTest.cc
Examining data/aria2-1.35.0/test/GZipDecodingStreamFilterTest.cc
Examining data/aria2-1.35.0/test/GZipEncoderTest.cc
Examining data/aria2-1.35.0/test/GZipDecoderTest.cc
Examining data/aria2-1.35.0/test/GZipDecoder.h
Examining data/aria2-1.35.0/test/GZipDecoder.cc
Examining data/aria2-1.35.0/test/FallocFileAllocationIteratorTest.cc
Examining data/aria2-1.35.0/test/XmlRpcRequestParserControllerTest.cc
Examining data/aria2-1.35.0/test/IndexedListTest.cc
Examining data/aria2-1.35.0/test/GroupIdTest.cc
Examining data/aria2-1.35.0/test/WrDiskCacheEntryTest.cc
Examining data/aria2-1.35.0/test/WrDiskCacheTest.cc
Examining data/aria2-1.35.0/test/SinkStreamFilterTest.cc
Examining data/aria2-1.35.0/test/AbstractCommandTest.cc
Examining data/aria2-1.35.0/test/RpcHelperTest.cc
Examining data/aria2-1.35.0/test/ParamedStringTest.cc
Examining data/aria2-1.35.0/test/SegListTest.cc
Examining data/aria2-1.35.0/test/GeomStreamPieceSelectorTest.cc
Examining data/aria2-1.35.0/test/BufferedFileTest.cc
Examining data/aria2-1.35.0/test/HttpServerTest.cc
Examining data/aria2-1.35.0/test/RpcMethodTest.cc
Examining data/aria2-1.35.0/test/RpcResponseTest.cc
Examining data/aria2-1.35.0/test/ValueBaseJsonParserTest.cc
Examining data/aria2-1.35.0/test/JsonTest.cc
Examining data/aria2-1.35.0/test/CookieHelperTest.cc
Examining data/aria2-1.35.0/test/MockSegment.h
Examining data/aria2-1.35.0/test/UriSplitTest.cc
Examining data/aria2-1.35.0/test/UriTest.cc
Examining data/aria2-1.35.0/test/ChunkedDecodingStreamFilterTest.cc
Examining data/aria2-1.35.0/test/ValueBaseTest.cc
Examining data/aria2-1.35.0/test/SessionSerializerTest.cc
Examining data/aria2-1.35.0/test/DownloadContextTest.cc
Examining data/aria2-1.35.0/test/bitfieldTest.cc
Examining data/aria2-1.35.0/test/a2algoTest.cc
Examining data/aria2-1.35.0/test/LongestSequencePieceSelectorTest.cc
Examining data/aria2-1.35.0/test/InorderPieceSelector.h
Examining data/aria2-1.35.0/test/PieceStatManTest.cc
Examining data/aria2-1.35.0/test/RarestPieceSelectorTest.cc
Examining data/aria2-1.35.0/test/SequentialPickerTest.cc
Examining data/aria2-1.35.0/test/DownloadHelperTest.cc
Examining data/aria2-1.35.0/test/DNSCacheTest.cc
Examining data/aria2-1.35.0/test/OptionParserTest.cc
Examining data/aria2-1.35.0/test/FtpConnectionTest.cc
Examining data/aria2-1.35.0/test/TimeTest.cc
Examining data/aria2-1.35.0/test/CookieStorageTest.cc
Examining data/aria2-1.35.0/test/CookieTest.cc
Examining data/aria2-1.35.0/test/DirectDiskAdaptorTest.cc
Examining data/aria2-1.35.0/test/NsCookieParserTest.cc
Examining data/aria2-1.35.0/test/ServerStatTest.cc
Examining data/aria2-1.35.0/test/InorderURISelectorTest.cc
Examining data/aria2-1.35.0/test/FeedbackURISelectorTest.cc
Examining data/aria2-1.35.0/test/ServerStatManTest.cc
Examining data/aria2-1.35.0/test/SignatureTest.cc
Examining data/aria2-1.35.0/test/DownloadHandlersTest.cc
Examining data/aria2-1.35.0/test/FmtTest.cc
Examining data/aria2-1.35.0/test/ExceptionTest.cc
Examining data/aria2-1.35.0/test/ProtocolDetectorTest.cc
Examining data/aria2-1.35.0/test/FixedNumberRandomizer.h
Examining data/aria2-1.35.0/test/MultiFileAllocationIteratorTest.cc
Examining data/aria2-1.35.0/test/MultiDiskAdaptorTest.cc
Examining data/aria2-1.35.0/test/SpeedCalcTest.cc
Examining data/aria2-1.35.0/test/FeatureConfigTest.cc
Examining data/aria2-1.35.0/test/DefaultDiskWriterTest.cc
Examining data/aria2-1.35.0/test/OptionTest.cc
Examining data/aria2-1.35.0/test/FileTest.cc
Examining data/aria2-1.35.0/test/HttpResponseTest.cc
Examining data/aria2-1.35.0/test/HttpHeaderTest.cc
Examining data/aria2-1.35.0/test/SingletonHolderTest.cc
Examining data/aria2-1.35.0/test/NetrcTest.cc
Examining data/aria2-1.35.0/test/BitfieldManTest.cc
Examining data/aria2-1.35.0/test/SegmentManTest.cc
Examining data/aria2-1.35.0/test/OptionHandlerTest.cc
Examining data/aria2-1.35.0/test/DefaultAuthResolverTest.cc
Examining data/aria2-1.35.0/test/NetrcAuthResolverTest.cc
Examining data/aria2-1.35.0/test/AuthConfigFactoryTest.cc
Examining data/aria2-1.35.0/test/RequestGroupManTest.cc
Examining data/aria2-1.35.0/test/HttpRequestTest.cc
Examining data/aria2-1.35.0/test/RequestTest.cc
Examining data/aria2-1.35.0/test/HttpHeaderProcessorTest.cc
Examining data/aria2-1.35.0/test/UriListParserTest.cc
Examining data/aria2-1.35.0/test/UtilSecurityTest.cc
Examining data/aria2-1.35.0/test/UtilTest2.cc
Examining data/aria2-1.35.0/test/UtilTest1.cc
Examining data/aria2-1.35.0/test/RequestGroupTest.cc
Examining data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc
Examining data/aria2-1.35.0/test/SingleFileAllocationIteratorTest.cc
Examining data/aria2-1.35.0/test/GrowSegmentTest.cc
Examining data/aria2-1.35.0/test/SegmentTest.cc
Examining data/aria2-1.35.0/test/PieceTest.cc
Examining data/aria2-1.35.0/test/FileEntryTest.cc
Examining data/aria2-1.35.0/test/a2functionalTest.cc
Examining data/aria2-1.35.0/test/Base32Test.cc
Examining data/aria2-1.35.0/test/Base64Test.cc
Examining data/aria2-1.35.0/test/array_funTest.cc
Examining data/aria2-1.35.0/test/SocketCoreTest.cc
Examining data/aria2-1.35.0/test/TestUtil.h
Examining data/aria2-1.35.0/test/TestUtil.cc
Examining data/aria2-1.35.0/test/AllTest.cc
Examining data/aria2-1.35.0/src/includes/aria2/aria2.h
Examining data/aria2-1.35.0/src/main.cc
Examining data/aria2-1.35.0/src/KeepRunningCommand.h
Examining data/aria2-1.35.0/src/KeepRunningCommand.cc
Examining data/aria2-1.35.0/src/aria2api.h
Examining data/aria2-1.35.0/src/aria2api.cc
Examining data/aria2-1.35.0/src/ApiCallbackDownloadEventListener.h
Examining data/aria2-1.35.0/src/ApiCallbackDownloadEventListener.cc
Examining data/aria2-1.35.0/src/LibuvEventPoll.h
Examining data/aria2-1.35.0/src/LibuvEventPoll.cc
Examining data/aria2-1.35.0/src/KqueueEventPoll.h
Examining data/aria2-1.35.0/src/KqueueEventPoll.cc
Examining data/aria2-1.35.0/src/PortEventPoll.h
Examining data/aria2-1.35.0/src/PortEventPoll.cc
Examining data/aria2-1.35.0/src/PollEventPoll.h
Examining data/aria2-1.35.0/src/PollEventPoll.cc
Examining data/aria2-1.35.0/src/daemon.h
Examining data/aria2-1.35.0/src/daemon.cc
Examining data/aria2-1.35.0/src/timegm.h
Examining data/aria2-1.35.0/src/timegm.c
Examining data/aria2-1.35.0/src/strptime.h
Examining data/aria2-1.35.0/src/strptime.c
Examining data/aria2-1.35.0/src/localtime_r.h
Examining data/aria2-1.35.0/src/localtime_r.c
Examining data/aria2-1.35.0/src/gettimeofday.h
Examining data/aria2-1.35.0/src/gettimeofday.c
Examining data/aria2-1.35.0/src/gai_strerror.h
Examining data/aria2-1.35.0/src/gai_strerror.c
Examining data/aria2-1.35.0/src/getaddrinfo.h
Examining data/aria2-1.35.0/src/getaddrinfo.c
Examining data/aria2-1.35.0/src/libgen.h
Examining data/aria2-1.35.0/src/libgen.c
Examining data/aria2-1.35.0/src/asctime_r.h
Examining data/aria2-1.35.0/src/asctime_r.c
Examining data/aria2-1.35.0/src/metalink_helper.h
Examining data/aria2-1.35.0/src/metalink_helper.cc
Examining data/aria2-1.35.0/src/MetalinkResource.h
Examining data/aria2-1.35.0/src/MetalinkResource.cc
Examining data/aria2-1.35.0/src/MetalinkPostDownloadHandler.h
Examining data/aria2-1.35.0/src/MetalinkPostDownloadHandler.cc
Examining data/aria2-1.35.0/src/MetalinkParserStateV4Impl.h
Examining data/aria2-1.35.0/src/MetalinkParserStateV4Impl.cc
Examining data/aria2-1.35.0/src/MetalinkParserStateV3Impl.h
Examining data/aria2-1.35.0/src/MetalinkParserStateV3Impl.cc
Examining data/aria2-1.35.0/src/MetalinkParserStateMachine.h
Examining data/aria2-1.35.0/src/MetalinkParserStateMachine.cc
Examining data/aria2-1.35.0/src/MetalinkParserStateImpl.h
Examining data/aria2-1.35.0/src/MetalinkParserStateImpl.cc
Examining data/aria2-1.35.0/src/MetalinkParserState.h
Examining data/aria2-1.35.0/src/MetalinkParserState.cc
Examining data/aria2-1.35.0/src/MetalinkParserController.h
Examining data/aria2-1.35.0/src/MetalinkParserController.cc
Examining data/aria2-1.35.0/src/MetalinkMetaurl.h
Examining data/aria2-1.35.0/src/MetalinkMetaurl.cc
Examining data/aria2-1.35.0/src/Metalinker.h
Examining data/aria2-1.35.0/src/Metalinker.cc
Examining data/aria2-1.35.0/src/MetalinkEntry.h
Examining data/aria2-1.35.0/src/MetalinkEntry.cc
Examining data/aria2-1.35.0/src/Metalink2RequestGroup.h
Examining data/aria2-1.35.0/src/Metalink2RequestGroup.cc
Examining data/aria2-1.35.0/src/ZeroBtMessage.h
Examining data/aria2-1.35.0/src/ZeroBtMessage.cc
Examining data/aria2-1.35.0/src/XORCloser.h
Examining data/aria2-1.35.0/src/ValueBaseBencodeParser.h
Examining data/aria2-1.35.0/src/UTPexExtensionMessage.h
Examining data/aria2-1.35.0/src/UTPexExtensionMessage.cc
Examining data/aria2-1.35.0/src/UTMetadataRequestTracker.h
Examining data/aria2-1.35.0/src/UTMetadataRequestTracker.cc
Examining data/aria2-1.35.0/src/UTMetadataRequestFactory.h
Examining data/aria2-1.35.0/src/UTMetadataRequestFactory.cc
Examining data/aria2-1.35.0/src/UTMetadataRequestExtensionMessage.h
Examining data/aria2-1.35.0/src/UTMetadataRequestExtensionMessage.cc
Examining data/aria2-1.35.0/src/UTMetadataRejectExtensionMessage.h
Examining data/aria2-1.35.0/src/UTMetadataRejectExtensionMessage.cc
Examining data/aria2-1.35.0/src/UTMetadataPostDownloadHandler.h
Examining data/aria2-1.35.0/src/UTMetadataPostDownloadHandler.cc
Examining data/aria2-1.35.0/src/UTMetadataExtensionMessage.h
Examining data/aria2-1.35.0/src/UTMetadataExtensionMessage.cc
Examining data/aria2-1.35.0/src/UTMetadataDataExtensionMessage.h
Examining data/aria2-1.35.0/src/UTMetadataDataExtensionMessage.cc
Examining data/aria2-1.35.0/src/UnionSeedCriteria.h
Examining data/aria2-1.35.0/src/UnionSeedCriteria.cc
Examining data/aria2-1.35.0/src/UDPTrackerRequest.h
Examining data/aria2-1.35.0/src/UDPTrackerRequest.cc
Examining data/aria2-1.35.0/src/UDPTrackerClient.h
Examining data/aria2-1.35.0/src/UDPTrackerClient.cc
Examining data/aria2-1.35.0/src/TrackerWatcherCommand.h
Examining data/aria2-1.35.0/src/TrackerWatcherCommand.cc
Examining data/aria2-1.35.0/src/TimeSeedCriteria.h
Examining data/aria2-1.35.0/src/TimeSeedCriteria.cc
Examining data/aria2-1.35.0/src/SimpleBtMessage.h
Examining data/aria2-1.35.0/src/SimpleBtMessage.cc
Examining data/aria2-1.35.0/src/ShareRatioSeedCriteria.h
Examining data/aria2-1.35.0/src/ShareRatioSeedCriteria.cc
Examining data/aria2-1.35.0/src/SeedCriteria.h
Examining data/aria2-1.35.0/src/SeedCheckCommand.h
Examining data/aria2-1.35.0/src/SeedCheckCommand.cc
Examining data/aria2-1.35.0/src/RequestSlot.h
Examining data/aria2-1.35.0/src/RequestSlot.cc
Examining data/aria2-1.35.0/src/ReceiverMSEHandshakeCommand.h
Examining data/aria2-1.35.0/src/ReceiverMSEHandshakeCommand.cc
Examining data/aria2-1.35.0/src/RangeBtMessageValidator.h
Examining data/aria2-1.35.0/src/RangeBtMessageValidator.cc
Examining data/aria2-1.35.0/src/RangeBtMessage.h
Examining data/aria2-1.35.0/src/RangeBtMessage.cc
Examining data/aria2-1.35.0/src/PriorityPieceSelector.h
Examining data/aria2-1.35.0/src/PriorityPieceSelector.cc
Examining data/aria2-1.35.0/src/PeerStorage.h
Examining data/aria2-1.35.0/src/PeerSessionResource.h
Examining data/aria2-1.35.0/src/PeerSessionResource.cc
Examining data/aria2-1.35.0/src/PeerReceiveHandshakeCommand.h
Examining data/aria2-1.35.0/src/PeerReceiveHandshakeCommand.cc
Examining data/aria2-1.35.0/src/PeerListenCommand.h
Examining data/aria2-1.35.0/src/PeerListenCommand.cc
Examining data/aria2-1.35.0/src/PeerInteractionCommand.h
Examining data/aria2-1.35.0/src/PeerInteractionCommand.cc
Examining data/aria2-1.35.0/src/PeerInitiateConnectionCommand.h
Examining data/aria2-1.35.0/src/PeerInitiateConnectionCommand.cc
Examining data/aria2-1.35.0/src/PeerConnection.h
Examining data/aria2-1.35.0/src/PeerConnection.cc
Examining data/aria2-1.35.0/src/PeerChokeCommand.h
Examining data/aria2-1.35.0/src/PeerChokeCommand.cc
Examining data/aria2-1.35.0/src/PeerAddrEntry.h
Examining data/aria2-1.35.0/src/PeerAddrEntry.cc
Examining data/aria2-1.35.0/src/PeerAbstractCommand.h
Examining data/aria2-1.35.0/src/PeerAbstractCommand.cc
Examining data/aria2-1.35.0/src/Peer.h
Examining data/aria2-1.35.0/src/Peer.cc
Examining data/aria2-1.35.0/src/NameResolveCommand.h
Examining data/aria2-1.35.0/src/NameResolveCommand.cc
Examining data/aria2-1.35.0/src/MSEHandshake.h
Examining data/aria2-1.35.0/src/MSEHandshake.cc
Examining data/aria2-1.35.0/src/MemoryBencodePreDownloadHandler.h
Examining data/aria2-1.35.0/src/magnet.h
Examining data/aria2-1.35.0/src/magnet.cc
Examining data/aria2-1.35.0/src/LpdReceiveMessageCommand.h
Examining data/aria2-1.35.0/src/LpdReceiveMessageCommand.cc
Examining data/aria2-1.35.0/src/LpdMessageReceiver.h
Examining data/aria2-1.35.0/src/LpdMessageReceiver.cc
Examining data/aria2-1.35.0/src/LpdMessageDispatcher.h
Examining data/aria2-1.35.0/src/LpdMessageDispatcher.cc
Examining data/aria2-1.35.0/src/LpdMessage.h
Examining data/aria2-1.35.0/src/LpdMessage.cc
Examining data/aria2-1.35.0/src/LpdDispatchMessageCommand.h
Examining data/aria2-1.35.0/src/LpdDispatchMessageCommand.cc
Examining data/aria2-1.35.0/src/InitiatorMSEHandshakeCommand.h
Examining data/aria2-1.35.0/src/InitiatorMSEHandshakeCommand.cc
Examining data/aria2-1.35.0/src/IndexBtMessageValidator.h
Examining data/aria2-1.35.0/src/IndexBtMessageValidator.cc
Examining data/aria2-1.35.0/src/IndexBtMessage.h
Examining data/aria2-1.35.0/src/IndexBtMessage.cc
Examining data/aria2-1.35.0/src/HandshakeExtensionMessage.h
Examining data/aria2-1.35.0/src/HandshakeExtensionMessage.cc
Examining data/aria2-1.35.0/src/ExtensionMessageRegistry.h
Examining data/aria2-1.35.0/src/ExtensionMessageRegistry.cc
Examining data/aria2-1.35.0/src/ExtensionMessageFactory.h
Examining data/aria2-1.35.0/src/ExtensionMessage.h
Examining data/aria2-1.35.0/src/DHTUnknownMessage.h
Examining data/aria2-1.35.0/src/DHTUnknownMessage.cc
Examining data/aria2-1.35.0/src/DHTTokenUpdateCommand.h
Examining data/aria2-1.35.0/src/DHTTokenUpdateCommand.cc
Examining data/aria2-1.35.0/src/DHTTokenTracker.h
Examining data/aria2-1.35.0/src/DHTTokenTracker.cc
Examining data/aria2-1.35.0/src/DHTTaskQueueImpl.h
Examining data/aria2-1.35.0/src/DHTTaskQueueImpl.cc
Examining data/aria2-1.35.0/src/DHTTaskQueue.h
Examining data/aria2-1.35.0/src/DHTTaskFactoryImpl.h
Examining data/aria2-1.35.0/src/DHTTaskFactoryImpl.cc
Examining data/aria2-1.35.0/src/DHTTaskFactory.h
Examining data/aria2-1.35.0/src/DHTTaskExecutor.h
Examining data/aria2-1.35.0/src/DHTTaskExecutor.cc
Examining data/aria2-1.35.0/src/DHTTask.h
Examining data/aria2-1.35.0/src/DHTSetup.h
Examining data/aria2-1.35.0/src/DHTSetup.cc
Examining data/aria2-1.35.0/src/DHTRoutingTableSerializer.h
Examining data/aria2-1.35.0/src/DHTRoutingTableSerializer.cc
Examining data/aria2-1.35.0/src/DHTRoutingTableDeserializer.h
Examining data/aria2-1.35.0/src/DHTRoutingTableDeserializer.cc
Examining data/aria2-1.35.0/src/DHTRoutingTable.h
Examining data/aria2-1.35.0/src/DHTRoutingTable.cc
Examining data/aria2-1.35.0/src/DHTResponseMessage.h
Examining data/aria2-1.35.0/src/DHTResponseMessage.cc
Examining data/aria2-1.35.0/src/DHTReplaceNodeTask.h
Examining data/aria2-1.35.0/src/DHTReplaceNodeTask.cc
Examining data/aria2-1.35.0/src/DHTRegistry.h
Examining data/aria2-1.35.0/src/DHTRegistry.cc
Examining data/aria2-1.35.0/src/DHTQueryMessage.h
Examining data/aria2-1.35.0/src/DHTQueryMessage.cc
Examining data/aria2-1.35.0/src/DHTPingTask.h
Examining data/aria2-1.35.0/src/DHTPingTask.cc
Examining data/aria2-1.35.0/src/DHTPingReplyMessageCallback.h
Examining data/aria2-1.35.0/src/DHTPingReplyMessage.h
Examining data/aria2-1.35.0/src/DHTPingReplyMessage.cc
Examining data/aria2-1.35.0/src/DHTPingMessage.h
Examining data/aria2-1.35.0/src/DHTPingMessage.cc
Examining data/aria2-1.35.0/src/DHTPeerLookupTaskCallback.h
Examining data/aria2-1.35.0/src/DHTPeerLookupTaskCallback.cc
Examining data/aria2-1.35.0/src/DHTPeerLookupTask.h
Examining data/aria2-1.35.0/src/DHTPeerLookupTask.cc
Examining data/aria2-1.35.0/src/DHTPeerAnnounceStorage.h
Examining data/aria2-1.35.0/src/DHTPeerAnnounceStorage.cc
Examining data/aria2-1.35.0/src/DHTPeerAnnounceEntry.h
Examining data/aria2-1.35.0/src/DHTPeerAnnounceEntry.cc
Examining data/aria2-1.35.0/src/DHTPeerAnnounceCommand.h
Examining data/aria2-1.35.0/src/DHTPeerAnnounceCommand.cc
Examining data/aria2-1.35.0/src/DHTNodeLookupTaskCallback.h
Examining data/aria2-1.35.0/src/DHTNodeLookupTaskCallback.cc
Examining data/aria2-1.35.0/src/DHTNodeLookupTask.h
Examining data/aria2-1.35.0/src/DHTNodeLookupTask.cc
Examining data/aria2-1.35.0/src/DHTNodeLookupEntry.h
Examining data/aria2-1.35.0/src/DHTNodeLookupEntry.cc
Examining data/aria2-1.35.0/src/DHTNode.h
Examining data/aria2-1.35.0/src/DHTNode.cc
Examining data/aria2-1.35.0/src/DHTMessageTrackerEntry.h
Examining data/aria2-1.35.0/src/DHTMessageTrackerEntry.cc
Examining data/aria2-1.35.0/src/DHTMessageTracker.h
Examining data/aria2-1.35.0/src/DHTMessageTracker.cc
Examining data/aria2-1.35.0/src/DHTMessageReceiver.h
Examining data/aria2-1.35.0/src/DHTMessageReceiver.cc
Examining data/aria2-1.35.0/src/DHTMessageFactoryImpl.h
Examining data/aria2-1.35.0/src/DHTMessageFactoryImpl.cc
Examining data/aria2-1.35.0/src/DHTMessageFactory.h
Examining data/aria2-1.35.0/src/DHTMessageEntry.h
Examining data/aria2-1.35.0/src/DHTMessageEntry.cc
Examining data/aria2-1.35.0/src/DHTMessageDispatcherImpl.h
Examining data/aria2-1.35.0/src/DHTMessageDispatcherImpl.cc
Examining data/aria2-1.35.0/src/DHTMessageDispatcher.h
Examining data/aria2-1.35.0/src/DHTMessageCallback.h
Examining data/aria2-1.35.0/src/DHTMessage.h
Examining data/aria2-1.35.0/src/DHTMessage.cc
Examining data/aria2-1.35.0/src/DHTInteractionCommand.h
Examining data/aria2-1.35.0/src/DHTInteractionCommand.cc
Examining data/aria2-1.35.0/src/DHTIDCloser.h
Examining data/aria2-1.35.0/src/DHTGetPeersReplyMessage.h
Examining data/aria2-1.35.0/src/DHTGetPeersReplyMessage.cc
Examining data/aria2-1.35.0/src/DHTGetPeersMessage.h
Examining data/aria2-1.35.0/src/DHTGetPeersMessage.cc
Examining data/aria2-1.35.0/src/DHTGetPeersCommand.h
Examining data/aria2-1.35.0/src/DHTGetPeersCommand.cc
Examining data/aria2-1.35.0/src/DHTFindNodeReplyMessage.h
Examining data/aria2-1.35.0/src/DHTFindNodeReplyMessage.cc
Examining data/aria2-1.35.0/src/DHTFindNodeMessage.h
Examining data/aria2-1.35.0/src/DHTFindNodeMessage.cc
Examining data/aria2-1.35.0/src/DHTEntryPointNameResolveCommand.h
Examining data/aria2-1.35.0/src/DHTEntryPointNameResolveCommand.cc
Examining data/aria2-1.35.0/src/DHTConstants.h
Examining data/aria2-1.35.0/src/DHTConnectionImpl.h
Examining data/aria2-1.35.0/src/DHTConnectionImpl.cc
Examining data/aria2-1.35.0/src/DHTConnection.h
Examining data/aria2-1.35.0/src/DHTBucketTree.h
Examining data/aria2-1.35.0/src/DHTBucketTree.cc
Examining data/aria2-1.35.0/src/DHTBucketRefreshTask.h
Examining data/aria2-1.35.0/src/DHTBucketRefreshTask.cc
Examining data/aria2-1.35.0/src/DHTBucketRefreshCommand.h
Examining data/aria2-1.35.0/src/DHTBucketRefreshCommand.cc
Examining data/aria2-1.35.0/src/DHTBucket.h
Examining data/aria2-1.35.0/src/DHTBucket.cc
Examining data/aria2-1.35.0/src/DHTAutoSaveCommand.h
Examining data/aria2-1.35.0/src/DHTAutoSaveCommand.cc
Examining data/aria2-1.35.0/src/DHTAnnouncePeerReplyMessage.h
Examining data/aria2-1.35.0/src/DHTAnnouncePeerReplyMessage.cc
Examining data/aria2-1.35.0/src/DHTAnnouncePeerMessage.h
Examining data/aria2-1.35.0/src/DHTAnnouncePeerMessage.cc
Examining data/aria2-1.35.0/src/DHTAbstractTask.h
Examining data/aria2-1.35.0/src/DHTAbstractTask.cc
Examining data/aria2-1.35.0/src/DHTAbstractNodeLookupTask.h
Examining data/aria2-1.35.0/src/DHTAbstractMessage.h
Examining data/aria2-1.35.0/src/DHTAbstractMessage.cc
Examining data/aria2-1.35.0/src/DHKeyExchange.h
Examining data/aria2-1.35.0/src/DefaultPeerStorage.h
Examining data/aria2-1.35.0/src/DefaultPeerStorage.cc
Examining data/aria2-1.35.0/src/DefaultExtensionMessageFactory.h
Examining data/aria2-1.35.0/src/DefaultExtensionMessageFactory.cc
Examining data/aria2-1.35.0/src/DefaultBtRequestFactory.h
Examining data/aria2-1.35.0/src/DefaultBtRequestFactory.cc
Examining data/aria2-1.35.0/src/DefaultBtMessageReceiver.h
Examining data/aria2-1.35.0/src/DefaultBtMessageReceiver.cc
Examining data/aria2-1.35.0/src/DefaultBtMessageFactory.h
Examining data/aria2-1.35.0/src/DefaultBtMessageFactory.cc
Examining data/aria2-1.35.0/src/DefaultBtMessageDispatcher.h
Examining data/aria2-1.35.0/src/DefaultBtMessageDispatcher.cc
Examining data/aria2-1.35.0/src/DefaultBtInteractive.h
Examining data/aria2-1.35.0/src/DefaultBtInteractive.cc
Examining data/aria2-1.35.0/src/DefaultBtAnnounce.h
Examining data/aria2-1.35.0/src/DefaultBtAnnounce.cc
Examining data/aria2-1.35.0/src/BtUnchokeMessage.h
Examining data/aria2-1.35.0/src/BtUnchokeMessage.cc
Examining data/aria2-1.35.0/src/BtSuggestPieceMessage.h
Examining data/aria2-1.35.0/src/BtSuggestPieceMessage.cc
Examining data/aria2-1.35.0/src/BtStopDownloadCommand.h
Examining data/aria2-1.35.0/src/BtStopDownloadCommand.cc
Examining data/aria2-1.35.0/src/BtSetup.h
Examining data/aria2-1.35.0/src/BtSetup.cc
Examining data/aria2-1.35.0/src/BtSeederStateChoke.h
Examining data/aria2-1.35.0/src/BtSeederStateChoke.cc
Examining data/aria2-1.35.0/src/BtRuntime.h
Examining data/aria2-1.35.0/src/BtRuntime.cc
Examining data/aria2-1.35.0/src/BtRequestMessage.h
Examining data/aria2-1.35.0/src/BtRequestMessage.cc
Examining data/aria2-1.35.0/src/BtRequestFactory.h
Examining data/aria2-1.35.0/src/BtRejectMessage.h
Examining data/aria2-1.35.0/src/BtRejectMessage.cc
Examining data/aria2-1.35.0/src/BtRegistry.h
Examining data/aria2-1.35.0/src/BtRegistry.cc
Examining data/aria2-1.35.0/src/BtPostDownloadHandler.h
Examining data/aria2-1.35.0/src/BtPostDownloadHandler.cc
Examining data/aria2-1.35.0/src/BtPortMessage.h
Examining data/aria2-1.35.0/src/BtPortMessage.cc
Examining data/aria2-1.35.0/src/BtPieceMessageValidator.h
Examining data/aria2-1.35.0/src/BtPieceMessageValidator.cc
Examining data/aria2-1.35.0/src/BtPieceMessage.h
Examining data/aria2-1.35.0/src/BtPieceMessage.cc
Examining data/aria2-1.35.0/src/BtNotInterestedMessage.h
Examining data/aria2-1.35.0/src/BtNotInterestedMessage.cc
Examining data/aria2-1.35.0/src/BtMessageValidator.h
Examining data/aria2-1.35.0/src/BtMessageReceiver.h
Examining data/aria2-1.35.0/src/BtMessageFactory.h
Examining data/aria2-1.35.0/src/BtMessageDispatcher.h
Examining data/aria2-1.35.0/src/BtMessage.h
Examining data/aria2-1.35.0/src/BtLeecherStateChoke.h
Examining data/aria2-1.35.0/src/BtLeecherStateChoke.cc
Examining data/aria2-1.35.0/src/BtKeepAliveMessage.h
Examining data/aria2-1.35.0/src/BtKeepAliveMessage.cc
Examining data/aria2-1.35.0/src/BtInterestedMessage.h
Examining data/aria2-1.35.0/src/BtInterestedMessage.cc
Examining data/aria2-1.35.0/src/BtInteractive.h
Examining data/aria2-1.35.0/src/BtHaveNoneMessage.h
Examining data/aria2-1.35.0/src/BtHaveNoneMessage.cc
Examining data/aria2-1.35.0/src/BtHaveMessage.h
Examining data/aria2-1.35.0/src/BtHaveMessage.cc
Examining data/aria2-1.35.0/src/BtHaveAllMessage.h
Examining data/aria2-1.35.0/src/BtHaveAllMessage.cc
Examining data/aria2-1.35.0/src/BtHandshakeMessageValidator.h
Examining data/aria2-1.35.0/src/BtHandshakeMessageValidator.cc
Examining data/aria2-1.35.0/src/BtHandshakeMessage.h
Examining data/aria2-1.35.0/src/BtHandshakeMessage.cc
Examining data/aria2-1.35.0/src/BtFileAllocationEntry.h
Examining data/aria2-1.35.0/src/BtFileAllocationEntry.cc
Examining data/aria2-1.35.0/src/BtExtendedMessage.h
Examining data/aria2-1.35.0/src/BtExtendedMessage.cc
Examining data/aria2-1.35.0/src/BtDependency.h
Examining data/aria2-1.35.0/src/BtDependency.cc
Examining data/aria2-1.35.0/src/BtConstants.h
Examining data/aria2-1.35.0/src/BtChokingEvent.h
Examining data/aria2-1.35.0/src/BtChokeMessage.h
Examining data/aria2-1.35.0/src/BtChokeMessage.cc
Examining data/aria2-1.35.0/src/BtCheckIntegrityEntry.h
Examining data/aria2-1.35.0/src/BtCheckIntegrityEntry.cc
Examining data/aria2-1.35.0/src/BtCancelSendingPieceEvent.h
Examining data/aria2-1.35.0/src/BtCancelMessage.h
Examining data/aria2-1.35.0/src/BtCancelMessage.cc
Examining data/aria2-1.35.0/src/BtBitfieldMessageValidator.h
Examining data/aria2-1.35.0/src/BtBitfieldMessageValidator.cc
Examining data/aria2-1.35.0/src/BtBitfieldMessage.h
Examining data/aria2-1.35.0/src/BtBitfieldMessage.cc
Examining data/aria2-1.35.0/src/BtAnnounce.h
Examining data/aria2-1.35.0/src/BtAnnounce.cc
Examining data/aria2-1.35.0/src/BtAllowedFastMessage.h
Examining data/aria2-1.35.0/src/BtAllowedFastMessage.cc
Examining data/aria2-1.35.0/src/BtAbortOutstandingRequestEvent.h
Examining data/aria2-1.35.0/src/BtAbortOutstandingRequestEvent.cc
Examining data/aria2-1.35.0/src/bittorrent_helper.h
Examining data/aria2-1.35.0/src/bittorrent_helper.cc
Examining data/aria2-1.35.0/src/BencodeParser.h
Examining data/aria2-1.35.0/src/BencodeParser.cc
Examining data/aria2-1.35.0/src/BencodeDiskWriterFactory.h
Examining data/aria2-1.35.0/src/BencodeDiskWriter.h
Examining data/aria2-1.35.0/src/bencode2.h
Examining data/aria2-1.35.0/src/bencode2.cc
Examining data/aria2-1.35.0/src/ARC4Encryptor.h
Examining data/aria2-1.35.0/src/AnnounceTier.h
Examining data/aria2-1.35.0/src/AnnounceTier.cc
Examining data/aria2-1.35.0/src/AnnounceList.cc
Examining data/aria2-1.35.0/src/AnnounceList.h
Examining data/aria2-1.35.0/src/ActivePeerConnectionCommand.h
Examining data/aria2-1.35.0/src/ActivePeerConnectionCommand.cc
Examining data/aria2-1.35.0/src/AbstractBtMessage.h
Examining data/aria2-1.35.0/src/AbstractBtMessage.cc
Examining data/aria2-1.35.0/src/AsyncNameResolverMan.h
Examining data/aria2-1.35.0/src/AsyncNameResolverMan.cc
Examining data/aria2-1.35.0/src/AsyncNameResolver.h
Examining data/aria2-1.35.0/src/AsyncNameResolver.cc
Examining data/aria2-1.35.0/src/SftpFinishDownloadCommand.h
Examining data/aria2-1.35.0/src/SftpFinishDownloadCommand.cc
Examining data/aria2-1.35.0/src/SftpDownloadCommand.h
Examining data/aria2-1.35.0/src/SftpDownloadCommand.cc
Examining data/aria2-1.35.0/src/SftpNegotiationConnectChain.h
Examining data/aria2-1.35.0/src/SftpNegotiationCommand.h
Examining data/aria2-1.35.0/src/SftpNegotiationCommand.cc
Examining data/aria2-1.35.0/src/SSHSession.h
Examining data/aria2-1.35.0/src/SSHSession.cc
Examining data/aria2-1.35.0/src/Sqlite3CookieParserImpl.h
Examining data/aria2-1.35.0/src/Sqlite3CookieParserImpl.cc
Examining data/aria2-1.35.0/src/Sqlite3CookieParser.h
Examining data/aria2-1.35.0/src/Sqlite3CookieParser.cc
Examining data/aria2-1.35.0/src/Adler32MessageDigestImpl.h
Examining data/aria2-1.35.0/src/Adler32MessageDigestImpl.cc
Examining data/aria2-1.35.0/src/GZipFile.h
Examining data/aria2-1.35.0/src/GZipFile.cc
Examining data/aria2-1.35.0/src/GZipEncoder.h
Examining data/aria2-1.35.0/src/GZipEncoder.cc
Examining data/aria2-1.35.0/src/GZipDecodingStreamFilter.h
Examining data/aria2-1.35.0/src/GZipDecodingStreamFilter.cc
Examining data/aria2-1.35.0/src/LibsslMessageDigestImpl.cc
Examining data/aria2-1.35.0/src/LibsslTLSSession.h
Examining data/aria2-1.35.0/src/LibsslTLSSession.cc
Examining data/aria2-1.35.0/src/LibsslTLSContext.h
Examining data/aria2-1.35.0/src/LibsslTLSContext.cc
Examining data/aria2-1.35.0/src/LibsslDHKeyExchange.h
Examining data/aria2-1.35.0/src/LibsslDHKeyExchange.cc
Examining data/aria2-1.35.0/src/LibsslARC4Encryptor.h
Examining data/aria2-1.35.0/src/LibsslARC4Encryptor.cc
Examining data/aria2-1.35.0/src/LibgmpDHKeyExchange.h
Examining data/aria2-1.35.0/src/LibgmpDHKeyExchange.cc
Examining data/aria2-1.35.0/src/a2gmp.h
Examining data/aria2-1.35.0/src/a2gmp.cc
Examining data/aria2-1.35.0/src/LibnettleMessageDigestImpl.cc
Examining data/aria2-1.35.0/src/LibnettleARC4Encryptor.h
Examining data/aria2-1.35.0/src/LibnettleARC4Encryptor.cc
Examining data/aria2-1.35.0/src/LibgcryptMessageDigestImpl.cc
Examining data/aria2-1.35.0/src/LibgcryptDHKeyExchange.h
Examining data/aria2-1.35.0/src/LibgcryptDHKeyExchange.cc
Examining data/aria2-1.35.0/src/LibgcryptARC4Encryptor.h
Examining data/aria2-1.35.0/src/LibgcryptARC4Encryptor.cc
Examining data/aria2-1.35.0/src/LibgnutlsTLSSession.h
Examining data/aria2-1.35.0/src/LibgnutlsTLSSession.cc
Examining data/aria2-1.35.0/src/LibgnutlsTLSContext.h
Examining data/aria2-1.35.0/src/LibgnutlsTLSContext.cc
Examining data/aria2-1.35.0/src/crypto_hash.h
Examining data/aria2-1.35.0/src/crypto_hash.cc
Examining data/aria2-1.35.0/src/InternalMessageDigestImpl.cc
Examining data/aria2-1.35.0/src/InternalARC4Encryptor.h
Examining data/aria2-1.35.0/src/InternalARC4Encryptor.cc
Examining data/aria2-1.35.0/src/InternalDHKeyExchange.h
Examining data/aria2-1.35.0/src/InternalDHKeyExchange.cc
Examining data/aria2-1.35.0/src/bignum.h
Examining data/aria2-1.35.0/src/WinTLSSession.h
Examining data/aria2-1.35.0/src/WinTLSSession.cc
Examining data/aria2-1.35.0/src/WinTLSContext.h
Examining data/aria2-1.35.0/src/WinTLSContext.cc
Examining data/aria2-1.35.0/src/AppleTLSSession.h
Examining data/aria2-1.35.0/src/AppleTLSSession.cc
Examining data/aria2-1.35.0/src/AppleTLSContext.h
Examining data/aria2-1.35.0/src/AppleTLSContext.cc
Examining data/aria2-1.35.0/src/AppleMessageDigestImpl.cc
Examining data/aria2-1.35.0/src/TLSSession.h
Examining data/aria2-1.35.0/src/TLSContext.h
Examining data/aria2-1.35.0/src/EpollEventPoll.h
Examining data/aria2-1.35.0/src/EpollEventPoll.cc
Examining data/aria2-1.35.0/src/FallocFileAllocationIterator.h
Examining data/aria2-1.35.0/src/FallocFileAllocationIterator.cc
Examining data/aria2-1.35.0/src/XmlRpcRequestParserStateMachine.h
Examining data/aria2-1.35.0/src/XmlRpcRequestParserStateMachine.cc
Examining data/aria2-1.35.0/src/XmlRpcRequestParserStateImpl.h
Examining data/aria2-1.35.0/src/XmlRpcRequestParserStateImpl.cc
Examining data/aria2-1.35.0/src/XmlRpcRequestParserState.h
Examining data/aria2-1.35.0/src/XmlRpcDiskWriter.h
Examining data/aria2-1.35.0/src/XmlRpcDiskWriter.cc
Examining data/aria2-1.35.0/src/ExpatXmlParser.h
Examining data/aria2-1.35.0/src/ExpatXmlParser.cc
Examining data/aria2-1.35.0/src/Xml2XmlParser.h
Examining data/aria2-1.35.0/src/Xml2XmlParser.cc
Examining data/aria2-1.35.0/src/XmlParser.h
Examining data/aria2-1.35.0/src/XmlParser.cc
Examining data/aria2-1.35.0/src/XmlAttr.h
Examining data/aria2-1.35.0/src/XmlAttr.cc
Examining data/aria2-1.35.0/src/ParserStateMachine.h
Examining data/aria2-1.35.0/src/NullWebSocketSessionMan.h
Examining data/aria2-1.35.0/src/WebSocketSessionMan.h
Examining data/aria2-1.35.0/src/WebSocketSessionMan.cc
Examining data/aria2-1.35.0/src/WebSocketSession.h
Examining data/aria2-1.35.0/src/WebSocketSession.cc
Examining data/aria2-1.35.0/src/WebSocketResponseCommand.h
Examining data/aria2-1.35.0/src/WebSocketResponseCommand.cc
Examining data/aria2-1.35.0/src/WebSocketInteractionCommand.h
Examining data/aria2-1.35.0/src/WebSocketInteractionCommand.cc
Examining data/aria2-1.35.0/src/WinConsoleFile.h
Examining data/aria2-1.35.0/src/WinConsoleFile.cc
Examining data/aria2-1.35.0/src/libssl_compat.h
Examining data/aria2-1.35.0/src/EvictSocketPoolCommand.h
Examining data/aria2-1.35.0/src/EvictSocketPoolCommand.cc
Examining data/aria2-1.35.0/src/SHA1IOFile.h
Examining data/aria2-1.35.0/src/SHA1IOFile.cc
Examining data/aria2-1.35.0/src/OpenedFileCounter.h
Examining data/aria2-1.35.0/src/OpenedFileCounter.cc
Examining data/aria2-1.35.0/src/XmlRpcRequestParserController.h
Examining data/aria2-1.35.0/src/XmlRpcRequestParserController.cc
Examining data/aria2-1.35.0/src/WrDiskCacheEntry.h
Examining data/aria2-1.35.0/src/WrDiskCacheEntry.cc
Examining data/aria2-1.35.0/src/WrDiskCache.h
Examining data/aria2-1.35.0/src/WrDiskCache.cc
Examining data/aria2-1.35.0/src/WatchProcessCommand.h
Examining data/aria2-1.35.0/src/WatchProcessCommand.cc
Examining data/aria2-1.35.0/src/wallclock.h
Examining data/aria2-1.35.0/src/wallclock.cc
Examining data/aria2-1.35.0/src/version_usage.cc
Examining data/aria2-1.35.0/src/ValueBaseStructParserStateMachine.h
Examining data/aria2-1.35.0/src/ValueBaseStructParserStateMachine.cc
Examining data/aria2-1.35.0/src/ValueBaseStructParserStateImpl.h
Examining data/aria2-1.35.0/src/ValueBaseStructParserStateImpl.cc
Examining data/aria2-1.35.0/src/ValueBaseStructParserState.h
Examining data/aria2-1.35.0/src/ValueBaseJsonParser.h
Examining data/aria2-1.35.0/src/ValueBaseDiskWriter.h
Examining data/aria2-1.35.0/src/ValueBase.h
Examining data/aria2-1.35.0/src/ValueBase.cc
Examining data/aria2-1.35.0/src/util_security.h
Examining data/aria2-1.35.0/src/util_security.cc
Examining data/aria2-1.35.0/src/util.h
Examining data/aria2-1.35.0/src/util.cc
Examining data/aria2-1.35.0/src/usage_text.h
Examining data/aria2-1.35.0/src/uri_split.h
Examining data/aria2-1.35.0/src/uri_split.c
Examining data/aria2-1.35.0/src/URISelector.h
Examining data/aria2-1.35.0/src/URIResult.h
Examining data/aria2-1.35.0/src/URIResult.cc
Examining data/aria2-1.35.0/src/UriListParser.h
Examining data/aria2-1.35.0/src/UriListParser.cc
Examining data/aria2-1.35.0/src/uri.h
Examining data/aria2-1.35.0/src/uri.cc
Examining data/aria2-1.35.0/src/UnknownOptionException.h
Examining data/aria2-1.35.0/src/UnknownOptionException.cc
Examining data/aria2-1.35.0/src/UnknownLengthPieceStorage.h
Examining data/aria2-1.35.0/src/UnknownLengthPieceStorage.cc
Examining data/aria2-1.35.0/src/TruncFileAllocationIterator.h
Examining data/aria2-1.35.0/src/TruncFileAllocationIterator.cc
Examining data/aria2-1.35.0/src/TransferStat.h
Examining data/aria2-1.35.0/src/TransferStat.cc
Examining data/aria2-1.35.0/src/TorrentAttribute.h
Examining data/aria2-1.35.0/src/TorrentAttribute.cc
Examining data/aria2-1.35.0/src/timespec.h
Examining data/aria2-1.35.0/src/TimerA2.h
Examining data/aria2-1.35.0/src/TimerA2.cc
Examining data/aria2-1.35.0/src/TimedHaltCommand.h
Examining data/aria2-1.35.0/src/TimedHaltCommand.cc
Examining data/aria2-1.35.0/src/TimeBasedCommand.h
Examining data/aria2-1.35.0/src/TimeBasedCommand.cc
Examining data/aria2-1.35.0/src/TimeA2.h
Examining data/aria2-1.35.0/src/TimeA2.cc
Examining data/aria2-1.35.0/src/StructParserStateMachine.h
Examining data/aria2-1.35.0/src/StreamPieceSelector.h
Examining data/aria2-1.35.0/src/StreamFilter.h
Examining data/aria2-1.35.0/src/StreamFilter.cc
Examining data/aria2-1.35.0/src/StreamFileAllocationEntry.h
Examining data/aria2-1.35.0/src/StreamFileAllocationEntry.cc
Examining data/aria2-1.35.0/src/StreamCheckIntegrityEntry.h
Examining data/aria2-1.35.0/src/StreamCheckIntegrityEntry.cc
Examining data/aria2-1.35.0/src/StatCalc.h
Examining data/aria2-1.35.0/src/SpeedCalc.h
Examining data/aria2-1.35.0/src/SpeedCalc.cc
Examining data/aria2-1.35.0/src/SocketRecvBuffer.h
Examining data/aria2-1.35.0/src/SocketRecvBuffer.cc
Examining data/aria2-1.35.0/src/SocketCore.h
Examining data/aria2-1.35.0/src/SocketCore.cc
Examining data/aria2-1.35.0/src/SocketBuffer.h
Examining data/aria2-1.35.0/src/SocketBuffer.cc
Examining data/aria2-1.35.0/src/SinkStreamFilter.h
Examining data/aria2-1.35.0/src/SinkStreamFilter.cc
Examining data/aria2-1.35.0/src/SingletonHolder.h
Examining data/aria2-1.35.0/src/SingleFileAllocationIterator.h
Examining data/aria2-1.35.0/src/SingleFileAllocationIterator.cc
Examining data/aria2-1.35.0/src/SimpleRandomizer.h
Examining data/aria2-1.35.0/src/SimpleRandomizer.cc
Examining data/aria2-1.35.0/src/Signature.h
Examining data/aria2-1.35.0/src/Signature.cc
Examining data/aria2-1.35.0/src/SessionSerializer.h
Examining data/aria2-1.35.0/src/SessionSerializer.cc
Examining data/aria2-1.35.0/src/ServerStatMan.h
Examining data/aria2-1.35.0/src/ServerStatMan.cc
Examining data/aria2-1.35.0/src/ServerStat.h
Examining data/aria2-1.35.0/src/ServerStat.cc
Examining data/aria2-1.35.0/src/SequentialPicker.h
Examining data/aria2-1.35.0/src/SequentialDispatcherCommand.h
Examining data/aria2-1.35.0/src/SelectEventPoll.h
Examining data/aria2-1.35.0/src/SelectEventPoll.cc
Examining data/aria2-1.35.0/src/SegmentMan.h
Examining data/aria2-1.35.0/src/SegmentMan.cc
Examining data/aria2-1.35.0/src/Segment.h
Examining data/aria2-1.35.0/src/SegList.h
Examining data/aria2-1.35.0/src/SaveSessionCommand.cc
Examining data/aria2-1.35.0/src/SaveSessionCommand.h
Examining data/aria2-1.35.0/src/rpc_helper.h
Examining data/aria2-1.35.0/src/rpc_helper.cc
Examining data/aria2-1.35.0/src/RpcResponse.h
Examining data/aria2-1.35.0/src/RpcResponse.cc
Examining data/aria2-1.35.0/src/RpcRequest.h
Examining data/aria2-1.35.0/src/RpcRequest.cc
Examining data/aria2-1.35.0/src/RpcMethodImpl.h
Examining data/aria2-1.35.0/src/RpcMethodImpl.cc
Examining data/aria2-1.35.0/src/RpcMethodFactory.h
Examining data/aria2-1.35.0/src/RpcMethodFactory.cc
Examining data/aria2-1.35.0/src/RpcMethod.h
Examining data/aria2-1.35.0/src/RpcMethod.cc
Examining data/aria2-1.35.0/src/RequestGroupMan.h
Examining data/aria2-1.35.0/src/RequestGroupMan.cc
Examining data/aria2-1.35.0/src/RequestGroupEntry.h
Examining data/aria2-1.35.0/src/RequestGroupEntry.cc
Examining data/aria2-1.35.0/src/RequestGroupCriteria.h
Examining data/aria2-1.35.0/src/RequestGroup.h
Examining data/aria2-1.35.0/src/RequestGroup.cc
Examining data/aria2-1.35.0/src/Request.h
Examining data/aria2-1.35.0/src/Request.cc
Examining data/aria2-1.35.0/src/RecoverableException.h
Examining data/aria2-1.35.0/src/RecoverableException.cc
Examining data/aria2-1.35.0/src/RealtimeCommand.h
Examining data/aria2-1.35.0/src/RealtimeCommand.cc
Examining data/aria2-1.35.0/src/RarestPieceSelector.h
Examining data/aria2-1.35.0/src/RarestPieceSelector.cc
Examining data/aria2-1.35.0/src/Range.h
Examining data/aria2-1.35.0/src/Range.cc
Examining data/aria2-1.35.0/src/Randomizer.h
Examining data/aria2-1.35.0/src/ProtocolDetector.h
Examining data/aria2-1.35.0/src/ProtocolDetector.cc
Examining data/aria2-1.35.0/src/ProgressAwareEntry.h
Examining data/aria2-1.35.0/src/prefs.h
Examining data/aria2-1.35.0/src/prefs.cc
Examining data/aria2-1.35.0/src/PreDownloadHandler.h
Examining data/aria2-1.35.0/src/PostDownloadHandler.h
Examining data/aria2-1.35.0/src/Platform.h
Examining data/aria2-1.35.0/src/Platform.cc
Examining data/aria2-1.35.0/src/PieceStorage.h
Examining data/aria2-1.35.0/src/PieceStatMan.h
Examining data/aria2-1.35.0/src/PieceStatMan.cc
Examining data/aria2-1.35.0/src/PieceSelector.h
Examining data/aria2-1.35.0/src/PieceHashCheckIntegrityEntry.h
Examining data/aria2-1.35.0/src/PieceHashCheckIntegrityEntry.cc
Examining data/aria2-1.35.0/src/PiecedSegment.h
Examining data/aria2-1.35.0/src/PiecedSegment.cc
Examining data/aria2-1.35.0/src/Piece.h
Examining data/aria2-1.35.0/src/Piece.cc
Examining data/aria2-1.35.0/src/PeerStat.h
Examining data/aria2-1.35.0/src/PeerStat.cc
Examining data/aria2-1.35.0/src/paramed_string.h
Examining data/aria2-1.35.0/src/paramed_string.cc
Examining data/aria2-1.35.0/src/OutputFile.h
Examining data/aria2-1.35.0/src/option_processing.cc
Examining data/aria2-1.35.0/src/OptionParser.h
Examining data/aria2-1.35.0/src/OptionParser.cc
Examining data/aria2-1.35.0/src/OptionHandlerImpl.h
Examining data/aria2-1.35.0/src/OptionHandlerImpl.cc
Examining data/aria2-1.35.0/src/OptionHandlerFactory.h
Examining data/aria2-1.35.0/src/OptionHandlerFactory.cc
Examining data/aria2-1.35.0/src/OptionHandlerException.h
Examining data/aria2-1.35.0/src/OptionHandlerException.cc
Examining data/aria2-1.35.0/src/OptionHandler.h
Examining data/aria2-1.35.0/src/OptionHandler.cc
Examining data/aria2-1.35.0/src/Option.h
Examining data/aria2-1.35.0/src/Option.cc
Examining data/aria2-1.35.0/src/NullStatCalc.h
Examining data/aria2-1.35.0/src/NullSinkStreamFilter.h
Examining data/aria2-1.35.0/src/NullSinkStreamFilter.cc
Examining data/aria2-1.35.0/src/NullProgressInfoFile.h
Examining data/aria2-1.35.0/src/NullOutputFile.h
Examining data/aria2-1.35.0/src/NullHandle.h
Examining data/aria2-1.35.0/src/NsCookieParser.h
Examining data/aria2-1.35.0/src/NsCookieParser.cc
Examining data/aria2-1.35.0/src/Notifier.h
Examining data/aria2-1.35.0/src/Notifier.cc
Examining data/aria2-1.35.0/src/NetStat.h
Examining data/aria2-1.35.0/src/NetStat.cc
Examining data/aria2-1.35.0/src/NetrcAuthResolver.h
Examining data/aria2-1.35.0/src/NetrcAuthResolver.cc
Examining data/aria2-1.35.0/src/Netrc.h
Examining data/aria2-1.35.0/src/Netrc.cc
Examining data/aria2-1.35.0/src/NameResolver.h
Examining data/aria2-1.35.0/src/NameResolver.cc
Examining data/aria2-1.35.0/src/MultiUrlRequestInfo.h
Examining data/aria2-1.35.0/src/MultiUrlRequestInfo.cc
Examining data/aria2-1.35.0/src/MultiFileAllocationIterator.h
Examining data/aria2-1.35.0/src/MultiFileAllocationIterator.cc
Examining data/aria2-1.35.0/src/MultiDiskAdaptor.h
Examining data/aria2-1.35.0/src/MultiDiskAdaptor.cc
Examining data/aria2-1.35.0/src/MetalinkHttpEntry.h
Examining data/aria2-1.35.0/src/MetalinkHttpEntry.cc
Examining data/aria2-1.35.0/src/MetadataInfo.h
Examining data/aria2-1.35.0/src/MetadataInfo.cc
Examining data/aria2-1.35.0/src/message_digest_helper.h
Examining data/aria2-1.35.0/src/message_digest_helper.cc
Examining data/aria2-1.35.0/src/MessageDigestImpl.h
Examining data/aria2-1.35.0/src/MessageDigest.h
Examining data/aria2-1.35.0/src/MessageDigest.cc
Examining data/aria2-1.35.0/src/message.h
Examining data/aria2-1.35.0/src/MemoryPreDownloadHandler.h
Examining data/aria2-1.35.0/src/MemoryBufferPreDownloadHandler.h
Examining data/aria2-1.35.0/src/LongestSequencePieceSelector.h
Examining data/aria2-1.35.0/src/LongestSequencePieceSelector.cc
Examining data/aria2-1.35.0/src/Logger.h
Examining data/aria2-1.35.0/src/Logger.cc
Examining data/aria2-1.35.0/src/LogFactory.h
Examining data/aria2-1.35.0/src/LogFactory.cc
Examining data/aria2-1.35.0/src/Lock.h
Examining data/aria2-1.35.0/src/JsonParser.h
Examining data/aria2-1.35.0/src/JsonParser.cc
Examining data/aria2-1.35.0/src/JsonDiskWriter.h
Examining data/aria2-1.35.0/src/json.h
Examining data/aria2-1.35.0/src/json.cc
Examining data/aria2-1.35.0/src/IteratableValidator.h
Examining data/aria2-1.35.0/src/IteratableChunkChecksumValidator.h
Examining data/aria2-1.35.0/src/IteratableChunkChecksumValidator.cc
Examining data/aria2-1.35.0/src/IteratableChecksumValidator.h
Examining data/aria2-1.35.0/src/IteratableChecksumValidator.cc
Examining data/aria2-1.35.0/src/IOFile.h
Examining data/aria2-1.35.0/src/IOFile.cc
Examining data/aria2-1.35.0/src/InorderURISelector.h
Examining data/aria2-1.35.0/src/InorderURISelector.cc
Examining data/aria2-1.35.0/src/RandomStreamPieceSelector.h
Examining data/aria2-1.35.0/src/RandomStreamPieceSelector.cc
Examining data/aria2-1.35.0/src/InorderStreamPieceSelector.h
Examining data/aria2-1.35.0/src/InorderStreamPieceSelector.cc
Examining data/aria2-1.35.0/src/InitiateConnectionCommandFactory.h
Examining data/aria2-1.35.0/src/InitiateConnectionCommandFactory.cc
Examining data/aria2-1.35.0/src/InitiateConnectionCommand.h
Examining data/aria2-1.35.0/src/InitiateConnectionCommand.cc
Examining data/aria2-1.35.0/src/IndexedList.h
Examining data/aria2-1.35.0/src/HttpSkipResponseCommand.h
Examining data/aria2-1.35.0/src/HttpSkipResponseCommand.cc
Examining data/aria2-1.35.0/src/HttpServerResponseCommand.h
Examining data/aria2-1.35.0/src/HttpServerResponseCommand.cc
Examining data/aria2-1.35.0/src/HttpServerCommand.h
Examining data/aria2-1.35.0/src/HttpServerCommand.cc
Examining data/aria2-1.35.0/src/HttpServerBodyCommand.h
Examining data/aria2-1.35.0/src/HttpServerBodyCommand.cc
Examining data/aria2-1.35.0/src/HttpServer.h
Examining data/aria2-1.35.0/src/HttpServer.cc
Examining data/aria2-1.35.0/src/HttpResponseCommand.h
Examining data/aria2-1.35.0/src/HttpResponseCommand.cc
Examining data/aria2-1.35.0/src/HttpResponse.h
Examining data/aria2-1.35.0/src/HttpResponse.cc
Examining data/aria2-1.35.0/src/HttpRequestConnectChain.h
Examining data/aria2-1.35.0/src/HttpRequestCommand.h
Examining data/aria2-1.35.0/src/HttpRequestCommand.cc
Examining data/aria2-1.35.0/src/HttpRequest.h
Examining data/aria2-1.35.0/src/HttpRequest.cc
Examining data/aria2-1.35.0/src/HttpProxyResponseCommand.h
Examining data/aria2-1.35.0/src/HttpProxyResponseCommand.cc
Examining data/aria2-1.35.0/src/HttpProxyRequestConnectChain.h
Examining data/aria2-1.35.0/src/HttpProxyRequestCommand.h
Examining data/aria2-1.35.0/src/HttpProxyRequestCommand.cc
Examining data/aria2-1.35.0/src/HttpListenCommand.h
Examining data/aria2-1.35.0/src/HttpListenCommand.cc
Examining data/aria2-1.35.0/src/HttpInitiateConnectionCommand.h
Examining data/aria2-1.35.0/src/HttpInitiateConnectionCommand.cc
Examining data/aria2-1.35.0/src/HttpHeaderProcessor.h
Examining data/aria2-1.35.0/src/HttpHeaderProcessor.cc
Examining data/aria2-1.35.0/src/HttpHeader.h
Examining data/aria2-1.35.0/src/HttpHeader.cc
Examining data/aria2-1.35.0/src/HttpDownloadCommand.h
Examining data/aria2-1.35.0/src/HttpDownloadCommand.cc
Examining data/aria2-1.35.0/src/HttpConnection.h
Examining data/aria2-1.35.0/src/HttpConnection.cc
Examining data/aria2-1.35.0/src/help_tags.h
Examining data/aria2-1.35.0/src/help_tags.cc
Examining data/aria2-1.35.0/src/HaveEraseCommand.h
Examining data/aria2-1.35.0/src/HaveEraseCommand.cc
Examining data/aria2-1.35.0/src/HashFuncEntry.h
Examining data/aria2-1.35.0/src/GrowSegment.h
Examining data/aria2-1.35.0/src/GrowSegment.cc
Examining data/aria2-1.35.0/src/GroupId.h
Examining data/aria2-1.35.0/src/GroupId.cc
Examining data/aria2-1.35.0/src/GeomStreamPieceSelector.h
Examining data/aria2-1.35.0/src/GeomStreamPieceSelector.cc
Examining data/aria2-1.35.0/src/GenericParser.h
Examining data/aria2-1.35.0/src/FtpTunnelResponseCommand.h
Examining data/aria2-1.35.0/src/FtpTunnelResponseCommand.cc
Examining data/aria2-1.35.0/src/FtpTunnelRequestConnectChain.h
Examining data/aria2-1.35.0/src/FtpTunnelRequestCommand.h
Examining data/aria2-1.35.0/src/FtpTunnelRequestCommand.cc
Examining data/aria2-1.35.0/src/FtpNegotiationConnectChain.h
Examining data/aria2-1.35.0/src/FtpNegotiationCommand.h
Examining data/aria2-1.35.0/src/FtpNegotiationCommand.cc
Examining data/aria2-1.35.0/src/FtpInitiateConnectionCommand.h
Examining data/aria2-1.35.0/src/FtpInitiateConnectionCommand.cc
Examining data/aria2-1.35.0/src/FtpFinishDownloadCommand.h
Examining data/aria2-1.35.0/src/FtpFinishDownloadCommand.cc
Examining data/aria2-1.35.0/src/FtpDownloadCommand.h
Examining data/aria2-1.35.0/src/FtpDownloadCommand.cc
Examining data/aria2-1.35.0/src/FtpConnection.h
Examining data/aria2-1.35.0/src/FtpConnection.cc
Examining data/aria2-1.35.0/src/fmt.h
Examining data/aria2-1.35.0/src/fmt.cc
Examining data/aria2-1.35.0/src/FillRequestGroupCommand.h
Examining data/aria2-1.35.0/src/FillRequestGroupCommand.cc
Examining data/aria2-1.35.0/src/FileEntry.h
Examining data/aria2-1.35.0/src/FileEntry.cc
Examining data/aria2-1.35.0/src/FileAllocationMan.h
Examining data/aria2-1.35.0/src/FileAllocationIterator.h
Examining data/aria2-1.35.0/src/FileAllocationEntry.h
Examining data/aria2-1.35.0/src/FileAllocationEntry.cc
Examining data/aria2-1.35.0/src/FileAllocationDispatcherCommand.h
Examining data/aria2-1.35.0/src/FileAllocationDispatcherCommand.cc
Examining data/aria2-1.35.0/src/FileAllocationCommand.h
Examining data/aria2-1.35.0/src/FileAllocationCommand.cc
Examining data/aria2-1.35.0/src/File.h
Examining data/aria2-1.35.0/src/File.cc
Examining data/aria2-1.35.0/src/FeedbackURISelector.h
Examining data/aria2-1.35.0/src/FeedbackURISelector.cc
Examining data/aria2-1.35.0/src/FeatureConfig.h
Examining data/aria2-1.35.0/src/FeatureConfig.cc
Examining data/aria2-1.35.0/src/FatalException.h
Examining data/aria2-1.35.0/src/FatalException.cc
Examining data/aria2-1.35.0/src/Exception.h
Examining data/aria2-1.35.0/src/Exception.cc
Examining data/aria2-1.35.0/src/EventPoll.h
Examining data/aria2-1.35.0/src/Event.h
Examining data/aria2-1.35.0/src/error_code.h
Examining data/aria2-1.35.0/src/download_helper.h
Examining data/aria2-1.35.0/src/download_helper.cc
Examining data/aria2-1.35.0/src/download_handlers.h
Examining data/aria2-1.35.0/src/download_handlers.cc
Examining data/aria2-1.35.0/src/DownloadResult.h
Examining data/aria2-1.35.0/src/DownloadResult.cc
Examining data/aria2-1.35.0/src/DownloadHandlerConstants.h
Examining data/aria2-1.35.0/src/DownloadHandlerConstants.cc
Examining data/aria2-1.35.0/src/DownloadHandler.h
Examining data/aria2-1.35.0/src/DownloadHandler.cc
Examining data/aria2-1.35.0/src/DownloadFailureException.h
Examining data/aria2-1.35.0/src/DownloadFailureException.cc
Examining data/aria2-1.35.0/src/DownloadEngineFactory.h
Examining data/aria2-1.35.0/src/DownloadEngineFactory.cc
Examining data/aria2-1.35.0/src/DownloadEngine.h
Examining data/aria2-1.35.0/src/DownloadEngine.cc
Examining data/aria2-1.35.0/src/DownloadContext.h
Examining data/aria2-1.35.0/src/DownloadContext.cc
Examining data/aria2-1.35.0/src/DownloadCommand.h
Examining data/aria2-1.35.0/src/DownloadCommand.cc
Examining data/aria2-1.35.0/src/DNSCache.h
Examining data/aria2-1.35.0/src/DNSCache.cc
Examining data/aria2-1.35.0/src/DlRetryEx.h
Examining data/aria2-1.35.0/src/DlRetryEx.cc
Examining data/aria2-1.35.0/src/DlAbortEx.h
Examining data/aria2-1.35.0/src/DlAbortEx.cc
Examining data/aria2-1.35.0/src/DiskWriterFactory.h
Examining data/aria2-1.35.0/src/DiskWriter.h
Examining data/aria2-1.35.0/src/DiskAdaptor.h
Examining data/aria2-1.35.0/src/DiskAdaptor.cc
Examining data/aria2-1.35.0/src/DirectDiskAdaptor.h
Examining data/aria2-1.35.0/src/DirectDiskAdaptor.cc
Examining data/aria2-1.35.0/src/Dependency.h
Examining data/aria2-1.35.0/src/DelayedCommand.h
Examining data/aria2-1.35.0/src/DefaultStreamPieceSelector.h
Examining data/aria2-1.35.0/src/DefaultStreamPieceSelector.cc
Examining data/aria2-1.35.0/src/DefaultPieceStorage.h
Examining data/aria2-1.35.0/src/DefaultPieceStorage.cc
Examining data/aria2-1.35.0/src/DefaultDiskWriterFactory.h
Examining data/aria2-1.35.0/src/DefaultDiskWriterFactory.cc
Examining data/aria2-1.35.0/src/DefaultDiskWriter.h
Examining data/aria2-1.35.0/src/DefaultDiskWriter.cc
Examining data/aria2-1.35.0/src/DefaultBtProgressInfoFile.h
Examining data/aria2-1.35.0/src/DefaultBtProgressInfoFile.cc
Examining data/aria2-1.35.0/src/DefaultAuthResolver.h
Examining data/aria2-1.35.0/src/DefaultAuthResolver.cc
Examining data/aria2-1.35.0/src/CUIDCounter.h
Examining data/aria2-1.35.0/src/CUIDCounter.cc
Examining data/aria2-1.35.0/src/crypto_endian.h
Examining data/aria2-1.35.0/src/CreateRequestCommand.h
Examining data/aria2-1.35.0/src/CreateRequestCommand.cc
Examining data/aria2-1.35.0/src/cookie_helper.h
Examining data/aria2-1.35.0/src/cookie_helper.cc
Examining data/aria2-1.35.0/src/CookieStorage.h
Examining data/aria2-1.35.0/src/CookieStorage.cc
Examining data/aria2-1.35.0/src/Cookie.h
Examining data/aria2-1.35.0/src/Cookie.cc
Examining data/aria2-1.35.0/src/ControlChain.h
Examining data/aria2-1.35.0/src/ContextAttribute.h
Examining data/aria2-1.35.0/src/ContextAttribute.cc
Examining data/aria2-1.35.0/src/Context.h
Examining data/aria2-1.35.0/src/Context.cc
Examining data/aria2-1.35.0/src/ContentTypeRequestGroupCriteria.h
Examining data/aria2-1.35.0/src/ContentTypeRequestGroupCriteria.cc
Examining data/aria2-1.35.0/src/ConsoleStatCalc.h
Examining data/aria2-1.35.0/src/ConsoleStatCalc.cc
Examining data/aria2-1.35.0/src/console.h
Examining data/aria2-1.35.0/src/console.cc
Examining data/aria2-1.35.0/src/ConnectCommand.h
Examining data/aria2-1.35.0/src/ConnectCommand.cc
Examining data/aria2-1.35.0/src/common.h
Examining data/aria2-1.35.0/src/Command.h
Examining data/aria2-1.35.0/src/Command.cc
Examining data/aria2-1.35.0/src/ColorizedStream.h
Examining data/aria2-1.35.0/src/ColorizedStream.cc
Examining data/aria2-1.35.0/src/ChunkedDecodingStreamFilter.h
Examining data/aria2-1.35.0/src/ChunkedDecodingStreamFilter.cc
Examining data/aria2-1.35.0/src/ChunkChecksum.h
Examining data/aria2-1.35.0/src/ChunkChecksum.cc
Examining data/aria2-1.35.0/src/ChecksumCheckIntegrityEntry.h
Examining data/aria2-1.35.0/src/ChecksumCheckIntegrityEntry.cc
Examining data/aria2-1.35.0/src/Checksum.h
Examining data/aria2-1.35.0/src/Checksum.cc
Examining data/aria2-1.35.0/src/CheckIntegrityMan.h
Examining data/aria2-1.35.0/src/CheckIntegrityEntry.h
Examining data/aria2-1.35.0/src/CheckIntegrityEntry.cc
Examining data/aria2-1.35.0/src/CheckIntegrityDispatcherCommand.h
Examining data/aria2-1.35.0/src/CheckIntegrityDispatcherCommand.cc
Examining data/aria2-1.35.0/src/CheckIntegrityCommand.h
Examining data/aria2-1.35.0/src/CheckIntegrityCommand.cc
Examining data/aria2-1.35.0/src/ByteArrayDiskWriterFactory.h
Examining data/aria2-1.35.0/src/ByteArrayDiskWriter.h
Examining data/aria2-1.35.0/src/ByteArrayDiskWriter.cc
Examining data/aria2-1.35.0/src/BufferedFile.h
Examining data/aria2-1.35.0/src/BufferedFile.cc
Examining data/aria2-1.35.0/src/BtProgressInfoFile.h
Examining data/aria2-1.35.0/src/BitfieldMan.h
Examining data/aria2-1.35.0/src/BitfieldMan.cc
Examining data/aria2-1.35.0/src/bitfield.h
Examining data/aria2-1.35.0/src/bitfield.cc
Examining data/aria2-1.35.0/src/BinaryStream.h
Examining data/aria2-1.35.0/src/base64.h
Examining data/aria2-1.35.0/src/base32.h
Examining data/aria2-1.35.0/src/base32.cc
Examining data/aria2-1.35.0/src/BackupIPv4ConnectCommand.cc
Examining data/aria2-1.35.0/src/BackupIPv4ConnectCommand.h
Examining data/aria2-1.35.0/src/AutoSaveCommand.h
Examining data/aria2-1.35.0/src/AutoSaveCommand.cc
Examining data/aria2-1.35.0/src/AuthResolver.h
Examining data/aria2-1.35.0/src/AuthConfigFactory.h
Examining data/aria2-1.35.0/src/AuthConfigFactory.cc
Examining data/aria2-1.35.0/src/AuthConfig.h
Examining data/aria2-1.35.0/src/AuthConfig.cc
Examining data/aria2-1.35.0/src/array_fun.h
Examining data/aria2-1.35.0/src/AnonDiskWriterFactory.h
Examining data/aria2-1.35.0/src/AdaptiveURISelector.h
Examining data/aria2-1.35.0/src/AdaptiveURISelector.cc
Examining data/aria2-1.35.0/src/AdaptiveFileAllocationIterator.h
Examining data/aria2-1.35.0/src/AdaptiveFileAllocationIterator.cc
Examining data/aria2-1.35.0/src/AbstractSingleDiskAdaptor.h
Examining data/aria2-1.35.0/src/AbstractSingleDiskAdaptor.cc
Examining data/aria2-1.35.0/src/AbstractProxyResponseCommand.h
Examining data/aria2-1.35.0/src/AbstractProxyResponseCommand.cc
Examining data/aria2-1.35.0/src/AbstractProxyRequestCommand.h
Examining data/aria2-1.35.0/src/AbstractProxyRequestCommand.cc
Examining data/aria2-1.35.0/src/AbstractOptionHandler.h
Examining data/aria2-1.35.0/src/AbstractOptionHandler.cc
Examining data/aria2-1.35.0/src/AbstractHttpServerResponseCommand.h
Examining data/aria2-1.35.0/src/AbstractHttpServerResponseCommand.cc
Examining data/aria2-1.35.0/src/AbstractDiskWriter.h
Examining data/aria2-1.35.0/src/AbstractDiskWriter.cc
Examining data/aria2-1.35.0/src/AbstractCommand.h
Examining data/aria2-1.35.0/src/AbstractCommand.cc
Examining data/aria2-1.35.0/src/AbstractAuthResolver.h
Examining data/aria2-1.35.0/src/AbstractAuthResolver.cc
Examining data/aria2-1.35.0/src/a2time.h
Examining data/aria2-1.35.0/src/A2STR.h
Examining data/aria2-1.35.0/src/A2STR.cc
Examining data/aria2-1.35.0/src/a2netcompat.h
Examining data/aria2-1.35.0/src/a2iterator.h
Examining data/aria2-1.35.0/src/a2io.h
Examining data/aria2-1.35.0/src/a2functional.h
Examining data/aria2-1.35.0/src/a2algo.h
Examining data/aria2-1.35.0/src/alloca.c
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_queue_test.c
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.c
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.c
Examining data/aria2-1.35.0/deps/wslay/tests/main.c
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_queue_test.h
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.h
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.h
Examining data/aria2-1.35.0/deps/wslay/tests/wslay_session_test.h
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_net.c
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_queue.c
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_event.c
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_frame.c
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_net.h
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_queue.h
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_event.h
Examining data/aria2-1.35.0/deps/wslay/lib/wslay_frame.h
Examining data/aria2-1.35.0/deps/wslay/lib/includes/wslay/wslayver.h
Examining data/aria2-1.35.0/deps/wslay/lib/includes/wslay/wslay.h
Examining data/aria2-1.35.0/lib/gettext.h
Examining data/aria2-1.35.0/examples/libaria2wx.cc
Examining data/aria2-1.35.0/examples/libaria2ex.cc

FINAL RESULTS:

data/aria2-1.35.0/src/IOFile.cc:66:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
char* IOFile::gets(char* s, int size) { return onGets(s, size); }
data/aria2-1.35.0/src/IOFile.cc:70:15:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  char* ptr = gets(s, size);
data/aria2-1.35.0/src/IOFile.cc:87:10:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  while (gets(buf.data(), buf.size())) {
data/aria2-1.35.0/src/IOFile.h:64:9:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  char* gets(char* s, int size);
data/aria2-1.35.0/test/BufferedFileTest.cc:43:21:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  CPPUNIT_ASSERT(rd.gets(buf, sizeof(buf)));
data/aria2-1.35.0/test/BufferedFileTest.cc:46:21:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  CPPUNIT_ASSERT(rd.gets(buf, sizeof(buf)));
data/aria2-1.35.0/test/GZipFileTest.cc:43:21:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  CPPUNIT_ASSERT(rd.gets(buf, sizeof(buf)));
data/aria2-1.35.0/test/GZipFileTest.cc:46:21:  [5] (buffer) gets:
  Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead.
  CPPUNIT_ASSERT(rd.gets(buf, sizeof(buf)));
data/aria2-1.35.0/src/BufferedFile.cc:97:10:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  return vfprintf(fp_, format, va);
data/aria2-1.35.0/src/Context.cc:121:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(MSG_SHOW_FILES, (uri).c_str());
data/aria2-1.35.0/src/GZipFile.cc:152:11:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    len = vsnprintf(buf_, buflen_, format, va);
data/aria2-1.35.0/src/IOFile.cc:121:13:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
int IOFile::vprintf(const char* format, va_list va)
data/aria2-1.35.0/src/IOFile.h:81:7:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  int vprintf(const char* format, va_list va) CXX11_OVERRIDE;
data/aria2-1.35.0/src/NullOutputFile.h:47:15:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  virtual int vprintf(const char* format, va_list va) CXX11_OVERRIDE
data/aria2-1.35.0/src/OutputFile.h:53:15:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  virtual int vprintf(const char* format, va_list va) = 0;
data/aria2-1.35.0/src/OutputFile.h:54:14:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  inline int printf(const char* format, ...)
data/aria2-1.35.0/src/OutputFile.h:58:14:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    int rv = vprintf(format, va);
data/aria2-1.35.0/src/SocketCore.cc:111:5:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    snprintf(buf, sizeof(buf), EX_SOCKET_UNKNOWN_ERROR, errNum, errNum);
data/aria2-1.35.0/src/WatchProcessCommand.cc:110:7:  [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.
  if (access(fmt("/proc/%u", pid_).c_str(), F_OK) == -1) {
data/aria2-1.35.0/src/WinConsoleFile.cc:140:21:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
int WinConsoleFile::vprintf(const char* format, va_list va)
data/aria2-1.35.0/src/WinConsoleFile.cc:142:15:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  ssize_t r = vsnprintf(NULL, 0, format, va);
data/aria2-1.35.0/src/WinConsoleFile.cc:147:7:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  r = vsnprintf(buf.get(), r, format, va);
data/aria2-1.35.0/src/WinConsoleFile.h:52:15:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  virtual int vprintf(const char* format, va_list va) CXX11_OVERRIDE;
data/aria2-1.35.0/src/fmt.cc:49:8:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  rv = vsnprintf(buf, sizeof(buf), fmtTemplate, ap);
data/aria2-1.35.0/src/fmt.h:49:27:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__((format(printf, 1, 2)))
data/aria2-1.35.0/src/getaddrinfo.c:491: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(head_res->ai_canonname, canonname);
data/aria2-1.35.0/src/getaddrinfo.c:551: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(serv, servent->s_name);
data/aria2-1.35.0/src/getaddrinfo.c:574: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(node, hostent->h_name);
data/aria2-1.35.0/src/getaddrinfo.c:586: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(node, ntoa_address);
data/aria2-1.35.0/src/option_processing.cc:315:23:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      global::cerr()->printf(MSG_URI_REQUIRED);
data/aria2-1.35.0/src/util.cc:2243:5:  [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.c_str(), command.c_str(), gidStr.c_str(),
data/aria2-1.35.0/src/Lock.h:58:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    ::InitializeCriticalSection(&section_);
data/aria2-1.35.0/src/Lock.h:76:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    ::EnterCriticalSection(&section_);
data/aria2-1.35.0/src/OptionParser.cc:166:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    int c = getopt_long(argc, argv, optstring.c_str(), longOpts.get(), nullptr);
data/aria2-1.35.0/src/asctime_r.c:59:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&asctime_r_cs);
data/aria2-1.35.0/src/asctime_r.c:63:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&asctime_r_cs);
data/aria2-1.35.0/src/localtime_r.c:59:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&localtime_r_cs);
data/aria2-1.35.0/src/localtime_r.c:63:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&localtime_r_cs);
data/aria2-1.35.0/src/option_processing.cc:79: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* value = getenv(envName.c_str());
data/aria2-1.35.0/src/util.cc:1748:19:  [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("HOME");
data/aria2-1.35.0/src/util.cc:1790:19:  [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(environmentVariable.c_str());
data/aria2-1.35.0/src/util.cc:2269: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.
    const char* p = getenv("windir");
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:160: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(c->data+off, data, data_length);
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:227:5:  [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((*m)->data, msg, msg_length);
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:272: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+off, chunk->data, chunk->data_length);
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:305: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(msg, &ncode, 2);
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:307: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(msg+2, reason, reason_length);
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:708:17:  [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(&status_code, msg, 2);
data/aria2-1.35.0/deps/wslay/lib/wslay_event.c:863: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(&status_code, ctx->omsg->data, 2);
data/aria2-1.35.0/deps/wslay/lib/wslay_frame.c:82: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(hdptr, &len, 2);
data/aria2-1.35.0/deps/wslay/lib/wslay_frame.c:88: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(hdptr, &len, 8);
data/aria2-1.35.0/deps/wslay/lib/wslay_frame.c:100: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(hdptr, ctx->omaskkey, 4);
data/aria2-1.35.0/deps/wslay/lib/wslay_frame.c:274:5:  [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((uint8_t*)&ctx->ipayloadlen+(8-ctx->ireqread),
data/aria2-1.35.0/deps/wslay/lib/wslay_frame.c:302:5:  [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(ctx->imaskkey, ctx->ibufmark, 4);
data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.c:55: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(df->data, data, data_length);
data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.c:68: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, df->datamark, wlen);
data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.c:87: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, df->datamark, wlen);
data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.c:103: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(acc->buf+acc->length, buf, len);
data/aria2-1.35.0/deps/wslay/tests/wslay_event_test.c:114: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(acc->buf+acc->length, buf, 1);
data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.c:55: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(df->data, data, data_length);
data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.c:66: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, df->datamark, wlen);
data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.c:81: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(df->datamark, data, wlen);
data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.c:342: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(acc->buf+acc->length, buf, len);
data/aria2-1.35.0/deps/wslay/tests/wslay_frame_test.c:351: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(buf, makskey, 4);
data/aria2-1.35.0/src/AbstractDiskWriter.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 buf[256];
data/aria2-1.35.0/src/AbstractDiskWriter.cc:261:5:  [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(mapaddr_ + offset, data, len);
data/aria2-1.35.0/src/AbstractDiskWriter.cc:301:5:  [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, mapaddr_ + offset, readlen);
data/aria2-1.35.0/src/Adler32MessageDigestImpl.cc:63: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(md, &adler, getDigestLength());
data/aria2-1.35.0/src/AsyncNameResolver.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 addrstring[NI_MAXHOST];
data/aria2-1.35.0/src/BitfieldMan.cc:88: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(bitfield_, bitfieldMan.bitfield_, bitfieldLength_);
data/aria2-1.35.0/src/BitfieldMan.cc:89: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(useBitfield_, bitfieldMan.useBitfield_, bitfieldLength_);
data/aria2-1.35.0/src/BitfieldMan.cc:92:5:  [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(filterBitfield_, bitfieldMan.filterBitfield_, bitfieldLength_);
data/aria2-1.35.0/src/BitfieldMan.cc:108:5:  [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(bitfield_, bitfieldMan.bitfield_, bitfieldLength_);
data/aria2-1.35.0/src/BitfieldMan.cc:112:5:  [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(useBitfield_, bitfieldMan.useBitfield_, bitfieldLength_);
data/aria2-1.35.0/src/BitfieldMan.cc:117: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(filterBitfield_, bitfieldMan.filterBitfield_, bitfieldLength_);
data/aria2-1.35.0/src/BitfieldMan.cc:668: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(bitfield_, bitfield, bitfieldLength_);
data/aria2-1.35.0/src/BtHandshakeMessageValidator.h:51: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.
  unsigned char infoHash_[INFO_HASH_LENGTH];
data/aria2-1.35.0/src/BtPieceMessage.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(dataCopy, data_ + 9, blockLength_);
data/aria2-1.35.0/src/BtSetup.cc:235:11:  [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[NI_MAXHOST];
data/aria2-1.35.0/src/ConsoleStatCalc.cc:251: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[26];
data/aria2-1.35.0/src/CookieStorage.cc:437: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 header[16]; // "SQLite format 3" plus \0
data/aria2-1.35.0/src/DHTAbstractNodeLookupTask.h:68: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.
  unsigned char targetID_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTAbstractNodeLookupTask.h:142:5:  [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(targetID_, targetID, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTAnnouncePeerMessage.cc:74: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(infoHash_, infoHash, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTAnnouncePeerMessage.h:51: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.
  unsigned char infoHash_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucket.cc:61: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(max_, max, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucket.cc:62: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(min_, min, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucket.cc:82:5:  [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(nodeID, min_, lastByteIndex + 1);
data/aria2-1.35.0/src/DHTBucket.cc:181: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.
  unsigned char rMax[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucket.cc:182: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(rMax, max_, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucket.cc:184: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.
  unsigned char rMin[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucket.cc:185: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(rMin, min_, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucket.h:57: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.
  unsigned char min_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucket.h:59: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.
  unsigned char max_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucketRefreshTask.cc:63: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 targetID[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucketTree.cc:56: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(minId_, bucket_->getMinID(), DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucketTree.cc:57: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(maxId_, bucket_->getMaxID(), DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucketTree.cc:66: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(minId_, left_->getMinId(), DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucketTree.cc:67: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(maxId_, right_->getMaxId(), DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTBucketTree.h:91: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.
  unsigned char minId_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTBucketTree.h:92: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.
  unsigned char maxId_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTFindNodeMessage.cc:59: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(targetNodeID_, targetNodeID, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTFindNodeMessage.h:45: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.
  unsigned char targetNodeID_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTFindNodeReplyMessage.cc:77: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.
  unsigned char buffer[DHTBucket::K * 38];
data/aria2-1.35.0/src/DHTFindNodeReplyMessage.cc:85:5:  [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 + offset, (*i)->getID(), DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTFindNodeReplyMessage.cc:86: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 compact[COMPACT_LEN_IPV6];
data/aria2-1.35.0/src/DHTFindNodeReplyMessage.cc:90: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 + 20 + offset, compact, compactlen);
data/aria2-1.35.0/src/DHTGetPeersMessage.cc:71: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(infoHash_, infoHash, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTGetPeersMessage.h:54: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.
  unsigned char infoHash_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTMessageFactoryImpl.cc:306:5:  [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 + 2, vnump, 2);
data/aria2-1.35.0/src/DHTNode.cc:55: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(id_, id, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTNode.cc:109:48:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
void DHTNode::setID(const unsigned char* id) { memcpy(id_, id, DHT_ID_LENGTH); }
data/aria2-1.35.0/src/DHTNode.h:49: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.
  unsigned char id_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTPeerAnnounceEntry.cc:47: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(infoHash_, infoHash, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTPeerAnnounceEntry.h:53: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.
  unsigned char infoHash_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTPingReplyMessage.cc:52: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(id_, id, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTPingReplyMessage.h:45: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.
  unsigned char id_[DHT_ID_LENGTH];
data/aria2-1.35.0/src/DHTRoutingTableDeserializer.cc:85: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 header[8];
data/aria2-1.35.0/src/DHTRoutingTableDeserializer.cc:96: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 headerCompat[8];
data/aria2-1.35.0/src/DHTRoutingTableDeserializer.cc:107: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 zero[18];
data/aria2-1.35.0/src/DHTRoutingTableSerializer.cc:90: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 header[8];
data/aria2-1.35.0/src/DHTRoutingTableSerializer.cc:101: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 zero[18];
data/aria2-1.35.0/src/DHTRoutingTableSerializer.cc:130: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 compactPeer[COMPACT_LEN_IPV6];
data/aria2-1.35.0/src/DHTTokenTracker.cc:52: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(secret_[1], secret_[0], SECRET_SIZE);
data/aria2-1.35.0/src/DHTTokenTracker.cc:57: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(secret_[0], initialSecret, SECRET_SIZE);
data/aria2-1.35.0/src/DHTTokenTracker.cc:58: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(secret_[1], initialSecret, SECRET_SIZE);
data/aria2-1.35.0/src/DHTTokenTracker.cc:68: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.
  unsigned char src[DHT_ID_LENGTH + COMPACT_LEN_IPV6 + SECRET_SIZE];
data/aria2-1.35.0/src/DHTTokenTracker.cc:75: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(src, infoHash, DHT_ID_LENGTH);
data/aria2-1.35.0/src/DHTTokenTracker.cc:76: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(src + DHT_ID_LENGTH + COMPACT_LEN_IPV6, secret, SECRET_SIZE);
data/aria2-1.35.0/src/DHTTokenTracker.cc:77: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.
  unsigned char md[20];
data/aria2-1.35.0/src/DHTTokenTracker.cc:105: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(secret_[1], secret_[0], SECRET_SIZE);
data/aria2-1.35.0/src/DHTTokenTracker.h:47: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.
  unsigned char secret_[2][SECRET_SIZE];
data/aria2-1.35.0/src/DHTUnknownMessage.cc:63:5:  [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_, data, length);
data/aria2-1.35.0/src/DefaultBtAnnounce.cc:244: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 dest[16];
data/aria2-1.35.0/src/DefaultBtAnnounce.cc:246: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(&req->ip, dest, 4);
data/aria2-1.35.0/src/DefaultBtMessageReceiver.cc:71: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.
  unsigned char data[BtHandshakeMessage::MESSAGE_LENGTH];
data/aria2-1.35.0/src/DefaultBtProgressInfoFile.cc:123: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 extension[4];
data/aria2-1.35.0/src/DefaultBtProgressInfoFile.cc:239: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.
  unsigned char versionBuf[2];
data/aria2-1.35.0/src/DefaultBtProgressInfoFile.cc:253: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.
  unsigned char extension[4];
data/aria2-1.35.0/src/DownloadEngine.cc:113: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.
  unsigned char sessionId[20];
data/aria2-1.35.0/src/ExpatXmlParser.cc:58:5:  [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(temp, src, nsUriLen);
data/aria2-1.35.0/src/File.cc:379:3:  [2] (buffer) wchar_t:
  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.
  wchar_t buf[buflen];
data/aria2-1.35.0/src/File.cc:388: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 buf[buflen];
data/aria2-1.35.0/src/FtpConnection.cc:430:7:  [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[15]; // YYYYMMDDhhmmss+\0, milli second part is dropped.
data/aria2-1.35.0/src/GZipDecodingStreamFilter.cc:97: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.
  unsigned char outbuf[OUTBUF_LENGTH];
data/aria2-1.35.0/src/HttpServerCommand.cc:129: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.
  unsigned char digest[20];
data/aria2-1.35.0/src/InitiateConnectionCommand.cc:139: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 buf[sizeof(in6_addr)];
data/aria2-1.35.0/src/InternalARC4Encryptor.h:44: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.
  unsigned char state_[256];
data/aria2-1.35.0/src/InternalDHKeyExchange.cc:71: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.
  unsigned char buf[pbytes];
data/aria2-1.35.0/src/InternalMessageDigestImpl.cc:73:5:  [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(md, rv.data(), rv.length());
data/aria2-1.35.0/src/JsonParser.cc:330:11:  [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 temp[1];
data/aria2-1.35.0/src/JsonParser.cc:633:7:  [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 temp[3];
data/aria2-1.35.0/src/JsonParser.cc:668: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 temp[4];
data/aria2-1.35.0/src/LibgcryptMessageDigestImpl.cc:89: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(md, gcry_md_read(ctx_.get(), 0), getDigestLength());
data/aria2-1.35.0/src/LibgnutlsTLSSession.cc:314: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 altName[256];
data/aria2-1.35.0/src/Logger.cc:128: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 datestr[20]; // 'YYYY-MM-DD hh:mm:ss'+'\0' = 20 bytes
data/aria2-1.35.0/src/Logger.cc:167: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 datestr[15]; // 'MM/DD hh:mm:ss'+'\0' = 15 bytes
data/aria2-1.35.0/src/LpdMessageReceiver.cc:87: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 buf[200];
data/aria2-1.35.0/src/MSEHandshake.cc:182: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(infoHash_, infoHash, INFO_HASH_LENGTH);
data/aria2-1.35.0/src/MSEHandshake.cc:184: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.
  unsigned char s[4 + KEY_LENGTH + INFO_HASH_LENGTH];
data/aria2-1.35.0/src/MSEHandshake.cc:185: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(s, initiator_ ? "keyA" : "keyB", 4);
data/aria2-1.35.0/src/MSEHandshake.cc:186: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(s + 4, secret_, KEY_LENGTH);
data/aria2-1.35.0/src/MSEHandshake.cc:187: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(s + 4 + KEY_LENGTH, infoHash, INFO_HASH_LENGTH);
data/aria2-1.35.0/src/MSEHandshake.cc:189: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.
  unsigned char localCipherKey[20];
data/aria2-1.35.0/src/MSEHandshake.cc:196: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.
  unsigned char peerCipherKey[20];
data/aria2-1.35.0/src/MSEHandshake.cc:197: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(s, initiator_ ? "keyB" : "keyA", 4);
data/aria2-1.35.0/src/MSEHandshake.cc:228: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.
  unsigned char buffer[100];
data/aria2-1.35.0/src/MSEHandshake.cc:229: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(buffer, "req1", 4);
data/aria2-1.35.0/src/MSEHandshake.cc:230: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(buffer + 4, secret_, KEY_LENGTH);
data/aria2-1.35.0/src/MSEHandshake.cc:238: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.
  unsigned char x[24];
data/aria2-1.35.0/src/MSEHandshake.cc:239: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(x, "req2", 4);
data/aria2-1.35.0/src/MSEHandshake.cc:240: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(x + 4, infoHash, INFO_HASH_LENGTH);
data/aria2-1.35.0/src/MSEHandshake.cc:241: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.
  unsigned char xh[20];
data/aria2-1.35.0/src/MSEHandshake.cc:245: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.
  unsigned char y[4 + 96];
data/aria2-1.35.0/src/MSEHandshake.cc:246: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(y, "req3", 4);
data/aria2-1.35.0/src/MSEHandshake.cc:247: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(y + 4, secret_, KEY_LENGTH);
data/aria2-1.35.0/src/MSEHandshake.cc:248: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.
  unsigned char yh[20];
data/aria2-1.35.0/src/MSEHandshake.cc:390: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.
  unsigned char md[20];
data/aria2-1.35.0/src/MSEHandshake.cc:425: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 md[20];
data/aria2-1.35.0/src/MSEHandshake.cc:555: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.
  unsigned char md[20];
data/aria2-1.35.0/src/MSEHandshake.h:85: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.
  unsigned char rbuf_[MAX_BUFFER_LENGTH];
data/aria2-1.35.0/src/MSEHandshake.h:94: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.
  unsigned char infoHash_[INFO_HASH_LENGTH];
data/aria2-1.35.0/src/MSEHandshake.h:95: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.
  unsigned char secret_[KEY_LENGTH];
data/aria2-1.35.0/src/MSEHandshake.h:97: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.
  unsigned char initiatorVCMarker_[VC_LENGTH];
data/aria2-1.35.0/src/MultiDiskAdaptor.cc:214:58:  [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 (DiskWriterEntry::*open)())
data/aria2-1.35.0/src/MultiDiskAdaptor.cc:223: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).
    (entry->*open)();
data/aria2-1.35.0/src/OptionHandlerFactory.cc:1849: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 prefix[21];
data/aria2-1.35.0/src/Peer.cc:84: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(peerId_, peerId, PEER_ID_LENGTH);
data/aria2-1.35.0/src/Peer.h:69: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.
  unsigned char peerId_[PEER_ID_LENGTH];
data/aria2-1.35.0/src/PeerConnection.cc:145: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(data, resbuf_.get() + msgOffset_ + 4, currentPayloadLength_);
data/aria2-1.35.0/src/PeerConnection.cc:223: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, resbuf_.get(), writeLength);
data/aria2-1.35.0/src/PeerConnection.cc:252: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(resbuf_.get(), data, nwrite);
data/aria2-1.35.0/src/PeerConnection.cc:283:5:  [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.get(), resbuf_.get(), resbufLength_);
data/aria2-1.35.0/src/PeerInteractionCommand.cc:106: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.
  unsigned char compact[COMPACT_LEN_IPV6];
data/aria2-1.35.0/src/PollEventPoll.cc:170: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(newPollfds.get(), pollfds_.get(),
data/aria2-1.35.0/src/ProtocolDetector.cc:65: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 head[1];
data/aria2-1.35.0/src/ProtocolDetector.cc:97: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 head[5];
data/aria2-1.35.0/src/RpcMethodImpl.cc:263: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.
  unsigned char hash[20];
data/aria2-1.35.0/src/SelectEventPoll.cc:175: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(&rfds, &rfdset_, sizeof(fd_set));
data/aria2-1.35.0/src/SelectEventPoll.cc:176: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(&wfds, &wfdset_, sizeof(fd_set));
data/aria2-1.35.0/src/SelectEventPoll.cc:180: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(&efds, &wfdset_, sizeof(fd_set));
data/aria2-1.35.0/src/SimpleRandomizer.cc:102: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(ubuf, &last, r);
data/aria2-1.35.0/src/SinkStreamFilter.cc:83: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(dataCopy, inbuf + alen, len);
data/aria2-1.35.0/src/SocketCore.cc:110: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[256];
data/aria2-1.35.0/src/SocketCore.cc:1285: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[NI_MAXHOST];
data/aria2-1.35.0/src/SocketCore.cc:1315:7:  [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[NI_MAXHOST];
data/aria2-1.35.0/src/SocketCore.cc:1392: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(&soaddr.su, ifa->ifa_addr, soaddr.suLength);
data/aria2-1.35.0/src/SocketCore.cc:1417: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(&soaddr.su, rp->ai_addr, rp->ai_addrlen);
data/aria2-1.35.0/src/SocketCore.cc:1484: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 ipv6_addr[16];
data/aria2-1.35.0/src/SocketCore.cc:1520:5:  [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(&su, rp->ai_addr, rp->ai_addrlen);
data/aria2-1.35.0/src/SocketCore.cc:1523: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(dest, &(su.in.sin_addr), len);
data/aria2-1.35.0/src/SocketCore.cc:1528: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(dest, &(su.in6.sin6_addr), len);
data/aria2-1.35.0/src/SocketCore.cc:1545: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 binAddr[16];
data/aria2-1.35.0/src/SocketCore.cc:1607: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 host[NI_MAXHOST];
data/aria2-1.35.0/src/SocketCore.cc:1624: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(&ad.storage, i->Address.lpSockaddr, i->Address.iSockaddrLength);
data/aria2-1.35.0/src/SocketCore.cc:1634: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(&ad.storage, i->Address.lpSockaddr, i->Address.iSockaddrLength);
data/aria2-1.35.0/src/SocketCore.cc:1672: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 host[NI_MAXHOST];
data/aria2-1.35.0/src/SocketCore.cc:1683: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(&ad.storage, ifa->ifa_addr, addrlen);
data/aria2-1.35.0/src/SocketCore.cc:1692: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(&ad.storage, ifa->ifa_addr, addrlen);
data/aria2-1.35.0/src/TimeA2.cc:70: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 buf[32];
data/aria2-1.35.0/src/TrackerWatcherCommand.cc:110: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 data[2048];
data/aria2-1.35.0/src/UDPTrackerClient.cc:578: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 + 16, req->infohash.c_str(), req->infohash.size());
data/aria2-1.35.0/src/UDPTrackerClient.cc:579: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 + 36, req->peerId.c_str(), req->peerId.size());
data/aria2-1.35.0/src/UDPTrackerClient.cc:585: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 + 84, &req->ip, sizeof(req->ip));
data/aria2-1.35.0/src/UTMetadataDataExtensionMessage.cc:92:16:  [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 infoHash[INFO_HASH_LENGTH];
data/aria2-1.35.0/src/UTPexExtensionMessage.cc:104: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 compact[COMPACT_LEN_IPV6];
data/aria2-1.35.0/src/WinTLSSession.cc:444:5:  [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, decBuf_.data(), len);
data/aria2-1.35.0/src/WinTLSSession.cc:453: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, decBuf_.data(), nread);
data/aria2-1.35.0/src/WinTLSSession.cc:570: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, decBuf_.data(), len);
data/aria2-1.35.0/src/WinTLSSession.cc:701:5:  [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(bufcopy.get(), readBuf_.data(), readBuf_.size());
data/aria2-1.35.0/src/WinTLSSession.h:97:5:  [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(end(), data, len);
data/aria2-1.35.0/src/WrDiskCacheEntry.cc:115:5:  [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((*i)->data + (*i)->offset + (*i)->len, data, wlen);
data/aria2-1.35.0/src/a2io.h:157:37:  [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).
#  define a2open(path, flags, mode) open(path, flags, mode)
data/aria2-1.35.0/src/a2io.h:158:31:  [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).
#  define a2fopen(path, mode) fopen(path, mode)
data/aria2-1.35.0/src/a2io.h:184:37:  [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).
#  define a2open(path, flags, mode) open(path, flags, mode)
data/aria2-1.35.0/src/a2io.h:185:31:  [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).
#  define a2fopen(path, mode) fopen(path, mode)
data/aria2-1.35.0/src/alloca.c:149: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 align[ALIGN_SIZE]; /* To force sizeof(header).  */
data/aria2-1.35.0/src/asctime_r.c:65: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(buf, p, 26);
data/aria2-1.35.0/src/base32.cc:58:7:  [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 temp[8];
data/aria2-1.35.0/src/base32.cc:85: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 temp[7];
data/aria2-1.35.0/src/base64.h:61: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 temp[4];
data/aria2-1.35.0/src/bignum.h:39:5:  [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_.get(), (char_t*)&t, sizeof(t));
data/aria2-1.35.0/src/bignum.h:43:5:  [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_.get(), rhs.buf_.get(), dim);
data/aria2-1.35.0/src/bignum.h:51:5:  [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_.get(), data, size);
data/aria2-1.35.0/src/bignum.h:58:5:  [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_.get(), rhs.buf_.get(), dim);
data/aria2-1.35.0/src/bignum.h:250:5:  [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, buf_.get(), std::min(dim, len));
data/aria2-1.35.0/src/bittorrent_helper.cc:432: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.
  unsigned char infoHash[INFO_HASH_LENGTH];
data/aria2-1.35.0/src/bittorrent_helper.cc:637: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.
  unsigned char compact[COMPACT_LEN_IPV6];
data/aria2-1.35.0/src/bittorrent_helper.cc:645: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.
  unsigned char tx[24];
data/aria2-1.35.0/src/bittorrent_helper.cc:646: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(tx, compact, 4);
data/aria2-1.35.0/src/bittorrent_helper.cc:654: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(tx + 4, infoHash, 20);
data/aria2-1.35.0/src/bittorrent_helper.cc:655: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.
  unsigned char x[20];
data/aria2-1.35.0/src/bittorrent_helper.cc:662: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(&ny, x + j, 4);
data/aria2-1.35.0/src/bittorrent_helper.cc:671: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 temp[20];
data/aria2-1.35.0/src/bittorrent_helper.cc:683: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.
  unsigned char buf[20];
data/aria2-1.35.0/src/bittorrent_helper.cc:821: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(dest, &nParam, sizeof(nParam));
data/aria2-1.35.0/src/bittorrent_helper.cc:827: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(dest, &nParam, sizeof(nParam));
data/aria2-1.35.0/src/bittorrent_helper.cc:833: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(dest, &nParam, sizeof(nParam));
data/aria2-1.35.0/src/bittorrent_helper.cc:853: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(compact + len, &portN, sizeof(portN));
data/aria2-1.35.0/src/bittorrent_helper.cc:862: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 buf[NI_MAXHOST];
data/aria2-1.35.0/src/crypto_hash.cc:117: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_.bytes + offset_, bytes, turn);
data/aria2-1.35.0/src/crypto_hash.cc:141: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_.bytes + offset_, bytes, turn);
data/aria2-1.35.0/src/crypto_hash.cc:359:5:  [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(state_.bytes, initvec, sizeof(state_));
data/aria2-1.35.0/src/crypto_hash.cc:524:5:  [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(state_.bytes, initvec, sizeof(state_));
data/aria2-1.35.0/src/crypto_hash.cc:720:5:  [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(state_.bytes, initvec, sizeof(state_));
data/aria2-1.35.0/src/crypto_hash.cc:750:5:  [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(state_.bytes, initvec, sizeof(state_));
data/aria2-1.35.0/src/crypto_hash.cc:983:5:  [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(state_.bytes, initvec, sizeof(state_));
data/aria2-1.35.0/src/crypto_hash.cc:1015:5:  [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(state_.bytes, initvec, sizeof(state_));
data/aria2-1.35.0/src/fmt.cc:47: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 buf[2048];
data/aria2-1.35.0/src/getaddrinfo.c:126: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.
#  define memcpy(d, s, n) bcopy((s), (d), (n))
data/aria2-1.35.0/src/getaddrinfo.c:126:27:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define memcpy(d, s, n) bcopy((s), (d), (n))
data/aria2-1.35.0/src/getaddrinfo.c:366: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).
      port = htons(atoi(servname));
data/aria2-1.35.0/src/getaddrinfo.c:479:5:  [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(&sa_in->sin_addr, *ap, sizeof(struct in_addr));
data/aria2-1.35.0/src/getaddrinfo.c:558:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(serv, "%d", ntohs(sa_in->sin_port));
data/aria2-1.35.0/src/json.cc:74:7:  [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 temp[3];
data/aria2-1.35.0/src/localtime_r.c:65: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(result, local_tm, sizeof(struct tm));
data/aria2-1.35.0/src/util.cc:103:10:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  return MultiByteToWideChar(CP_UTF8, 0, src, -1, out, outLength);
data/aria2-1.35.0/src/util.cc:1970: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 data[2048];
data/aria2-1.35.0/src/util.cc:2000: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 host[NI_MAXHOST];
data/aria2-1.35.0/src/util.cc:2001: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 service[NI_MAXSERV];
data/aria2-1.35.0/src/util.cc:2132: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.
  unsigned char bytes[40];
data/aria2-1.35.0/src/util.cc:2208: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.
  unsigned char s1[16], s2[16];
data/aria2-1.35.0/src/util_security.cc:169:5:  [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, bytes.data(), bytes.length());
data/aria2-1.35.0/test/ARC4Test.cc:32: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.
  unsigned char key[LEN];
data/aria2-1.35.0/test/ARC4Test.cc:38: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.
  unsigned char encrypted[LEN];
data/aria2-1.35.0/test/ARC4Test.cc:39: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.
  unsigned char decrypted[LEN];
data/aria2-1.35.0/test/BitfieldManTest.cc:310: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.
  unsigned char ignoreBitfield[length];
data/aria2-1.35.0/test/BitfieldManTest.cc:362: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.
  unsigned char ignoreBitfield[length];
data/aria2-1.35.0/test/BitfieldManTest.cc:414: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.
  unsigned char ignoreBitfield[length];
data/aria2-1.35.0/test/BitfieldManTest.cc:578: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.
  unsigned char misbitfield[8];
data/aria2-1.35.0/test/BitfieldManTest.cc:597: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.
  unsigned char misbitfield[1];
data/aria2-1.35.0/test/BitfieldManTest.cc:612: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.
  unsigned char misbitfield[8];
data/aria2-1.35.0/test/BitfieldManTest.cc:638: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.
  unsigned char misbitfield[8];
data/aria2-1.35.0/test/BitfieldManTest.cc:722: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.
  unsigned char ignoreBitfield[length];
data/aria2-1.35.0/test/BitfieldManTest.cc:777: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.
  unsigned char ignoreBitfield[length];
data/aria2-1.35.0/test/BittorrentHelperTest.cc:341: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.
  unsigned char infoHash[20];
data/aria2-1.35.0/test/BittorrentHelperTest.cc:939: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.
  unsigned char compact[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/BtAllowedFastMessageTest.cc:38: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.
  unsigned char msg[9];
data/aria2-1.35.0/test/BtAllowedFastMessageTest.cc:48: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 msg[10];
data/aria2-1.35.0/test/BtAllowedFastMessageTest.cc:57: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 msg[9];
data/aria2-1.35.0/test/BtAllowedFastMessageTest.cc:70: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.
  unsigned char data[9];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:41: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.
  unsigned char msg[5 + 2];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:43: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.
  unsigned char bitfield[2];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:45: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(&msg[5], bitfield, sizeof(bitfield));
data/aria2-1.35.0/test/BtBitfieldMessageTest.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 msg[5];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:61: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 msg[5 + 2];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:73: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.
  unsigned char bitfield[2];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:76: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.
  unsigned char data[5 + 2];
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:78: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[5], bitfield, sizeof(bitfield));
data/aria2-1.35.0/test/BtCancelMessageTest.cc:56: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.
  unsigned char msg[17];
data/aria2-1.35.0/test/BtCancelMessageTest.cc:69: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 msg[18];
data/aria2-1.35.0/test/BtCancelMessageTest.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 msg[17];
data/aria2-1.35.0/test/BtCancelMessageTest.cc:93: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.
  unsigned char data[17];
data/aria2-1.35.0/test/BtChokeMessageTest.cc:80: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.
  unsigned char msg[5];
data/aria2-1.35.0/test/BtChokeMessageTest.cc:87: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 msg[6];
data/aria2-1.35.0/test/BtChokeMessageTest.cc:96: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 msg[5];
data/aria2-1.35.0/test/BtChokeMessageTest.cc:108: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.
  unsigned char data[5];
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:42: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.
  unsigned char msg[17]; // 6+11bytes
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:45: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(msg + 6, payload.c_str(), payload.size());
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:51: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 msg[5];
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:61: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 msg[6];
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:77: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.
  unsigned char data[17];
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:80: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 + 6, payload.c_str(), payload.size());
data/aria2-1.35.0/test/BtHandshakeMessageTest.cc:40: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(&msg[1], BtHandshakeMessageTest::BTPSTR.c_str(),
data/aria2-1.35.0/test/BtHandshakeMessageTest.cc:43: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(&msg[20], reserved, sizeof(reserved));
data/aria2-1.35.0/test/BtHandshakeMessageTest.cc:47: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(&msg[28], infoHash, sizeof(infoHash));
data/aria2-1.35.0/test/BtHandshakeMessageTest.cc:51: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(&msg[48], peerId, sizeof(peerId));
data/aria2-1.35.0/test/BtHandshakeMessageTest.cc:56: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.
  unsigned char msg[68];
data/aria2-1.35.0/test/BtHandshakeMessageTest.cc:87: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.
  unsigned char data[68];
data/aria2-1.35.0/test/BtHaveAllMessageTest.cc:38: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.
  unsigned char msg[5];
data/aria2-1.35.0/test/BtHaveAllMessageTest.cc:45: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 msg[6];
data/aria2-1.35.0/test/BtHaveAllMessageTest.cc:54: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 msg[5];
data/aria2-1.35.0/test/BtHaveAllMessageTest.cc:66: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.
  unsigned char data[5];
data/aria2-1.35.0/test/BtHaveMessageTest.cc:40: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.
  unsigned char msg[9];
data/aria2-1.35.0/test/BtHaveMessageTest.cc:49: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 msg[10];
data/aria2-1.35.0/test/BtHaveMessageTest.cc:58: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 msg[9];
data/aria2-1.35.0/test/BtHaveMessageTest.cc:71: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.
  unsigned char data[9];
data/aria2-1.35.0/test/BtHaveNoneMessageTest.cc:35: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.
  unsigned char msg[5];
data/aria2-1.35.0/test/BtHaveNoneMessageTest.cc:42: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 msg[6];
data/aria2-1.35.0/test/BtHaveNoneMessageTest.cc:51: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 msg[5];
data/aria2-1.35.0/test/BtHaveNoneMessageTest.cc:63: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.
  unsigned char data[5];
data/aria2-1.35.0/test/BtInterestedMessageTest.cc:34: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.
  unsigned char msg[5];
data/aria2-1.35.0/test/BtInterestedMessageTest.cc:42: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 msg[6];
data/aria2-1.35.0/test/BtInterestedMessageTest.cc:51: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 msg[5];
data/aria2-1.35.0/test/BtInterestedMessageTest.cc:63: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.
  unsigned char data[5];
data/aria2-1.35.0/test/BtKeepAliveMessageTest.cc:26: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 data[4];
data/aria2-1.35.0/test/BtNotInterestedMessageTest.cc:34: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.
  unsigned char msg[5];
data/aria2-1.35.0/test/BtNotInterestedMessageTest.cc:42: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 msg[6];
data/aria2-1.35.0/test/BtNotInterestedMessageTest.cc:51: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 msg[5];
data/aria2-1.35.0/test/BtNotInterestedMessageTest.cc:63: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.
  unsigned char data[5];
data/aria2-1.35.0/test/BtPieceMessageTest.cc:94: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.
  unsigned char msg[13 + 2];
data/aria2-1.35.0/test/BtPieceMessageTest.cc:95: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.
  unsigned char data[2];
data/aria2-1.35.0/test/BtPieceMessageTest.cc:100: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(&msg[13], data, sizeof(data));
data/aria2-1.35.0/test/BtPieceMessageTest.cc:109: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 msg[13];
data/aria2-1.35.0/test/BtPieceMessageTest.cc:118: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 msg[13 + 2];
data/aria2-1.35.0/test/BtPieceMessageTest.cc:133: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.
  unsigned char data[13];
data/aria2-1.35.0/test/BtPieceMessageTest.cc:137: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.
  unsigned char rawmsg[13];
data/aria2-1.35.0/test/BtPortMessageTest.cc:63: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.
  unsigned char msg[7];
data/aria2-1.35.0/test/BtPortMessageTest.cc:72: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 msg[8];
data/aria2-1.35.0/test/BtPortMessageTest.cc:81: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 msg[7];
data/aria2-1.35.0/test/BtPortMessageTest.cc:99: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.
  unsigned char data[7];
data/aria2-1.35.0/test/BtPortMessageTest.cc:109: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.
  unsigned char nodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/BtPortMessageTest.cc:149: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.
  unsigned char nodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/BtRejectMessageTest.cc:90: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.
  unsigned char msg[17];
data/aria2-1.35.0/test/BtRejectMessageTest.cc:103: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 msg[18];
data/aria2-1.35.0/test/BtRejectMessageTest.cc:112: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 msg[17];
data/aria2-1.35.0/test/BtRejectMessageTest.cc:127: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.
  unsigned char data[17];
data/aria2-1.35.0/test/BtRequestMessageTest.cc:112: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.
  unsigned char msg[17];
data/aria2-1.35.0/test/BtRequestMessageTest.cc:125: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 msg[18];
data/aria2-1.35.0/test/BtRequestMessageTest.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 msg[17];
data/aria2-1.35.0/test/BtRequestMessageTest.cc:149: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.
  unsigned char data[17];
data/aria2-1.35.0/test/BtSuggestPieceMessageTest.cc:31: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.
  unsigned char msg[9];
data/aria2-1.35.0/test/BtSuggestPieceMessageTest.cc:40: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 msg[10];
data/aria2-1.35.0/test/BtSuggestPieceMessageTest.cc:49: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 msg[9];
data/aria2-1.35.0/test/BtSuggestPieceMessageTest.cc:62: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.
  unsigned char data[9];
data/aria2-1.35.0/test/BtUnchokeMessageTest.cc:35: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.
  unsigned char msg[5];
data/aria2-1.35.0/test/BtUnchokeMessageTest.cc:42: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 msg[6];
data/aria2-1.35.0/test/BtUnchokeMessageTest.cc:51: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 msg[5];
data/aria2-1.35.0/test/BtUnchokeMessageTest.cc:63: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.
  unsigned char data[5];
data/aria2-1.35.0/test/BufferedFileTest.cc:37: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 buf[256];
data/aria2-1.35.0/test/ByteArrayDiskWriterTest.cc:40: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 buf[100];
data/aria2-1.35.0/test/ByteArrayDiskWriterTest.cc:57: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 buf[100];
data/aria2-1.35.0/test/DHKeyExchangeTest.cc:44: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.
  unsigned char publicKeyA[96];
data/aria2-1.35.0/test/DHKeyExchangeTest.cc:45: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.
  unsigned char publicKeyB[96];
data/aria2-1.35.0/test/DHKeyExchangeTest.cc:49: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.
  unsigned char secretA[96];
data/aria2-1.35.0/test/DHKeyExchangeTest.cc:50: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.
  unsigned char secretB[96];
data/aria2-1.35.0/test/DHTAnnouncePeerMessageTest.cc:54: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTAnnouncePeerMessageTest.cc:58: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.
  unsigned char infoHash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTAnnouncePeerMessageTest.cc:90: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTAnnouncePeerMessageTest.cc:94: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.
  unsigned char infoHash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTAnnouncePeerReplyMessageTest.cc:33: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:58: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 nodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:69: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 nodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:185: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 localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:195: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 expectedRMin[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:204: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 expectedLMax[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:228:16:  [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 expectedMin[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:238: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 localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:248:16:  [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 expectedRMin[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:257:16:  [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 expectedLMax[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:283: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:288: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:307: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:312: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:325: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:330: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:343: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:348: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:371: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:393: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:398: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:435: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTest.cc:440: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:33: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:64: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:111: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:122: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:148:16:  [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 targetID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:163:16:  [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 targetID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:182:16:  [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 targetID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTBucketTreeTest.cc:196: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.
  unsigned char localNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTConnectionImplTest.cc:44: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 readbuffer[100];
data/aria2-1.35.0/test/DHTFindNodeMessageTest.cc:57: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTFindNodeMessageTest.cc:83: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTFindNodeReplyMessageTest.cc:38: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTFindNodeReplyMessageTest.cc:51: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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTFindNodeReplyMessageTest.cc:81: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTFindNodeReplyMessageTest.cc:94: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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTGetPeersMessageTest.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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTGetPeersMessageTest.cc:71: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.
  unsigned char infoHash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTGetPeersMessageTest.cc:98: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTGetPeersMessageTest.cc:102: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.
  unsigned char infoHash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc:39: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc:63:16:  [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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc:80:16:  [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[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc:102: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc:126:16:  [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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTGetPeersReplyMessageTest.cc:143:16:  [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[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTIDCloserTest.cc:33: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:53: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.
  unsigned char transactionID[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:55: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.
  unsigned char remoteNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:139: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.
  unsigned char targetNodeID[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:170:16:  [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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:217:16:  [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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:254: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.
  unsigned char infoHash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:285:16:  [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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:300:16:  [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[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:354:16:  [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 buf[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:369:16:  [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[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DHTMessageFactoryImplTest.cc:414: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 infoHash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPeerAnnounceEntryTest.cc:34: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.
  unsigned char infohash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPeerAnnounceEntryTest.cc:57: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.
  unsigned char infohash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPeerAnnounceEntryTest.cc:72: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.
  unsigned char infohash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPeerAnnounceEntryTest.cc:89: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.
  unsigned char infohash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPeerAnnounceStorageTest.cc:31: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.
  unsigned char infohash1[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPeerAnnounceStorageTest.cc:33: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.
  unsigned char infohash2[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPingMessageTest.cc:44:16:  [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 id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTPingMessageTest.cc:56: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTPingMessageTest.cc:79: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTPingReplyMessageTest.cc:33: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.
  unsigned char tid[DHT_TRANSACTION_ID_LENGTH];
data/aria2-1.35.0/test/DHTPingReplyMessageTest.cc:37: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:27: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 zero[256];
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:28: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 buf[20];
data/aria2-1.35.0/test/DHTRoutingTableTest.cc:78: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.
  unsigned char id[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DHTTokenTrackerTest.cc:29: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.
  unsigned char infohash[DHT_ID_LENGTH];
data/aria2-1.35.0/test/DefaultBtAnnounceTest.cc:375: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 host[NI_MAXHOST];
data/aria2-1.35.0/test/DefaultBtMessageFactoryTest.cc:60: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 msg[17]; // 6+11bytes
data/aria2-1.35.0/test/DefaultBtMessageFactoryTest.cc:63: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(msg + 6, payload.c_str(), payload.size());
data/aria2-1.35.0/test/DefaultBtMessageFactoryTest.cc:82: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 data[7];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:244: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.
  unsigned char version[2];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:249: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.
  unsigned char extension[4];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:259: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.
  unsigned char infoHashRead[20];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:284: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.
  unsigned char bitfieldRead[10];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:310: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.
  unsigned char pieceBitfield1[1];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:476: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.
  unsigned char version[2];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:481: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.
  unsigned char extension[4];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:511: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.
  unsigned char bitfieldRead[10];
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:537: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.
  unsigned char pieceBitfield1[1];
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:79: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 id[1] = {registry_->getExtensionMessageID(key)};
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:106: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.
  unsigned char id[1] = {255};
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:122: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 id[1] = {0};
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:131: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.
  unsigned char c1[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:132: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.
  unsigned char c2[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:133: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.
  unsigned char c3[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/DefaultExtensionMessageFactoryTest.cc:134: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.
  unsigned char c4[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/FileTest.cc:250:6:  [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).
  of.open(fname.c_str());
data/aria2-1.35.0/test/FtpConnectionTest.cc:150: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 data[32];
data/aria2-1.35.0/test/FtpConnectionTest.cc:210: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 data[1_k];
data/aria2-1.35.0/test/FtpConnectionTest.cc:212: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, "213 ", 4);
data/aria2-1.35.0/test/FtpConnectionTest.cc:232: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 data[32];
data/aria2-1.35.0/test/FtpConnectionTest.cc:279: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 data[32];
data/aria2-1.35.0/test/FtpConnectionTest.cc:289: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 data[32];
data/aria2-1.35.0/test/FtpConnectionTest.cc:308: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 data[32];
data/aria2-1.35.0/test/GZipDecoder.cc:84: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.
  unsigned char outbuf[OUTBUF_LENGTH];
data/aria2-1.35.0/test/GZipDecoderTest.cc:38: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 buf[4_k];
data/aria2-1.35.0/test/GZipDecodingStreamFilterTest.cc:65: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.
  unsigned char buf[4_k];
data/aria2-1.35.0/test/GZipFileTest.cc:37: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 buf[256];
data/aria2-1.35.0/test/GeomStreamPieceSelectorTest.cc:31: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.
  unsigned char igbf[3];
data/aria2-1.35.0/test/LpdMessageDispatcherTest.cc:61: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.
  unsigned char buf[200];
data/aria2-1.35.0/test/MSEHandshakeTest.cc:35: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 infoHash[20];
data/aria2-1.35.0/test/MockDHTTask.h:17: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.
  unsigned char targetID_[DHT_ID_LENGTH];
data/aria2-1.35.0/test/MockDHTTask.h:34:5:  [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(targetID_, targetID, DHT_ID_LENGTH);
data/aria2-1.35.0/test/MultiDiskAdaptorTest.cc:276:13:  [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(filename.c_str(), "r");
data/aria2-1.35.0/test/MultiDiskAdaptorTest.cc:299: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 buf[128];
data/aria2-1.35.0/test/MultiDiskAdaptorTest.cc:347: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.
  unsigned char buf[128];
data/aria2-1.35.0/test/OptionParserTest.cc:152: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 prog[7];
data/aria2-1.35.0/test/OptionParserTest.cc:155: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 optionTimeout[3];
data/aria2-1.35.0/test/OptionParserTest.cc:157: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 argTimeout[6];
data/aria2-1.35.0/test/OptionParserTest.cc:159: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 optionDir[8];
data/aria2-1.35.0/test/OptionParserTest.cc:161: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 argDir[6];
data/aria2-1.35.0/test/OptionParserTest.cc:164: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 nonopt1[8];
data/aria2-1.35.0/test/OptionParserTest.cc:166: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 nonopt2[8];
data/aria2-1.35.0/test/PieceTest.cc:82: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, "foo", 3);
data/aria2-1.35.0/test/PieceTest.cc:85: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, " bar", 4);
data/aria2-1.35.0/test/PieceTest.cc:92: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, "foo", 3);
data/aria2-1.35.0/test/PieceTest.cc:109: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, "foo", 3);
data/aria2-1.35.0/test/PieceTest.cc:128: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, "fgh", 3);
data/aria2-1.35.0/test/PieceTest.cc:131: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, "rst", 3);
data/aria2-1.35.0/test/PieceTest.cc:134: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, "y", 1);
data/aria2-1.35.0/test/SocketCoreTest.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 readbuffer[100];
data/aria2-1.35.0/test/SocketCoreTest.cc:91: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 dest[NI_MAXHOST];
data/aria2-1.35.0/test/SocketCoreTest.cc:138: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.
  unsigned char dest[16];
data/aria2-1.35.0/test/SocketCoreTest.cc:145: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.
  unsigned char dest[16];
data/aria2-1.35.0/test/SocketCoreTest.cc:211: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 binAddr[16];
data/aria2-1.35.0/test/SocketCoreTest.cc:222: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 binAddr[16];
data/aria2-1.35.0/test/SocketCoreTest.cc:232: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 binAddr[16];
data/aria2-1.35.0/test/TestUtil.cc:40: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 buf[4_k];
data/aria2-1.35.0/test/TestUtil.cc:89: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(cell->data, data, len);
data/aria2-1.35.0/test/UDPTrackerClientTest.cc:68: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 + 8, errorString.c_str(), errorString.size());
data/aria2-1.35.0/test/UDPTrackerClientTest.cc:103: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.
  unsigned char data[16];
data/aria2-1.35.0/test/UDPTrackerClientTest.cc:124: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.
  unsigned char data[100];
data/aria2-1.35.0/test/UDPTrackerClientTest.cc:155: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.
  unsigned char data[100];
data/aria2-1.35.0/test/UDPTrackerClientTest.cc:292: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.
  unsigned char data[100];
data/aria2-1.35.0/test/UDPTrackerClientTest.cc:385: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.
  unsigned char data[100];
data/aria2-1.35.0/test/UTMetadataDataExtensionMessageTest.cc:84: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.
  unsigned char infoHash[INFO_HASH_LENGTH];
data/aria2-1.35.0/test/UTMetadataPostDownloadHandlerTest.cc:78: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.
  unsigned char infoHash[20];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:94: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.
  unsigned char c1[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:95: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.
  unsigned char c2[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:96: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.
  unsigned char c3[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:97: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.
  unsigned char c4[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:98: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.
  unsigned char c5[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:99: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.
  unsigned char c6[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:184: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.
  unsigned char c1[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:185: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.
  unsigned char c2[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:186: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.
  unsigned char c3[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:187: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.
  unsigned char c4[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:188: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.
  unsigned char c5[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:189: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.
  unsigned char c6[COMPACT_LEN_IPV6];
data/aria2-1.35.0/test/UTPexExtensionMessageTest.cc:197: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 id[1] = {1};
data/aria2-1.35.0/test/UtilSecurityTest.cc:332: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 pass[32];
data/aria2-1.35.0/test/UtilSecurityTest.cc:334: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 salt[40];
data/aria2-1.35.0/test/UtilSecurityTest.cc:337: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.
  unsigned char key[32];
data/aria2-1.35.0/test/UtilTest1.cc:831: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 dest[1_k];
data/aria2-1.35.0/test/UtilTest1.cc:1154: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 dest[1_k];
data/aria2-1.35.0/test/UtilTest2.cc:645: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.
  unsigned char data1[25];
data/aria2-1.35.0/test/UtilTest2.cc:649: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.
  unsigned char data2[25];
data/aria2-1.35.0/test/WrDiskCacheEntryTest.cc:58: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(cell->data, "??foo", 3);
data/aria2-1.35.0/test/XORCloserTest.cc:31: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.
  unsigned char keys[NUM_KEY][DHT_ID_LENGTH];
data/aria2-1.35.0/src/AbstractDiskWriter.cc:316:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((ret = read(fd_, data, len)) == -1 && errno == EINTR)
data/aria2-1.35.0/src/AppleTLSContext.cc:349: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).
                                              strlen(password),
data/aria2-1.35.0/src/AppleTLSSession.cc:676:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ssize_t r = read(sockfd_, buffer, remain);
data/aria2-1.35.0/src/ByteArrayDiskWriter.cc:83:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  buf_.read(reinterpret_cast<char*>(data), len);
data/aria2-1.35.0/src/CookieStorage.cc:445:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    headlen = fp.read(header, sizeof(header));
data/aria2-1.35.0/src/DHTRoutingTableDeserializer.cc:64:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (fp.read((ptr), (count)) != (count)) {                                    \
data/aria2-1.35.0/src/DefaultBtProgressInfoFile.cc:225:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (fp.read((ptr), (count)) != (count)) {                                    \
data/aria2-1.35.0/src/ExpatXmlParser.cc:84: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).
      xa.valueLength = strlen(value);
data/aria2-1.35.0/src/FtpConnection.cc:431:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
      sscanf(response.second.c_str(), "%*u %14s", buf);
data/aria2-1.35.0/src/FtpConnection.cc:432:11:  [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(buf) == 14) {
data/aria2-1.35.0/src/GZipEncoder.cc:106:69:  [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).
  internalBuf_ += encode(reinterpret_cast<const unsigned char*>(s), strlen(s));
data/aria2-1.35.0/src/GZipFile.cc:123:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/aria2-1.35.0/src/GenericParser.h:103:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((nread = read(fd, buf.data(), buf.size())) > 0) {
data/aria2-1.35.0/src/IOFile.cc:57:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
size_t IOFile::read(void* ptr, size_t count) { return onRead(ptr, count); }
data/aria2-1.35.0/src/IOFile.cc:64:59:  [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 IOFile::write(const char* str) { return write(str, strlen(str)); }
data/aria2-1.35.0/src/IOFile.cc:72:15:  [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(ptr);
data/aria2-1.35.0/src/IOFile.cc:88: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(buf.data());
data/aria2-1.35.0/src/IOFile.cc:111:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    size_t r = this->read(buf.data(), buf.size());
data/aria2-1.35.0/src/IOFile.h:59:10:  [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 count);
data/aria2-1.35.0/src/InitiatorMSEHandshakeCommand.cc:90:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    mseHandshake_->read();
data/aria2-1.35.0/src/MSEHandshake.cc:137:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MSEHandshake::read()
data/aria2-1.35.0/src/MSEHandshake.cc:546:13:  [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 (!std::equal(std::begin(VC), std::end(VC), vcbuf)) {
data/aria2-1.35.0/src/MSEHandshake.h:137:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read();
data/aria2-1.35.0/src/OptionParser.cc:183: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).
      int optlen = strlen(argv[optind - 1]);
data/aria2-1.35.0/src/OptionParser.cc:187: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).
      int optstrlen = strlen(optstr);
data/aria2-1.35.0/src/OptionParser.cc:208:56:  [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).
          else if (util::startsWith(pref->k, pref->k + strlen(pref->k), optstr,
data/aria2-1.35.0/src/OptionParser.cc:317: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).
      size_t nameLen = strlen(h->getName());
data/aria2-1.35.0/src/ProtocolDetector.cc:66:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fp.read(head, sizeof(head)) == sizeof(head)) {
data/aria2-1.35.0/src/ProtocolDetector.cc:98:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (fp.read(head, sizeof(head)) == sizeof(head)) {
data/aria2-1.35.0/src/ReceiverMSEHandshakeCommand.cc:81:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    mseHandshake_->read();
data/aria2-1.35.0/src/SessionSerializer.cc:102: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).
  size_t prefLen = strlen(pref->k);
data/aria2-1.35.0/src/Sqlite3CookieParser.cc:107: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).
  size_t val0len = strlen(values[0]);
data/aria2-1.35.0/src/Sqlite3CookieParser.cc:111: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).
  std::string cookieName(&values[4][0], &values[4][strlen(values[4])]);
data/aria2-1.35.0/src/Sqlite3CookieParser.cc:112: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).
  std::string cookiePath(&values[1][0], &values[1][strlen(values[1])]);
data/aria2-1.35.0/src/WinConsoleFile.cc:132:30:  [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).
    WriteFile(handle(), str, strlen(str), &written, 0);
data/aria2-1.35.0/src/WinTLSSession.cc:485:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read < 0 && errno == WSAEINTR) {
data/aria2-1.35.0/src/WinTLSSession.cc:488:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read < 0 && errno == WSAEWOULDBLOCK) {
data/aria2-1.35.0/src/WinTLSSession.cc:491:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (read < 0) {
data/aria2-1.35.0/src/WinTLSSession.cc:502:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    readBuf_.advance(read);
data/aria2-1.35.0/src/WinTLSSession.cc:598:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      goto read;
data/aria2-1.35.0/src/WinTLSSession.cc:661:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read:
data/aria2-1.35.0/src/WinTLSSession.cc:674:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read < 0 && errno == WSAEINTR) {
data/aria2-1.35.0/src/WinTLSSession.cc:677:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read < 0 && errno == WSAEWOULDBLOCK) {
data/aria2-1.35.0/src/WinTLSSession.cc:680:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read <= 0) {
data/aria2-1.35.0/src/WinTLSSession.cc:691:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      readBuf_.advance(read);
data/aria2-1.35.0/src/XmlParser.cc:66:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((nread = read(fd, buf.data(), buf.size())) > 0) {
data/aria2-1.35.0/src/getaddrinfo.c:489: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).
    head_res->ai_canonname = (char*)malloc(strlen(canonname) + 1);
data/aria2-1.35.0/src/getaddrinfo.c:547: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).
      if (servlen <= strlen(servent->s_name)) {
data/aria2-1.35.0/src/getaddrinfo.c:570: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).
      if (nodelen <= strlen(hostent->h_name)) {
data/aria2-1.35.0/src/getaddrinfo.c:582: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).
      if (nodelen <= strlen(ntoa_address)) {
data/aria2-1.35.0/src/libgen.c:54: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).
  rv = s + strlen(s) - 1;
data/aria2-1.35.0/src/libgen.c:72:14:  [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).
  p = path + strlen(path) - 1;
data/aria2-1.35.0/src/option_processing.cc:102:14:  [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 alen = strlen(a);
data/aria2-1.35.0/src/option_processing.cc:103:14:  [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 blen = strlen(b);
data/aria2-1.35.0/src/option_processing.cc:136: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 optstrlen = strlen(optstr);
data/aria2-1.35.0/src/option_processing.cc:145:45:  [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 (util::startsWith(pref->k, pref->k + strlen(pref->k), optstr,
data/aria2-1.35.0/src/strptime.c:100:15:  [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(strs[i]);
data/aria2-1.35.0/src/strptime.c:406:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(zonestr, buf, cp - buf);
data/aria2-1.35.0/src/util.cc:1895:5:  [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(seconds * 1000000);
data/aria2-1.35.0/src/util.cc:1901:6:  [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.
void usleep(long microseconds)
data/aria2-1.35.0/src/util.cc:1904:5:  [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(microseconds);
data/aria2-1.35.0/src/util.cc:1938:13:  [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.
#  error no usleep function is available (nanosleep?)
data/aria2-1.35.0/src/util.cc:2450: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).
  return endsWith(a.begin(), a.end(), b, b + strlen(b));
data/aria2-1.35.0/src/util.cc:2460: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).
  return iendsWith(a.begin(), a.end(), b, b + strlen(b));
data/aria2-1.35.0/src/util.h:388:6:  [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.
void usleep(long microseconds);
data/aria2-1.35.0/src/util.h:522: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).
  size_t numDelims = strlen(delims);
data/aria2-1.35.0/src/util.h:579:15:  [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(first1, last1, first2);
data/aria2-1.35.0/src/util.h:645:15:  [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(first2, last2, first1);
data/aria2-1.35.0/src/util.h:694:15:  [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(first2, last2, last1 - (last2 - first2));
data/aria2-1.35.0/test/BittorrentHelperTest.cc:349: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.
    CPPUNIT_ASSERT(std::equal(fastSet.begin(), fastSet.end(), std::begin(ans)));
data/aria2-1.35.0/test/BittorrentHelperTest.cc:355: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.
    CPPUNIT_ASSERT(std::equal(fastSet.begin(), fastSet.end(), std::begin(ans)));
data/aria2-1.35.0/test/BittorrentHelperTest.cc:362: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.
    CPPUNIT_ASSERT(std::equal(fastSet.begin(), fastSet.end(), std::begin(ans)));
data/aria2-1.35.0/test/BtAllowedFastMessageTest.cc:75:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtBitfieldMessageTest.cc:81:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtCancelMessageTest.cc:100:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtChokeMessageTest.cc:112:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtExtendedMessageTest.cc:83:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtHaveAllMessageTest.cc:70:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtHaveMessageTest.cc:76:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtHaveNoneMessageTest.cc:67:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtInterestedMessageTest.cc:67:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtKeepAliveMessageTest.cc:32:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtNotInterestedMessageTest.cc:67:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtPortMessageTest.cc:104:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtRejectMessageTest.cc:134:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtRequestMessageTest.cc:156:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtSuggestPieceMessageTest.cc:67:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BtUnchokeMessageTest.cc:67:23:  [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.
  CPPUNIT_ASSERT(std::equal(std::begin(rawmsg), std::end(rawmsg), data));
data/aria2-1.35.0/test/BufferedFileTest.cc:38:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  size_t len = rd.read(buf, 11);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:51:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 8);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:66:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 8);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:75:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 8);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:78:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, DHT_ID_LENGTH);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:81:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:89:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:124:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:135:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 7);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:138:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 6);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:146:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 2);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:149:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 16);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:152:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, DHT_ID_LENGTH);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:155:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:166:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 7);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:169:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 6);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:174:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 2);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:177:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 16);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:180:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, DHT_ID_LENGTH);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:183:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:194:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 7);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:197:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 6);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:205:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 2);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:208:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 16);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:211:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, DHT_ID_LENGTH);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:214:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:218:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 1);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:250:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:261:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 7);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:264:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 18);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:272:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 6);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:275:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, DHT_ID_LENGTH);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:278:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:289:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 7);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:292:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 18);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:297:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 6);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:300:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, DHT_ID_LENGTH);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:303:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 4);
data/aria2-1.35.0/test/DHTRoutingTableSerializerTest.cc:307:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ss.read(buf, 1);
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:245:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)version, sizeof(version));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:250:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)extension, sizeof(extension));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:255:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read(reinterpret_cast<char*>(&infoHashLength), sizeof(infoHashLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:260:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)infoHashRead, sizeof(infoHashRead));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:265:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceLength, sizeof(pieceLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:270:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&totalLength, sizeof(totalLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:275:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&uploadLength, sizeof(uploadLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:280:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&bitfieldLength, sizeof(bitfieldLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:285:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)bitfieldRead, sizeof(bitfieldRead));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:290:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&numInFlightPiece, sizeof(numInFlightPiece));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:296:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&index1, sizeof(index1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:301:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceLength1, sizeof(pieceLength1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:306:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceBitfieldLength1, sizeof(pieceBitfieldLength1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:311:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)pieceBitfield1, sizeof(pieceBitfield1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:317:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&index2, sizeof(index2));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:322:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceLength2, sizeof(pieceLength2));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:477:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)version, sizeof(version));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:482:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)extension, sizeof(extension));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:487:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read(reinterpret_cast<char*>(&infoHashLength), sizeof(infoHashLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:492:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceLength, sizeof(pieceLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:497:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&totalLength, sizeof(totalLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:502:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&uploadLength, sizeof(uploadLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:507:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&bitfieldLength, sizeof(bitfieldLength));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:512:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)bitfieldRead, sizeof(bitfieldRead));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:517:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&numInFlightPiece, sizeof(numInFlightPiece));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:523:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&index1, sizeof(index1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:528:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceLength1, sizeof(pieceLength1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:533:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceBitfieldLength1, sizeof(pieceBitfieldLength1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:538:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)pieceBitfield1, sizeof(pieceBitfield1));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:544:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&index2, sizeof(index2));
data/aria2-1.35.0/test/DefaultBtProgressInfoFileTest.cc:549:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  in.read((char*)&pieceLength2, sizeof(pieceLength2));
data/aria2-1.35.0/test/GZipDecoderTest.cc:42:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in.read(buf, sizeof(buf));
data/aria2-1.35.0/test/GZipDecodingStreamFilterTest.cc:68:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in.read(reinterpret_cast<char*>(buf), sizeof(buf));
data/aria2-1.35.0/test/GZipFileTest.cc:38:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  size_t len = rd.read(buf, 11);
data/aria2-1.35.0/test/MSEHandshakeTest.cc:82:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    receiver->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:90:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    initiator->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:99:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    receiver->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:104:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    receiver->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:107:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    receiver->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:110:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    receiver->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:113:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    receiver->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:121:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    initiator->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:124:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    initiator->read();
data/aria2-1.35.0/test/MSEHandshakeTest.cc:127:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    initiator->read();
data/aria2-1.35.0/test/OptionParserTest.cc:153:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(prog, "aria2c", sizeof(prog));
data/aria2-1.35.0/test/OptionParserTest.cc:156:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(optionTimeout, "-A", sizeof(optionTimeout));
data/aria2-1.35.0/test/OptionParserTest.cc:158:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(argTimeout, "ALPHA", sizeof(argTimeout));
data/aria2-1.35.0/test/OptionParserTest.cc:160:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(optionDir, "--dir", sizeof(optionDir));
data/aria2-1.35.0/test/OptionParserTest.cc:162:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(argDir, "BRAVO", sizeof(argDir));
data/aria2-1.35.0/test/OptionParserTest.cc:165:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(nonopt1, "nonopt1", sizeof(nonopt1));
data/aria2-1.35.0/test/OptionParserTest.cc:167:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
  strncpy(nonopt2, "nonopt2", sizeof(nonopt2));
data/aria2-1.35.0/test/SocketCoreTest.cc:148:23:  [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.
  CPPUNIT_ASSERT(std::equal(&dest[0], &dest[4], &ans1[0]));
data/aria2-1.35.0/test/SocketCoreTest.cc:154:23:  [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.
  CPPUNIT_ASSERT(std::equal(&dest[0], &dest[16], &ans2[0]));
data/aria2-1.35.0/test/Sqlite3CookieParserTest.cc:90:58:  [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).
    CPPUNIT_ASSERT(util::startsWith(e.what(), e.what() + strlen(e.what()),
data/aria2-1.35.0/test/TestUtil.cc:42:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in.read(buf, sizeof(buf));
data/aria2-1.35.0/test/TestUtil.cc:87: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).
  size_t len = strlen(data);

ANALYSIS SUMMARY:

Hits = 741
Lines analyzed = 186383 in approximately 4.82 seconds (38653 lines/second)
Physical Source Lines of Code (SLOC) = 122069
Hits@level = [0] 110 [1] 183 [2] 516 [3]  11 [4]  23 [5]   8
Hits@level+ = [0+] 851 [1+] 741 [2+] 558 [3+]  42 [4+]  31 [5+]   8
Hits/KSLOC@level+ = [0+] 6.97147 [1+] 6.07034 [2+] 4.57119 [3+] 0.344068 [4+] 0.253955 [5+] 0.0655367
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.