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/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipOut.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipUpdate.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipAddCommon.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipIn.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipAddCommon.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHeader.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipItem.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipItem.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipCompressionMode.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipUpdate.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipIn.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHeader.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabIn.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabBlockInStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHeader.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabIn.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabBlockInStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHandler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabItem.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/ItemNameUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/DummyOutStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/DummyOutStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/InStreamWithCRC.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/InStreamWithCRC.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/HandlerOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/FindSignature.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/HandlerOut.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/MultiStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/CoderMixer2.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/MultiStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/OutStreamWithCRC.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/ItemNameUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/FindSignature.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/ParseProperties.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/CoderMixer2.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHeader.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHeader.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarUpdate.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarOut.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHandlerOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarUpdate.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarIn.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHandler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarItem.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarIn.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zUpdate.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zSpecStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zCompressionMode.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zEncode.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zIn.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zProperties.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zSpecStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zOut.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zDecode.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zIn.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zEncode.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHeader.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandlerOut.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zUpdate.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHeader.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zProperties.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zFolderInStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zExtract.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zItem.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zFolderInStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zDecode.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/IArchive.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/LzmaHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/PpmdHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/GzHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/SplitHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/XzHandler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Bz2Handler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/ZHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/XzHandler.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Const.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Lzx.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ImplodeDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateEncoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzmaDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BitlEncoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzOutWindow.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/QuantumDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ShrinkDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Bcj2Coder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Register.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BitmEncoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdZip.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Lzma2Encoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzxDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ByteSwap.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BranchMisc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateConst.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Deflate64Register.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ImplodeHuffmanDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Encoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzOutWindow.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/QuantumDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Bcj2Register.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Decoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Mtf8.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ZDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BranchMisc.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BcjRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzmaEncoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ShrinkDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Bcj2Coder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzmaDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Encoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateEncoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/CopyRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzmaRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BcjCoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdEncoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Lzma2Register.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BitlDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzmaEncoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ImplodeDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Lzma2Encoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Lzma2Decoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BcjCoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Crc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ZDecoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Crc.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BZip2Decoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BitlDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/Lzma2Decoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdZip.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/CopyCoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/PpmdEncoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzxDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BitmDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/HuffmanDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeltaFilter.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/CopyCoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/BranchRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ImplodeHuffmanDecoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/PercentPrinter.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/OpenCallbackConsole.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/PercentPrinter.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ConsoleClose.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ConsoleClose.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/MainAr.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UpdateCallbackConsole.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UserInputUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UserInputUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/BenchCon.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/Main.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/OpenCallbackConsole.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/BenchCon.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/DefaultName.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ExtractingFilePath.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/SetProperties.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Update.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/HashCalc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/LoadCodecs.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Update.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveCommandLine.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/HashCalc.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateCallback.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveExtractCallback.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/EnumDirItems.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateCallback.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateProduce.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveCommandLine.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/TempFiles.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/SetProperties.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateAction.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/OpenArchive.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ExtractingFilePath.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateAction.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Property.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/DirItem.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Extract.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/IFileExtractCallback.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/LoadCodecs.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/TempFiles.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ExitCode.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateProduce.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdatePair.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/SortUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Extract.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/OpenArchive.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/SortUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/EnumDirItems.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ExtractMode.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveOpenCallback.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdatePair.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/DefaultName.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilePathAutoRename.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OutBuffer.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OutMemStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamBinder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/InOutTempBuffer.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OffsetStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/MemBlocks.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilePathAutoRename.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OutBuffer.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/LimitedStreams.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/RegisterArc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/PropId.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/ProgressMt.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/InBuffer.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/VirtThread.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/MethodId.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamBinder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/CreateCoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/MethodProps.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/CWrappers.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/CreateCoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FileStreams.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/CWrappers.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/RegisterCodec.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilterCoder.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilterCoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/LimitedStreams.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/InBuffer.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/MethodProps.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/VirtThread.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/InOutTempBuffer.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/ProgressUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/ProgressMt.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/UniqBlocks.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OutMemStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OffsetStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/ProgressUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/MemBlocks.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/UniqBlocks.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FileStreams.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAes.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/ZipCrypto.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/ZipCrypto.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/WzAes.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/MyAes.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/WzAes.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/HmacSha1.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/RandGen.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/ZipStrong.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/Pbkdf2HmacSha1.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/MyAesReg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/RandGen.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/Sha1Cls.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAes.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/MyAes.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/Pbkdf2HmacSha1.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/ZipStrong.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAesRegister.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/HmacSha1.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/IDecl.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/ICoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/IProgress.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/IPassword.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/PropID.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/IStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/MyVersion.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/Thread.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/TimeUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/TimeUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/ErrorMsg.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariant.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/Defs.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/Synchronization.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/ErrorMsg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/Synchronization.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/System.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariant.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/System.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/DLL.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/Registry.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/ResourceString.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/NtCheck.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariantConv.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/Synchronization2.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileName.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileName.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariantConv.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyBuffer.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdInStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdInStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyInitGuid.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/DynamicBuffer.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/XzCrc64Reg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyTypes.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/C_FileIO.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/ComTry.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyCom.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StringConvert.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/IntToString.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/Common.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/CommandLineParser.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/Defs.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StringToInt.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/CrcReg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/ListFileUtils.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StringConvert.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyException.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/UTFConvert.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/Sha256Reg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/AutoPtr.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/ListFileUtils.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/Wildcard.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyLinux.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/UTFConvert.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/CommandLineParser.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyUnknown.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/IntToString.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/CRC.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyGuidDef.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/Wildcard.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/NewHandler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StringToInt.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/Sha1Reg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/wine_date_and_time.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/myAddExeFlag.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/StdAfx.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/myPrivate.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/mySplitCommandLine.cpp
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/config.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/include_windows/windows.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/include_windows/basetyps.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/CPP/include_windows/tchar.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Xz.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Xz.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzCrc64.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzCrc64.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzIn.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Delta.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd8Enc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Enc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Precomp.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Delta.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Enc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaDec.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaDec.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Bra86.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Bra.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Sort.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/7zCrcOpt.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Bra.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Sort.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Threads.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/CpuArch.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd7.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Threads.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/BwtSort.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzEnc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/CpuArch.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Sha1.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/BraIA64.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd7.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/7zTypes.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/BwtSort.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzEnc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Compiler.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Sha1.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/7zVersion.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd7Dec.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzFind.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzFind.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd8.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd8.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/7zCrc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/MtCoder.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/7zCrc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/MtCoder.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Aes.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/HuffEnc.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Bcj2Enc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Aes.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/HuffEnc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzFindMt.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/7zStream.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzHash.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/LzFindMt.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Bcj2.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd8Dec.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Dec.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd7Enc.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Bcj2.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Dec.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/RotateDefs.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/XzCrc64Opt.c
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Sha256.h
Examining data/cherrytree-0.99.21+dfsg/src/7za/C/Sha256.c
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/core.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/posix.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/compile.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/ranges.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/locale.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/chrono.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/color.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/ostream.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/fmt.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bin_to_hex.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/ostr.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/cfg/argv.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/cfg/helpers-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/cfg/env.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/cfg/log_levels.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/cfg/helpers.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/fmt_helper.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/periodic_worker-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/circular_q.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/registry-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/registry.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/file_helper-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/thread_pool-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/tcp_client-windows.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/log_msg_buffer.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/synchronous_factory.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/backtracer-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/tcp_client.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/thread_pool.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/mpmc_blocking_q.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/console_globals.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/periodic_worker.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/log_msg_buffer-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/file_helper.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/backtracer.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/log_msg.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/windows_include.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/log_msg-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/null_mutex.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/tweakme.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/common-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/basic_file_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/stdout_color_sinks.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/stdout_sinks.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/ansicolor_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/sink-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/ostream_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/dup_filter_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/msvc_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/syslog_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/base_sink-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/systemd_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/basic_file_sink-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/win_eventlog_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/null_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/ringbuffer_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/daily_file_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/stdout_sinks-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/android_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/tcp_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/rotating_file_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/base_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/dist_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/wincolor_sink.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/wincolor_sink-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/async_logger-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/spdlog-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/spdlog.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/common.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/async.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/formatter.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/logger.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/logger-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/version.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/pattern_formatter-inl.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fwd.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/pattern_formatter.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/async_logger.h
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/fmt.cpp
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/file_sinks.cpp
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/cfg.cpp
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/stdout_sinks.cpp
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/color_sinks.cpp
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/async.cpp
Examining data/cherrytree-0.99.21+dfsg/src/spdlog/src/spdlog.cpp
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_image.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_export.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_column_edit.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_menu.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_process.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_app.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_import.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_process.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_imports.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_p7za_iface.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_dialogs.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_types.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_export2html.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_column_edit.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_help.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_codebox.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_parser_text.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_export2txt.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_widgets.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_widgets.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_dialogs.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_export2pdf.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_table.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_parser_html.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_export2html.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_parser.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_export2txt.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_main_win.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_config.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_file.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_format.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_app.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_treestore.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_logging.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc
Parsing failed to find end of parameter list; semicolon terminated it in (lhs.begin(), lhs.end(), rhs.begin(), rhs.end(), [](std::shared_ptr<CtAnchoredWidgetState> lhs, std::shared_ptr<CtAnchoredWidgetState> rhs) {
                return lhs->equal(rhs);
            });
  
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_filesystem.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_tree.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_clipboard.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_edit.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_view.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_clipboard.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_codebox.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_imports.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_image.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_main.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_const.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_find.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_export2pdf.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_sqlite.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_table.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_list.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_parser.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_control.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_treestore.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_p7za_iface.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_parser_md.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_filesystem.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_sqlite.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_xml.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_pref_dlg.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_main_win.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_others.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_control.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_actions.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_xml.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_pref_dlg.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_list.h
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_config.cc
Examining data/cherrytree-0.99.21+dfsg/src/ct/ct_menu.cc
Examining data/cherrytree-0.99.21+dfsg/tests/data/mimetype_cpp.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_encoding.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_main.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_read_write.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_misc_utils.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_tmp_n_p7zip.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_types.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_clipboard.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_filesystem.cpp
Examining data/cherrytree-0.99.21+dfsg/tests/tests_common.h

FINAL RESULTS:

data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:349:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
       chmod(name,stat_info.st_mode & gbl_umask.mask);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:354:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
       chmod(name,stat_info.st_mode & gbl_umask.mask);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:367:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
       chmod(name,stat_info.st_mode & gbl_umask.mask);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:371:8:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
       chmod(name,stat_info.st_mode & gbl_umask.mask);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:420:15:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        ret = chmod(dst,info_file.st_mode & gbl_umask.mask);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:90:14:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
     _size = readlink(name, _buffer, sizeof(_buffer)-1);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/myAddExeFlag.cpp:18:2:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
	chmod(name,0700);
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:230:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy(dir_hugetlbfs,info->mnt_dir);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:4:8:  [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.
#undef printf
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveCommandLine.cpp:5:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:5:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:6:8:  [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.
#undef printf
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UserInputUtils.cpp:86:25:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
  AString oemPassword = getpass("");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UserInputUtils.cpp:91:28:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
    AString oemPassword2 = getpass("");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:1386:10:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
wchar_t *wcscpy(wchar_t * d, const wchar_t * s)
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:1393:10:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
wchar_t *wcscat(wchar_t *dest, const wchar_t * src)
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:1395:3:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
  wcscpy(dest + wcslen(dest), src);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:46:9:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
#define lstrcpy wcscpy
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:46:17:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
#define lstrcpy wcscpy
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:47:9:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#define lstrcat wcscat
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:47:17:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#define lstrcat wcscat
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:51:9:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
#define lstrcpy strcpy
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:51:17:  [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).
#define lstrcpy strcpy
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:52:9:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#define lstrcat strcat
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:52:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
#define lstrcat strcat
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:80:5:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    lstrcat(buffer,name);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:98:5:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
    lstrcpy(buffer,name);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:138:5:  [4] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
    lstrcpy(buffer,wbegin);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:140:5:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    lstrcat(buffer,name);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/StdAfx.h:56:10:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
wchar_t *wcscpy(wchar_t * , const wchar_t * );
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/StdAfx.h:57:10:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
wchar_t *wcscat(wchar_t * , const wchar_t * );
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/mySplitCommandLine.cpp:126: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(locale_upper,locale);
data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_others.cc:288:36:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
            std::string cmd = fmt::sprintf(_pCtMainWin->get_ct_config()->weblinkCustomAct, clean_weblink);
data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_others.cc:289:29:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            int retr = std::system(cmd.c_str());
data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_others.cc:456:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    int status = std::system(terminal_cmd.c_str());
data/cherrytree-0.99.21+dfsg/src/ct/ct_actions_others.cc:466:27:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            status = std::system("xterm -version");
data/cherrytree-0.99.21+dfsg/src/ct/ct_filesystem.cc:185:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        std::string cmd = fmt::sprintf(config->filelinkCustomAct, filepath.string());
data/cherrytree-0.99.21+dfsg/src/ct/ct_filesystem.cc:186:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        const int retVal = std::system(cmd.c_str());
data/cherrytree-0.99.21+dfsg/src/ct/ct_filesystem.cc:215:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        std::string cmd = fmt::sprintf(config->folderlinkCustomAct, folderpath.string());
data/cherrytree-0.99.21+dfsg/src/ct/ct_filesystem.cc:216:33:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        const int retVal = std::system(cmd.c_str());
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:783:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(rgb24StrOut, "#%s", scanStart);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h:48:24:  [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.
#  define FMT_SNPRINTF snprintf
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:175:6:  [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.
void printf(buffer<Char>& buf, basic_string_view<Char> format,
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:181:41:  [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.
internal::truncating_iterator<OutputIt> printf(
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:188:17:  [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.
using internal::printf;  // For printing into memory_buffer.
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:609:32:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
inline std::basic_string<Char> vsprintf(
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:613:3:  [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(buffer, to_string_view(format), args);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:628:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
inline std::basic_string<Char> sprintf(const S& format, const Args&... args) {
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:630:10:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  return vsprintf(to_string_view(format), make_format_args<context>(args...));
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:634:12:  [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.
inline int vfprintf(
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:638:3:  [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(buffer, to_string_view(format), args);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:656:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int fprintf(std::FILE* f, const S& format, const Args&... args) {
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:658: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(f, to_string_view(format),
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:663:12:  [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.
inline int vprintf(
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:666: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(stdout, to_string_view(format), args);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:680:12:  [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 S& format_str, const Args&... args) {
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:682:10:  [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.
  return vprintf(to_string_view(format_str),
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:687:12:  [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.
inline int vfprintf(
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:691:3:  [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(buffer, to_string_view(format), args);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:700:33:  [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.
typename ArgFormatter::iterator vprintf(
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:718:12:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
inline int fprintf(std::basic_ostream<Char>& os, const S& format_str,
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/printf.h:721: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(os, to_string_view(format_str),
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:204: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.
  g_HugetlbPath = getenv("HUGETLB_PATH");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:828:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *p7zip_home_dir = getenv("P7ZIP_HOME_DIR");
data/cherrytree-0.99.21+dfsg/src/ct/ct_dialogs.cc:1126:37:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
        chooser->set_current_folder(g_get_home_dir());
data/cherrytree-0.99.21+dfsg/src/ct/ct_dialogs.cc:1151:37:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
        chooser->set_current_folder(g_get_home_dir());
data/cherrytree-0.99.21+dfsg/src/ct/ct_dialogs.cc:1167:37:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
        chooser->set_current_folder(g_get_home_dir());
data/cherrytree-0.99.21+dfsg/src/ct/ct_p7za_iface.cc:69:36:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
                "-w" + std::string(g_get_tmp_dir()),
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/cfg/env.h:30:33:  [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.
    auto env_val = details::os::getenv("SPDLOG_LEVEL");
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h:403:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *env_p = std::getenv("TERM");
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h:534:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
std::string SPDLOG_INLINE getenv(const char *field)
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h:547: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.
    char *buf = ::getenv(field);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os.h:103:24:  [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.
SPDLOG_API std::string getenv(const char *field);
data/cherrytree-0.99.21+dfsg/src/7za/C/7zStream.c:48: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, lookBuf, *size);
data/cherrytree-0.99.21+dfsg/src/7za/C/7zStream.c:123: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->buf + p->pos, rem);
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:118:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tempname[pathlen+12];
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:120: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(tempname, g_HugetlbPath, pathlen);
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:121: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(tempname + pathlen, "/7z-XXXXXX", 11);
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:122:14:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
        fd = mkstemp(tempname);
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:209:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char dir_hugetlbfs[1024];
data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Dec.c:163: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(p->dic + p->dicPos, src, size);
data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Dec.c:347: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(dest, p->decoder.dic + dicPos, outSizeCur);
data/cherrytree-0.99.21+dfsg/src/7za/C/Lzma2Enc.c:114: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(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u);
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaDec.c:870:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->tempBuf, src, inSize);
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaDec.c:967: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(dest, p->dic + dicPos, outSizeCur);
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:380: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(dest->isMatch[i], p->isMatch[i], sizeof(p->isMatch[i]));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:381: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(dest->isRep0Long[i], p->isRep0Long[i], sizeof(p->isRep0Long[i]));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:384: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(dest->posSlotEncoder[i], p->posSlotEncoder[i], sizeof(p->posSlotEncoder[i]));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:385: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->isRep, p->isRep, sizeof(p->isRep));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:386: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->isRepG0, p->isRepG0, sizeof(p->isRepG0));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:387: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->isRepG1, p->isRepG1, sizeof(p->isRepG1));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:388: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->isRepG2, p->isRepG2, sizeof(p->isRepG2));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:389: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->posEncoders, p->posEncoders, sizeof(p->posEncoders));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:390: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->posAlignEncoder, p->posAlignEncoder, sizeof(p->posAlignEncoder));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:391: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->reps, p->reps, sizeof(p->reps));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:392: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->litProbs, p->litProbs, ((UInt32)0x300 << p->lclp) * sizeof(CLzmaProb));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:406: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(dest->isMatch[i], p->isMatch[i], sizeof(p->isMatch[i]));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:407: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(dest->isRep0Long[i], p->isRep0Long[i], sizeof(p->isRep0Long[i]));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:410: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(dest->posSlotEncoder[i], p->posSlotEncoder[i], sizeof(p->posSlotEncoder[i]));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:411: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->isRep, p->isRep, sizeof(p->isRep));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:412: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->isRepG0, p->isRepG0, sizeof(p->isRepG0));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:413: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->isRepG1, p->isRepG1, sizeof(p->isRepG1));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:414: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->isRepG2, p->isRepG2, sizeof(p->isRepG2));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:415: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->posEncoders, p->posEncoders, sizeof(p->posEncoders));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:416: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->posAlignEncoder, p->posAlignEncoder, sizeof(p->posAlignEncoder));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:417: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->reps, p->reps, sizeof(p->reps));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:418: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->litProbs, p->litProbs, ((UInt32)0x300 << dest->lclp) * sizeof(CLzmaProb));
data/cherrytree-0.99.21+dfsg/src/7za/C/LzmaEnc.c:2131: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(p->data, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd7Dec.c:79:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define MASK(sym) ((signed char *)charMask)[sym]
data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd7Enc.c:77:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define MASK(sym) ((signed char *)charMask)[sym]
data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd8Dec.c:46:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define MASK(sym) ((signed char *)charMask)[sym]
data/cherrytree-0.99.21+dfsg/src/7za/C/Ppmd8Enc.c:54:28:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define MASK(sym) ((signed char *)charMask)[sym]
data/cherrytree-0.99.21+dfsg/src/7za/C/Sha256.c:190:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->buffer + pos, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/C/Sha256.c:195: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->buffer + pos, data, num);
data/cherrytree-0.99.21+dfsg/src/7za/C/Sha256.c:205: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->buffer, data, 64);
data/cherrytree-0.99.21+dfsg/src/7za/C/Sha256.c:210: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->buffer, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c:143: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, p->buf + p->bufPos, curSize);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c:158:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->buf + p->bufTotal, src, curSize);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c:554: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(filter->props, header + pos, (size_t)size);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c:738:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(p->buf + p->pos, src, cur);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c:773:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(p->buf + p->pos, src, cur);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzDec.c:857:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->buf + p->pos, src, cur);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzEnc.c:42: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(header, XZ_SIG, XZ_SIG_SIZE);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzEnc.c:68: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(header + pos, f->props, f->propsSize);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzEnc.c:124: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 + 10, XZ_FOOTER_SIG, XZ_FOOTER_SIG_SIZE);
data/cherrytree-0.99.21+dfsg/src/7za/C/XzEnc.c:144: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(blocks, p->blocks, p->numBlocks * sizeof(CXzBlockSizes));
data/cherrytree-0.99.21+dfsg/src/7za/C/XzIn.c:301: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, p->streams, p->num * sizeof(CXzStream));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandler.cpp:67: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 s[kLen];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandler.cpp:133:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandler.cpp:297: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[kTempSize];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zHandler.cpp:339: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zIn.cpp:121: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, _buffer + _pos, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zIn.cpp:260: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, _header, kHeaderSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zIn.cpp:296: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(_header, p, kHeaderSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zOut.cpp:19: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, kSignature, kSignatureSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zOut.h:36: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 + _pos, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/7z/7zUpdate.cpp:816:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[2048];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabBlockInStream.cpp: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(data, _buf + _pos, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHandler.cpp:135:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp[kMethodNameBufSize];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHandler.cpp:229: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[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHandler.cpp:317: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 s[kMethodNameBufSize];;
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabHandler.cpp:756: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(TempBuf + (m_PosInFolder - m_BufStartFolderOffset), data, numBytesToWrite);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabIn.cpp:217: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, header, kMainHeaderSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Cab/CabIn.cpp:237: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, header, kMainHeaderSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Common/FindSignature.cpp:28: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, (const Byte *)byteBuffer2 + 1, numPrevBytes);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/LzmaHandler.cpp:271:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char sz[64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/PpmdHandler.cpp:145: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHandler.cpp:88:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char sz[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarHeader.cpp:20: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.
    const char kUsTar_00[8] = { 'u', 's', 't', 'a', 'r', 0, '0', '0' } ;
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarIn.cpp:31: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 sz[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarIn.cpp:74: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[NFileHeader::kRecordSize + 1];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarIn.cpp:134: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[NFileHeader::kRecordSize];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarIn.cpp:208: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(item.Magic, p, 8); p += 8;
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarItem.h:36: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 Magic[8];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarOut.cpp: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 record[NFileHeader::kRecordSize];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarOut.cpp: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(cur, item.Magic, 8);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Tar/TarUpdate.cpp:95: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(item.Magic, NFileHeader::NMagic::kUsTar_00, 8);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/XzHandler.cpp:160: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/XzHandler.cpp:214: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[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandler.cpp:378:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char s[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandler.cpp:397:15:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandler.cpp:414:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipHandler.cpp:439: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipIn.cpp:1487: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipUpdate.cpp:1110: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(_cache + pos, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilePathAutoRename.cpp:17: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FileStreams.cpp:77: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, Buf + pos, rem);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilterCoder.cpp:204: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 + _bufPos, data, num);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FilterCoder.cpp:325: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, _buf + _convPos, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/InOutTempBuffer.cpp:68: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 + _bufPos, data, cur);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/LimitedStreams.cpp:299: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, _cache + (size_t)offsetInCache, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OutBuffer.cpp:59: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(_buf2, _buf + _streamPos, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/OutMemStream.cpp:51:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, data, curSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamBinder.cpp:103: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, _buf, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.cpp:22: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, (const Byte *)Buf + (size_t)_pos, rem);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.cpp: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(data, _data + (size_t)_pos, rem);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.cpp:151: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, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.cpp:165: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 + _pos, data, rem);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/StreamObjects.cpp:259: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, p + offset, cur);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateDecoder.cpp:141: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(levels.litLenLevels, tmpLevels, numLitLenLevels);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/DeflateDecoder.cpp: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(levels.distLevels, tmpLevels + numLitLenLevels, _numDistLevels);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzmaDecoder.cpp:254: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, _inBuf + _inPos, curSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzxDecoder.cpp:104: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(_x86_buf, destData, curSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/LzxDecoder.h:152: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(dest, _buf, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Compress/ZDecoder.cpp:196: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, data, num);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAes.cpp:49: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, Salt, SaltSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAes.cpp:50: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 + SaltSize, Password, Password.Size());
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAes.cpp:167: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(props + 2, _key.Salt, _key.SaltSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/7zAes.cpp: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(props + propsSize, _iv, _ivSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/MyAes.cpp: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(_iv, data, size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/WzAes.cpp: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(_key.PwdVerifComputed, dk + 2 * keySize, kPwdVerifSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Crypto/ZipStrong.cpp:42: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(key, temp, 32);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:1422:5:  [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 temp[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:303: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 + Pos, data, curSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:958: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(rgCopy.Buffer, uncompressedDataPtr, kBufferSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:1073: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(rgCopy.Buffer, outStreamSpec->Buffer, compressedSize);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:1671: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 s[128];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:1716: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 s[256];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:2312: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[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:2649:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:2935: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 s[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/LoadCodecs.h:100:44:  [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.
    return formatIndex < 0 ? L"#" : (const wchar_t *)Formats[formatIndex].Name;
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/OpenArchive.cpp:276:7:  [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 sz[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp:22: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.
static const char g_WinAttribChars[16 + 1] = "RHS8DAdNTsLCOnE_";
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp:43: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.
static const char kPosixTypes[16] = { '0', 'p', 'c', '3', 'd', '5', 'b', '7', '-', '9', 'l', 'B', 's', 'D', 'E', 'F' };
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp:162: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[64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp: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 sz[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp:368: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 sz[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/SetProperties.cpp:69:24:  [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.
      names.Add((const wchar_t *)realNames[i]);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateCallback.cpp:473: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 temp[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/UpdateCallback.cpp:515: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 temp[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:71: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[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:87: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] = { 'K', 'i', 'B', 0 };
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:205: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[64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:378: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:486: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 sz[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:221: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 s[k_HashCalc_DigestSize_Max * 2 + 64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:235: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 s[kSizeField_Len + 32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:306: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 s[k_HashCalc_DigestSize_Max * 2 + 64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:328: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:278: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, textString, len);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:407: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 s[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:516: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[128];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:585:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char hexStr[kMaxDataSize * 2 + 4];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:649:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char s[64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:669: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:690: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 s[64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:760: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/Main.cpp:185: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 s[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/Main.cpp:310: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[64];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/Main.cpp:347: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/PercentPrinter.cpp:53: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/PercentPrinter.cpp:116: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:222: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[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:539: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[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/DynamicBuffer.h:30:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(newBuffer, _items, _pos * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/DynamicBuffer.h:54: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(GetCurPtrAndGrow(size), data, size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/IntToString.cpp:8: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 temp[tempSize]; unsigned i = 0; \
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyBuffer.h:32: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(_items, buffer._items, size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyBuffer.h:70:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(_items, data, size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyBuffer.h:84: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(newBuffer, _items, MyMin(keepSize, newSize) * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyGuidDef.h:12: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 Data4[8];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:216: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(newBuf, _chars, (size_t)(_len + 1)); \
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:267: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(_chars, s._chars, num);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:276: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(chars, s, len);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:285: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(chars, s1, num1);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:286: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(chars + num1, s2, num2 + 1);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:427: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(_chars, s, len);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:529: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(_chars + index, s, num);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:540: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(_chars + index, s, num);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h:27:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p, _items, (size_t)_size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h:46:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(_items, v._items, (size_t)size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h:68:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p, _items, (size_t)_size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h: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(p, _items, (size_t)_size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h:116:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, _items, (size_t)_size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h:173: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(_items, v._items, (size_t)size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyVector.h:182: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(_items + _size, v._items, (size_t)size * sizeof(T));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdInStream.cpp:38: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).
  _stream = fopen(name, "r");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.cpp:24: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).
  _stream = fopen(fileName, kFileOpenMode);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.cpp:82: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.cpp:89: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.cpp: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 s[16];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdOutStream.cpp:103: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StringConvert.cpp:58: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 utf8[4096];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/ErrorMsg.cpp:32: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 msgBuf[256];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:79:5:  [2] (buffer) lstrcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant string.
    lstrcpy(buffer,L"c:");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:119: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 begin[MAX_PATHNAME_LEN];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp: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 buffer[16384];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:194: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).
  int fout = open(dst,O_CREAT | O_WRONLY | O_EXCL | flags, 0600);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:197:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fin = open(src,O_RDONLY | flags , 0600);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:290:16:  [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 *file = fopen(name,"rb");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:292: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[MAX_PATHNAME_LEN+1];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:611: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 begin[MAX_PATHNAME_LEN];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.cpp:259: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 filename[MAX_PATHNAME_LEN];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.cpp:264: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(filename,dir,dir_len);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.cpp:273: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(filename+(dir_len+1),name,name_len+1); // copy also final '\0'
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:105:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    _fd = open(name,flags, mode);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:123:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      _fd = open((const char *)resultString,flags, mode);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:319: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,_buffer+_offset,len);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.h:55: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    _buffer[MAX_PATHNAME_LEN+1];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileName.cpp:89: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 begin[MAX_PATHNAME_LEN];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariant.cpp:281:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(this, pSrc, sizeof(PROPVARIANT));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariant.cpp:294: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(pDest, this, sizeof(PROPVARIANT));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariantConv.cpp:58: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 s[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/System.cpp:103:16:  [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( "/proc/meminfo", "r" );
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/System.cpp:106:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char buffer[256];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/include_windows/tchar.h:76:21:  [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 _tfopen     fopen
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/mySplitCommandLine.cpp:63: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[32];
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/mySplitCommandLine.cpp: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.
    static char p7zip_home_dir[MAX_PATH];
data/cherrytree-0.99.21+dfsg/src/ct/ct_clipboard.cc:876:21:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        return std::atoi(match.fetch(1).c_str());
data/cherrytree-0.99.21+dfsg/src/ct/ct_image.cc:364: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 humanReadableSize[16];
data/cherrytree-0.99.21+dfsg/src/ct/ct_image.cc:378: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 buffTooltip[128];
data/cherrytree-0.99.21+dfsg/src/ct/ct_imports.cc:258:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile.open(file.string());
data/cherrytree-0.99.21+dfsg/src/ct/ct_imports.cc:420:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    stream.open(file.string());
data/cherrytree-0.99.21+dfsg/src/ct/ct_imports.cc:459:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        infile.open(file.string());
data/cherrytree-0.99.21+dfsg/src/ct/ct_imports.cc:527:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infile.open(file.string());
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:534: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 hexstring[9];
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:754:5:  [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(rgb24StrOut, "#%.2x%.2x%.2x", r, g, b);
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:779:13:  [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(rgb24StrOut, "#%.2x%.2x%.2x", r, g, b);
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:786:13:  [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(rgb24StrOut, "#%c%c%c%c%c%c", scanStart[0], scanStart[0], scanStart[1], scanStart[1], scanStart[2], scanStart[2]);
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:798:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char out_rgb[16] = {};
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:813:13:  [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(out_rgb, "#%.4x%.4x%.4x", r, g, b);
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:831:13:  [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(out_rgb, "#%.2x%.2x%.2x", r, g, b);
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:840: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 rgb24Str[8];
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:848: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 rgb24Str[8];
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:855: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 rgbStrOut[16];
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:856:5:  [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(rgbStrOut, "#%.4x%.4x%.4x", color.get_red_u(), color.get_green_u(), color.get_blue_u());
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:862: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 rgb24StrOut[16];
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:926:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[100];
data/cherrytree-0.99.21+dfsg/src/ct/ct_parser_html.cc:365:36:  [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).
                    rowspan = std::atoi(tag_attr.value.begin());
data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_sqlite.cc:400:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char foregroundRgb24[8];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/file_helper-inl.h:28:33:  [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).
SPDLOG_INLINE void file_helper::open(const filename_t &fname, bool truncate)
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/file_helper-inl.h:55:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    this->open(filename_, truncate);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/file_helper.h:25:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    void open(const filename_t &fname, bool truncate = false);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h:145:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    const int fd = ::open((filename.c_str()), O_CREAT | O_WRONLY | O_CLOEXEC | mode_flag, mode_t(0644));
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h:156: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).
    *fp = ::fopen((filename.c_str()), mode.c_str());
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/os-inl.h:542: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[128];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/details/tcp_client-windows.h:54:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[512];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/core.h:1010:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(val.data, &arg, sizeof(arg));
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/core.h:1610: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.
  mutable char data[sizeof(basic_format_arg<buffer_context<Char>>)];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/core.h:1616:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    std::memcpy(&arg, data, sizeof(basic_format_arg<Context>));
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h:1129: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 format[max_format_size];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h:1318: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[2 * block_size - 1] = {};
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h:1319: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, p, to_unsigned(num_chars_left));
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h:252: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 data[sizeof(u)];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h: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 value[sizeof(void*)];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h:774: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.
  static const char reset_color[5];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h:775:16:  [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.
  static const wchar_t wreset_color[5];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h:969: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 buffer[num_bits<UInt>() / BASE_BITS + 1];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h:1487: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[4];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format.h:2858: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.
  mutable char buffer_[buffer_size];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/logger-inl.h:248:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char date_buf[64];
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/basic_file_sink-inl.h:19:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file_helper_.open(filename, truncate);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/daily_file_sink.h:64:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        file_helper_.open(filename, truncate_);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/daily_file_sink.h:87:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            file_helper_.open(filename, truncate_);
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h:33:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    file_helper_.open(calc_filename(base_filename_, 0));
data/cherrytree-0.99.21+dfsg/src/spdlog/src/fmt.cpp:57: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 format[max_format_size];
data/cherrytree-0.99.21+dfsg/tests/tests_misc_utils.cpp:163: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 rgb24Str[8];
data/cherrytree-0.99.21+dfsg/tests/tests_misc_utils.cpp:177: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 rgb24Str[8];
data/cherrytree-0.99.21+dfsg/src/7za/C/Alloc.c:117:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        int fd, pathlen = strlen(g_HugetlbPath);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Archive/Zip/ZipIn.cpp:1489:36:  [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).
          unsigned len = (unsigned)strlen(s);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/Common/FileStreams.cpp:202:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    res = read(0, data, (size_t)size);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/Bench.cpp:1680:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned len = (unsigned)strlen(s + startPos);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Common/PropIDUtils.cpp:130: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).
      dest += strlen(dest);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:225:25:  [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).
    SetSpacesAndNul(s + strlen(s), (int)GetColumnWidth(h.DigestSize) - (int)strlen(s));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:225:77:  [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).
    SetSpacesAndNul(s + strlen(s), (int)GetColumnWidth(h.DigestSize) - (int)strlen(s));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/HashCon.cpp:242: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).
      int numSpaces = kSizeField_Len - (int)strlen(p);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:238:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned len = (unsigned)strlen(s);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:261:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned len = (unsigned)strlen(textString);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:609: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).
          tempPos += strlen(temp + tempPos);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:626: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 len = strlen(temp + tempPos);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/List.cpp:656: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).
          tempPos += strlen(temp + tempPos);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/Main.cpp:448: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).
    const unsigned kNumArcFlags = (unsigned)strlen(kArcFlags);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/7zip/UI/Console/PercentPrinter.cpp:66: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 = (unsigned)strlen(s);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:1265:8:  [1] (buffer) wcslen:
  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 wcslen(const wchar_t *s)
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:1274:33:  [1] (buffer) wcslen:
  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 (!c) return (wchar_t *)s + wcslen(s);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyString.cpp:1395:17:  [1] (buffer) wcslen:
  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).
  wcscpy(dest + wcslen(dest), src);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:48:17:  [1] (buffer) wcslen:
  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).
#define lstrlen wcslen
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/MyWindows.h:53:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define lstrlen strlen
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StdInStream.cpp:99:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = fgetc(_stream); // getc() doesn't work in BeOS?
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Common/StringConvert.cpp:61:16:  [1] (buffer) wcslen:
  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 n = wcslen(wcs);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:50:21:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    current_umask = umask (0);  /* get and set the umask */
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:51:5:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    umask(current_umask);   /* restore the umask */
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:126:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    begin_len = strlen(begin);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:139:5:  [1] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant
  character.
    lstrcat(buffer,L"/");
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileDir.cpp:166:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ret_in = read(fin, buffer,sizeof(buffer));
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.cpp:260: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 dir_len = strlen(dir);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileFind.cpp:261:21:  [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 name_len = strlen(name);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:68:14:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  int mask = umask(0);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:69:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  (void)umask(mask);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/FileIO.cpp:328:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ret = read(_fd,buffer,bytesToRead);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/Windows/PropVariant.cpp:16: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).
  UINT len = (UINT)strlen(s);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/StdAfx.h:55:9:  [1] (buffer) wcslen:
  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  wcslen(const wchar_t *);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/mySplitCommandLine.cpp:123: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(locale);
data/cherrytree-0.99.21+dfsg/src/7za/CPP/myWindows/mySplitCommandLine.cpp:160: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(arg);
data/cherrytree-0.99.21+dfsg/src/ct/ct_menu.cc:650:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (desc && strlen(desc))
data/cherrytree-0.99.21+dfsg/src/ct/ct_menu.cc:658:21:  [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 (shortcut && strlen(shortcut))
data/cherrytree-0.99.21+dfsg/src/ct/ct_menu.cc:691: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).
    if (image && strlen(image))
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:58:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    input.read(chunk_buff.data(), chunk_buff.size());
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:101:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (pos != 0) input.read(chunk_buff.data(), chunk_buff.size());
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:539:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(hexstring, hexChars, numChars);
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:769: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).
    switch(strlen(scanStart))
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:790:13:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
            sprintf(rgb24StrOut, "#");
data/cherrytree-0.99.21+dfsg/src/ct/ct_misc_utils.cc:800:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen(scanStart) == 12)
data/cherrytree-0.99.21+dfsg/src/ct/ct_parser.cc:452:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    in.read(buff.data(), buff.size());
data/cherrytree-0.99.21+dfsg/src/ct/ct_process.cc:64:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        _input_data->read(buffer.data(), buffer.size());
data/cherrytree-0.99.21+dfsg/src/ct/ct_process.cc:71:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (pos != 0) _input_data->read(buffer.data(), buffer.size());
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc:36:38:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool CtAnchoredWidgetState_ImagePng::equal(std::shared_ptr<CtAnchoredWidgetState> state)
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc:58:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool CtAnchoredWidgetState_Anchor::equal(std::shared_ptr<CtAnchoredWidgetState> state)
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc:80:37:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool CtAnchoredWidgetState_EmbFile::equal(std::shared_ptr<CtAnchoredWidgetState> state)
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc:105:37:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool CtAnchoredWidgetState_Codebox::equal(std::shared_ptr<CtAnchoredWidgetState> state)
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc:135:35:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool CtAnchoredWidgetState_Table::equal(std::shared_ptr<CtAnchoredWidgetState> state)
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.cc:347:29:  [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 lhs->equal(rhs);
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h:41:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    virtual bool equal(std::shared_ptr<CtAnchoredWidgetState> state) = 0;
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h:54:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(std::shared_ptr<CtAnchoredWidgetState> state) override;
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h:67:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(std::shared_ptr<CtAnchoredWidgetState> state) override;
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h:79:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(std::shared_ptr<CtAnchoredWidgetState> state) override;
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h:94:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(std::shared_ptr<CtAnchoredWidgetState> state) override;
data/cherrytree-0.99.21+dfsg/src/ct/ct_state_machine.h:108:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    bool equal(std::shared_ptr<CtAnchoredWidgetState> state) override;
data/cherrytree-0.99.21+dfsg/src/ct/ct_storage_sqlite.cc:202: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(500 * 1000); // wait 0.5 sec, file can be block by sync program like Dropbox
data/cherrytree-0.99.21+dfsg/src/ct/ct_table.cc:308: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.
    return !prev_state->equal(get_state());
data/cherrytree-0.99.21+dfsg/src/ct/ct_table.cc:317: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.
    return !prev_state->equal(get_state());
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h:92:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (message == buffer_ && strlen(buffer_) == buffer_size_ - 1)
data/cherrytree-0.99.21+dfsg/src/spdlog/include/spdlog/fmt/bundled/format-inl.h:108:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      return result == 0 && strlen(buffer_) == buffer_size_ - 1 ? ERANGE

ANALYSIS SUMMARY:

Hits = 404
Lines analyzed = 152750 in approximately 3.25 seconds (47056 lines/second)
Physical Source Lines of Code (SLOC) = 120372
Hits@level = [0] 148 [1]  65 [2] 266 [3]  11 [4]  55 [5]   7
Hits@level+ = [0+] 552 [1+] 404 [2+] 339 [3+]  73 [4+]  62 [5+]   7
Hits/KSLOC@level+ = [0+] 4.58578 [1+] 3.35626 [2+] 2.81627 [3+] 0.606453 [4+] 0.51507 [5+] 0.0581531
Dot directories skipped = 3 (--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.