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/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/Walk.c
Examining data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/Walk.h
Examining data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp
Examining data/p7zip-16.02+dfsg/Utils/CPUTest/MyVersion.h
Examining data/p7zip-16.02+dfsg/Utils/CPUTest/Benchmark.h
Examining data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp
Examining data/p7zip-16.02+dfsg/C/Lzma86Dec.c
Examining data/p7zip-16.02+dfsg/C/7zStream.c
Examining data/p7zip-16.02+dfsg/C/Blake2s.c
Examining data/p7zip-16.02+dfsg/C/Ppmd7.c
Examining data/p7zip-16.02+dfsg/C/XzCrc64Opt.c
Examining data/p7zip-16.02+dfsg/C/Ppmd.h
Examining data/p7zip-16.02+dfsg/C/XzDec.c
Examining data/p7zip-16.02+dfsg/C/HuffEnc.c
Examining data/p7zip-16.02+dfsg/C/LzHash.h
Examining data/p7zip-16.02+dfsg/C/BraIA64.c
Examining data/p7zip-16.02+dfsg/C/Sort.c
Examining data/p7zip-16.02+dfsg/C/7zBuf.h
Examining data/p7zip-16.02+dfsg/C/Xz.h
Examining data/p7zip-16.02+dfsg/C/7zCrcOpt.c
Examining data/p7zip-16.02+dfsg/C/Lzma2Dec.c
Examining data/p7zip-16.02+dfsg/C/Aes.c
Examining data/p7zip-16.02+dfsg/C/Sha1.h
Examining data/p7zip-16.02+dfsg/C/Bcj2.c
Examining data/p7zip-16.02+dfsg/C/Threads.h
Examining data/p7zip-16.02+dfsg/C/BwtSort.h
Examining data/p7zip-16.02+dfsg/C/XzEnc.c
Examining data/p7zip-16.02+dfsg/C/Bcj2.h
Examining data/p7zip-16.02+dfsg/C/LzmaEnc.h
Examining data/p7zip-16.02+dfsg/C/Bra.h
Examining data/p7zip-16.02+dfsg/C/MtCoder.c
Examining data/p7zip-16.02+dfsg/C/XzCrc64.h
Examining data/p7zip-16.02+dfsg/C/XzIn.c
Examining data/p7zip-16.02+dfsg/C/Threads.c
Examining data/p7zip-16.02+dfsg/C/Delta.h
Examining data/p7zip-16.02+dfsg/C/7zBuf2.c
Examining data/p7zip-16.02+dfsg/C/Lzma2Dec.h
Examining data/p7zip-16.02+dfsg/C/Lzma86Enc.c
Examining data/p7zip-16.02+dfsg/C/Ppmd8Dec.c
Examining data/p7zip-16.02+dfsg/C/Bcj2Enc.c
Examining data/p7zip-16.02+dfsg/C/RotateDefs.h
Examining data/p7zip-16.02+dfsg/C/Bra86.c
Examining data/p7zip-16.02+dfsg/C/HuffEnc.h
Examining data/p7zip-16.02+dfsg/C/Compiler.h
Examining data/p7zip-16.02+dfsg/C/LzFind.c
Examining data/p7zip-16.02+dfsg/C/LzFindMt.h
Examining data/p7zip-16.02+dfsg/C/LzFindMt.c
Examining data/p7zip-16.02+dfsg/C/Ppmd7.h
Examining data/p7zip-16.02+dfsg/C/7zTypes.h
Examining data/p7zip-16.02+dfsg/C/Precomp.h
Examining data/p7zip-16.02+dfsg/C/Sha1.c
Examining data/p7zip-16.02+dfsg/C/MtCoder.h
Examining data/p7zip-16.02+dfsg/C/LzmaDec.c
Examining data/p7zip-16.02+dfsg/C/CpuArch.h
Examining data/p7zip-16.02+dfsg/C/7zVersion.h
Examining data/p7zip-16.02+dfsg/C/Ppmd7Enc.c
Examining data/p7zip-16.02+dfsg/C/Lzma86.h
Examining data/p7zip-16.02+dfsg/C/7zCrc.h
Examining data/p7zip-16.02+dfsg/C/XzCrc64.c
Examining data/p7zip-16.02+dfsg/C/Lzma2Enc.c
Examining data/p7zip-16.02+dfsg/C/Lzma2Enc.h
Examining data/p7zip-16.02+dfsg/C/Ppmd8.c
Examining data/p7zip-16.02+dfsg/C/Bra.c
Examining data/p7zip-16.02+dfsg/C/Alloc.c
Examining data/p7zip-16.02+dfsg/C/7zCrc.c
Examining data/p7zip-16.02+dfsg/C/Ppmd7Dec.c
Examining data/p7zip-16.02+dfsg/C/Blake2.h
Examining data/p7zip-16.02+dfsg/C/Ppmd8.h
Examining data/p7zip-16.02+dfsg/C/CpuArch.c
Examining data/p7zip-16.02+dfsg/C/Sort.h
Examining data/p7zip-16.02+dfsg/C/XzEnc.h
Examining data/p7zip-16.02+dfsg/C/LzmaDec.h
Examining data/p7zip-16.02+dfsg/C/BwtSort.c
Examining data/p7zip-16.02+dfsg/C/Alloc.h
Examining data/p7zip-16.02+dfsg/C/LzmaEnc.c
Examining data/p7zip-16.02+dfsg/C/Xz.c
Examining data/p7zip-16.02+dfsg/C/Sha256.h
Examining data/p7zip-16.02+dfsg/C/Sha256.c
Examining data/p7zip-16.02+dfsg/C/LzFind.h
Examining data/p7zip-16.02+dfsg/C/Ppmd8Enc.c
Examining data/p7zip-16.02+dfsg/C/Aes.h
Examining data/p7zip-16.02+dfsg/C/Delta.c
Examining data/p7zip-16.02+dfsg/CPP/7zip/IStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/TEST/TestUI/TestUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/PropID.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/MyVersion.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/IPassword.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/IDecl.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/LzhHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipOut.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipUpdate.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipAddCommon.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipHandlerOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipItem.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipAddCommon.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipCompressionMode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipHeader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipUpdate.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Bz2Handler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/HandlerCont.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArchiveExports.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/MbrHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/XarHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArjHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/MslzHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHeader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHeader.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zUpdate.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zExtract.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zOut.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandlerOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zProperties.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zFolderInStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zCompressionMode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zFolderInStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zEncode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zProperties.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zUpdate.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zCompressionMode.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zEncode.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zSpecStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zSpecStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zDecode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zDecode.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoHeader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoHeader.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ZHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/MubHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/ItemNameUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/DummyOutStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/InStreamWithCRC.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/HandlerOut.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/ItemNameUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/OutStreamWithSha1.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/OutStreamWithCRC.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/ParseProperties.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/MultiStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/CoderMixer2.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/MultiStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/FindSignature.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/FindSignature.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/InStreamWithCRC.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/HandlerOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/DummyOutStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/OutStreamWithSha1.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/ParseProperties.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/OutStreamWithCRC.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Common/CoderMixer2.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarUpdate.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarOut.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarHeader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarHandlerOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarUpdate.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarHeader.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarVol.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarHeader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/SplitHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/GzHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisDecode.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisDecode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/XzHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/LzmaHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Chm/ChmIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Chm/ChmIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Chm/ChmHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Chm/ChmHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/SquashfsHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/XzHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/IArchive.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/SwfHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/HandlerCont.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/NtfsHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/IhexHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabHeader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabBlockInStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabBlockInStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabHeader.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Cab/CabRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/PpmdHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ComHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ElfHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Udf/UdfIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Udf/UdfIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Udf/UdfHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Udf/UdfHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/QcowHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/DllExports2.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/DeflateProps.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/VmdkHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/VdiHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/ApmHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/HfsHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Archive/DeflateProps.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/HmacSha1.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar20Crypto.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/ZipStrong.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/HmacSha1.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/RarAes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/RarAes.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/ZipStrong.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar20Crypto.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/HmacSha256.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/MyAes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/ZipCrypto.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAes.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/ZipCrypto.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAesRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/HmacSha256.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/RandGen.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/MyAes.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Sha1Cls.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Pbkdf2HmacSha1.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/WzAes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/RandGen.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/MyAesReg.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/WzAes.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Pbkdf2HmacSha1.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/StreamUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/CWrappers.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/FilterCoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/InBuffer.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/MemBlocks.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/LimitedStreams.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/StreamBinder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/ProgressMt.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/OutBuffer.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/OutMemStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/MethodId.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/InBuffer.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/FileStreams.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/InOutTempBuffer.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/FileStreams.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/MethodProps.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/StreamUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/OutMemStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/UniqBlocks.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/ProgressUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/ProgressUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/RegisterCodec.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/OffsetStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/VirtThread.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/FilePathAutoRename.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/PropId.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/RegisterArc.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/LimitedStreams.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/VirtThread.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/MemBlocks.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/ProgressMt.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/StreamObjects.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/StreamBinder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/MethodProps.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/OffsetStream.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/CreateCoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/FilterCoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/StreamObjects.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/UniqBlocks.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/CWrappers.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/OutBuffer.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/CreateCoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/FilePathAutoRename.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/InOutTempBuffer.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Common/MethodId.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Bundles/SFXCon/SfxCon.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Q7Zip/Q7Zip/q7filemanager.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Q7Zip/Q7Zip/Q7SortFilerProxyModel.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Q7Zip/Q7Zip/main.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Q7Zip/Q7Zip/Q7SortFilerProxyModel.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Q7Zip/Q7Zip/q7filemanager.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Q7Zip/util7zip/util7zip.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdEncoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeflateEncoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BranchRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ImplodeHuffmanDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/CodecExports.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BranchMisc.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BitlDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Deflate64Register.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/QuantumDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzOutWindow.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BcjCoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Register.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzx.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/QuantumDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ImplodeDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Bcj2Coder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeflateEncoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham_dynamic_lib.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham_static_lib.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/zlib.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamlib/lzham_lib.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_symbol_codec.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_mem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_checksum.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_helpers.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_lzdecomp.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_types.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_decomp.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_timer.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_huffman_codes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_symbol_codec.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_mem.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_lzdecompbase.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_assert.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_traits.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_assert.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_checksum.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_config.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_core.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_lzdecompbase.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_utils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_huffman_codes.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_timer.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_math.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/LzhamRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_win32_threading.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp_internal.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp_internal.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzbase.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_pthreads_threading.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_null_threading.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzbase.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_threading.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_match_accel.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_pthreads_threading.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_match_accel.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_win32_threading.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp_state.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_comp.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeflateRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmaEncoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Encoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzma2Register.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BitlEncoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ZDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeflateDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzhDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BranchMisc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmaRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzma2Encoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzxDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdEncoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/XpressDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ByteSwap.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdZip.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmaDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeflateConst.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Bcj2Register.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmsDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Encoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/HuffmanDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzma2Decoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Crc.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmaDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ShrinkDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ImplodeHuffmanDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeltaFilter.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Decoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/PpmdZip.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Crc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmaEncoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Mtf8.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ZlibDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BitmDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Decoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ZlibDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BcjCoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BcjRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ImplodeDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzOutWindow.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/CopyRegister.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ZlibEncoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DllExportsCompress.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BitlDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ZlibEncoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ZDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Bcj2Coder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/CopyCoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzma2Decoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DeflateDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzxDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/DllExports2Compress.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzmsDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BitmEncoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/CopyCoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/LzhDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/BZip2Const.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzma2Encoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/XpressDecoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/Compress/ShrinkDecoder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/ICoder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/IProgress.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/resource2.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateGUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateCallbackGUI2.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/resource3.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateCallbackGUI.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/GUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateGUI.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/HashGUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/HashGUI.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/wxGUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateCallbackGUI2.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractGUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateCallbackGUI.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractGUI.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Client7z/Client7z.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/AgentProxy.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/UpdateCallbackAgent.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/ArchiveFolderOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/ArchiveFolder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/Agent.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/AgentProxy.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/ArchiveFolderOpen.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/IFolderArchive.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/Agent.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/AgentOut.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/UpdateCallbackAgent.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/OpenArchive.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Property.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/HashCalc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/EnumDirItems.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/SortUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ExtractMode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/TempFiles.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/WorkDir.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateAction.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/WorkDir.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Update.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Extract.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/OpenArchive.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/SetProperties.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateCallback.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ZipRegistry.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Extract.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ZipRegistry.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/EnumDirItems.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateAction.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveCommandLine.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/IFileExtractCallback.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/DefaultName.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdatePair.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ExtractingFilePath.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ExitCode.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdatePair.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/DefaultName.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveExtractCallback.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveName.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateProduce.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ExtractingFilePath.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/HashCalc.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/DirItem.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Update.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/TempFiles.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateProduce.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/SetProperties.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveCommandLine.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveOpenCallback.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveOpenCallback.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveName.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/SortUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/LoadCodecs.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateCallback.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/LoadCodecs.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Explorer/MyMessages.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Explorer/ContextMenu.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Explorer/MyMessages.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/wxFM.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MyLoadMenu.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OverwriteDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/DialogSize.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PluginLoader.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SplitDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FSDrives.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelCopy.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MyLoadMenu.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SplitDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ViewSettings.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/IFolder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ClassDefs.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelItems.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Extract2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/ExtractPNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/ParentFolder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Add2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/DeletePNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/AddPNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Info2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Test2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Move2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Copy2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/Delete2PNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/InfoPNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/TestPNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/MovePNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/res/CopyPNG.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SplitUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PasswordDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/CopyDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelItemOpen.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FSFolder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ComboDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ListViewDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OverwriteDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2Res.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ExtractCallback.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PropertyName.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PropertyNameRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ListViewDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FSFolder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/BrowseDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/resourceGui.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RootFolder.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FSFolderCopy.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SplitDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/App.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MessagesDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelOperations.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/TextPairs.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelFolderChange.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OverwriteDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ExtractCallback.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OpenCallback.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryPlugins.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ListViewDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ComboDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelSelect.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OverwriteDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SplitDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelCrc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RootFolder.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MessagesDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/App.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MyWindowsNew.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FormatUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelMenu.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PluginInterface.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MessagesDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryAssociations.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FormatUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SplitUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/UpdateCallback100.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/HelpUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/Panel.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FM.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OpenCallback.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SysIconUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelSort.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryAssociations.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/CopyDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PasswordDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/TextPairs.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PasswordDialogRes.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/LangUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/StringUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/resource.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PasswordDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/UpdateCallback100.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PropertyName.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ComboDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/LangUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelSplitFile.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgramLocation.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/CopyDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ListViewDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/SysIconUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FM_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/StringUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgramLocation.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/AppState.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ViewSettings.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ComboDialog.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/CopyDialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FSDrives.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MessagesDialog_rc.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/Panel.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FileFolderPluginOpen.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UpdateCallbackConsole.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UserInputUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/HashCon.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/HashCon.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/MainAr.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/BenchCon.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ConsoleClose.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ConsoleClose.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/OpenCallbackConsole.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/OpenCallbackConsole.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/BenchCon.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/PercentPrinter.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/PercentPrinter.cpp
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UserInputUtils.h
Examining data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/Main.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyMap.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyWindows.h
Examining data/p7zip-16.02+dfsg/CPP/Common/StdOutStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/TextConfig.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/Wildcard.h
Examining data/p7zip-16.02+dfsg/CPP/Common/NewHandler.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/Lang.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/IntToString.h
Examining data/p7zip-16.02+dfsg/CPP/Common/Sha256Reg.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/StringConvert.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/Common.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyUnknown.h
Examining data/p7zip-16.02+dfsg/CPP/Common/C_FileIO.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyString.h
Examining data/p7zip-16.02+dfsg/CPP/Common/DynamicBuffer.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyLinux.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyTypes.h
Examining data/p7zip-16.02+dfsg/CPP/Common/StringToInt.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyException.h
Examining data/p7zip-16.02+dfsg/CPP/Common/IntToString.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/StdInStream.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/DynLimBuf.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyGuidDef.h
Examining data/p7zip-16.02+dfsg/CPP/Common/DynLimBuf.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/StringConvert.h
Examining data/p7zip-16.02+dfsg/CPP/Common/UTFConvert.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyString.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/TextConfig.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyInitGuid.h
Examining data/p7zip-16.02+dfsg/CPP/Common/StringToInt.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyBuffer.h
Examining data/p7zip-16.02+dfsg/CPP/Common/NewHandler.h
Examining data/p7zip-16.02+dfsg/CPP/Common/Sha1Reg.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/CrcReg.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/Lang.h
Examining data/p7zip-16.02+dfsg/CPP/Common/XzCrc64Reg.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyMap.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/CommandLineParser.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/ListFileUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/CRC.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/C_FileIO.h
Examining data/p7zip-16.02+dfsg/CPP/Common/ComTry.h
Examining data/p7zip-16.02+dfsg/CPP/Common/AutoPtr.h
Examining data/p7zip-16.02+dfsg/CPP/Common/ListFileUtils.h
Examining data/p7zip-16.02+dfsg/CPP/Common/CommandLineParser.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyCom.h
Examining data/p7zip-16.02+dfsg/CPP/Common/Random.h
Examining data/p7zip-16.02+dfsg/CPP/Common/StdInStream.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyWindows.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/Defs.h
Examining data/p7zip-16.02+dfsg/CPP/Common/Wildcard.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyXml.h
Examining data/p7zip-16.02+dfsg/CPP/Common/UTFConvert.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyXml.cpp
Examining data/p7zip-16.02+dfsg/CPP/Common/MyVector.h
Examining data/p7zip-16.02+dfsg/CPP/Common/StdOutStream.h
Examining data/p7zip-16.02+dfsg/CPP/Common/MyVector.cpp
Examining data/p7zip-16.02+dfsg/CPP/include_windows/tchar.h
Examining data/p7zip-16.02+dfsg/CPP/include_windows/windows.h
Examining data/p7zip-16.02+dfsg/CPP/include_windows/basetyps.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/PropVariantUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/PropVariantConv.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/TimeUtils.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/Window.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/Shell.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/System.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/ResourceString.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileName.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/PropVariant.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/PropVariantConv.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Synchronization2.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/DLL.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileDir.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/CommonDialog.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Clipboard.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/TimeUtils.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/ListView.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/ProgressBar.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Dialog.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Edit.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/DialogImpl.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Controls.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Static.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Dialog.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/StatusBar.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/ComboBox.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Window2.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Control/Window2.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileFind.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/COM.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/Clipboard.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Registry.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileName.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/NtCheck.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/System.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Thread.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileIO.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Synchronization.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/PropVariantUtils.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/PropVariant.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileFind.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/Window.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/COM.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Defs.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Menu.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/FileIO.cpp
Examining data/p7zip-16.02+dfsg/CPP/Windows/ErrorMsg.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Synchronization.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/Registry.h
Examining data/p7zip-16.02+dfsg/CPP/Windows/ErrorMsg.cpp
Examining data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp
Examining data/p7zip-16.02+dfsg/CPP/myWindows/myAddExeFlag.cpp
Examining data/p7zip-16.02+dfsg/CPP/myWindows/mySplitCommandLine.cpp
Examining data/p7zip-16.02+dfsg/CPP/myWindows/wine_date_and_time.cpp
Examining data/p7zip-16.02+dfsg/CPP/myWindows/initguid.h
Examining data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp
Examining data/p7zip-16.02+dfsg/CPP/myWindows/config.h
Examining data/p7zip-16.02+dfsg/CPP/myWindows/myPrivate.h
Examining data/p7zip-16.02+dfsg/CPP/myWindows/StdAfx.h

FINAL RESULTS:

data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:394: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:399: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:412: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:416: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:463: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/C/Alloc.c:247: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/p7zip-16.02+dfsg/CPP/7zip/Archive/MubHandler.cpp:122:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(temp, ext);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:391: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(temp, k_Methods[(unsigned)method]);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:994:9:  [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.
    PRF(printf(s.Resource.IsMetadata() ? "### META" : "    DATA"));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham_dynamic_lib.h:62: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(pModulePath, debug_dll ? LZHAM_DEBUG_DLL_FILENAME : LZHAM_DLL_FILENAME);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.cpp:21:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
   int c = vsnprintf(buffer, sizeOfBuffer, format, args);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.cpp:36:12:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
   int c = vsnprintf(buffer, sizeOfBuffer, format, args);
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:115:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(kHelpString);
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:121:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(kHelpString);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UserInputUtils.cpp:92: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UserInputUtils.cpp:97: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/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:218:7:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
      lstrcat(s, kMB);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:290:3:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  lstrcat(s, kMB);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:377:3:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  lstrcat(s, kMIPS);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:385:3:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  lstrcat(s, TEXT("%"));
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:402:5:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    lstrcat(s, kKBs);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:440:3:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  lstrcat(s, kMB);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1500:17:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    if (i < 30) lstrcat(s, TEXT(" M"));
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1501:17:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    else        lstrcat(s, TEXT(" G"));
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1502:5:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    lstrcat(s, TEXT("B"));
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1685:3:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  lstrcat(s, TEXT(" MB"));
data/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:1717: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:1724: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:1726:2:  [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/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:52: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/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:52: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/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:53:9:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#define lstrcat wcscat
data/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:53:17:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#define lstrcat wcscat
data/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:57: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/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:57: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/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:58:9:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
#define lstrcat strcat
data/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:58: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/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp:93:3:  [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(name,nameWindowToUnix((const char *)name2));
data/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp:95:3:  [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(name,nameWindowToUnix(lpLibFileName));
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:76:5:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    lstrcat(buffer,name);
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:94: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:134: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:136:5:  [4] (buffer) lstrcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
    lstrcat(buffer,name);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:233:28:  [4] (buffer) strcpyW:
  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).
WINE_UNICODE_INLINE WCHAR *strcpyW( WCHAR *dst, const WCHAR *src )
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:242:5:  [4] (buffer) strcpyW:
  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).
    strcpyW( dst + strlenW(dst), src );
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:253:28:  [4] (buffer) lstrcpynW:
  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).
WINE_UNICODE_INLINE LPWSTR lstrcpynW( LPWSTR dst, LPCWSTR src, int n )
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:462:5:  [4] (buffer) lstrcpynW:
  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).
    lstrcpynW( name->lang, str, sizeof(name->lang)/sizeof(WCHAR) );
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:471:9:  [4] (buffer) strcpyW:
  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).
        strcpyW( name->win_name, name->lang );
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:475:9:  [4] (buffer) strcpyW:
  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).
        strcpyW( name->win_name, name->lang );
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:517:9:  [4] (buffer) strcpyW:
  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).
        strcpyW( name->win_name, name->lang );
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:523:13:  [4] (buffer) strcpyW:
  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).
            strcpyW( p, name->country );
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:867: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(p, fileName2);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:123:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(temp, "Pipeline length %s = %6.2f %s", s, v, nsMode ? "ns" : "stages");
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:391:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(temp, "Test #%2d (%2d): %s \n", group, num1, kNames[group][0]);
data/p7zip-16.02+dfsg/C/Alloc.c:221: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:193:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  CRandNameGenerator random;
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:198:5:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    random.GenerateName(mappingName, "7zMap");
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:211:5:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    random.GenerateName(eventName, "7zEvent");
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FM.cpp:64:24:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HINSTANCE hinstDll = LoadLibrary(dllName);
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FSDrives.cpp:222:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char * home = getenv("HOME");
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/wxFM.cpp:34: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/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/GUI.cpp:46:24:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  HINSTANCE hinstDll = LoadLibrary(dllName);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/GUI.cpp:397:35:  [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_current_dir = getenv("P7ZIP_CURRENT_DIR");
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/wxGUI.cpp:45: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/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:262:37:  [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.
	wxString str2 = wxString::FromUTF8(getenv("P7ZIP_HOME_DIR"));
data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:353:36:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	printf("P7ZIP_HOME_DIR : -%s-\n", getenv("P7ZIP_HOME_DIR"));
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:869: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/p7zip-16.02+dfsg/C/7zBuf2.c:33: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->data, p->pos);
data/p7zip-16.02+dfsg/C/7zBuf2.c:39:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->data + p->pos, buf, size);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/C/Alloc.c:129: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/p7zip-16.02+dfsg/C/Alloc.c:131: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/p7zip-16.02+dfsg/C/Alloc.c:132: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/p7zip-16.02+dfsg/C/Alloc.c:133: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/p7zip-16.02+dfsg/C/Alloc.c:226: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/p7zip-16.02+dfsg/C/Blake2s.c:127: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 + pos, data, size);
data/p7zip-16.02+dfsg/C/Blake2s.c:132: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->buf + pos, data, rem);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/C/Lzma2Enc.c:121:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u);
data/p7zip-16.02+dfsg/C/Lzma86Enc.c:48: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(filteredStream, src, srcLen);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/C/LzmaEnc.c:397: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/p7zip-16.02+dfsg/C/LzmaEnc.c:398: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/p7zip-16.02+dfsg/C/LzmaEnc.c:401: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/p7zip-16.02+dfsg/C/LzmaEnc.c:402: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/p7zip-16.02+dfsg/C/LzmaEnc.c:403: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/p7zip-16.02+dfsg/C/LzmaEnc.c:404: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/p7zip-16.02+dfsg/C/LzmaEnc.c:405: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/p7zip-16.02+dfsg/C/LzmaEnc.c:406: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/p7zip-16.02+dfsg/C/LzmaEnc.c:407: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/p7zip-16.02+dfsg/C/LzmaEnc.c:408: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/p7zip-16.02+dfsg/C/LzmaEnc.c:409: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/p7zip-16.02+dfsg/C/LzmaEnc.c:423: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/p7zip-16.02+dfsg/C/LzmaEnc.c:424: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/p7zip-16.02+dfsg/C/LzmaEnc.c: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(dest->posSlotEncoder[i], p->posSlotEncoder[i], sizeof(p->posSlotEncoder[i]));
data/p7zip-16.02+dfsg/C/LzmaEnc.c:428: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/p7zip-16.02+dfsg/C/LzmaEnc.c:429: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/p7zip-16.02+dfsg/C/LzmaEnc.c:430: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/p7zip-16.02+dfsg/C/LzmaEnc.c:431: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/p7zip-16.02+dfsg/C/LzmaEnc.c:432: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/p7zip-16.02+dfsg/C/LzmaEnc.c:433: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/p7zip-16.02+dfsg/C/LzmaEnc.c:434: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/p7zip-16.02+dfsg/C/LzmaEnc.c:435: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/p7zip-16.02+dfsg/C/LzmaEnc.c:2169: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/C/Sha256.c:192: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/p7zip-16.02+dfsg/C/Sha256.c:197: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/p7zip-16.02+dfsg/C/Sha256.c:207: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/p7zip-16.02+dfsg/C/Sha256.c:212: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandler.cpp:105: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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandler.cpp:184: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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandler.cpp:359: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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zHandler.cpp:401: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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zIn.cpp:127: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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zIn.cpp:277: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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zIn.cpp:313: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/7z/7zUpdate.cpp:819: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/p7zip-16.02+dfsg/CPP/7zip/Archive/ApmHandler.cpp:33:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Name[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ApmHandler.cpp:34: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 Type[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ApmHandler.cpp:52: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(Name, p + 0x10, 32);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ApmHandler.cpp:53: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(Type, p + 0x30, 32);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ApmHandler.cpp:285: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 s2[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:147: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 signature[kSignatureLen];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:158: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, s, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:171: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/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:186: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/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:211:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char header[kHeaderSize];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:244: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 tempString[kNameSize + 1];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArHandler.cpp:401: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ArjHandler.cpp:645: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/Chm/ChmIn.cpp:117:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ComHandler.cpp:190: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(Name, p, kNameSizeMax);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ComHandler.cpp:254: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 buf[32];
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp:155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp:156: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(sz, p, 8);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp:165: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/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp:166: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(sz, p, 6);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp:175: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/p7zip-16.02+dfsg/CPP/7zip/Archive/CpioHandler.cpp:176:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(sz, p, 11);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp:144:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Name[kHeaderNameSize];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp:163: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(Name, p + 0x30, kHeaderNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp:331: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, buf, kHeaderSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp:423: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, i);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp:498: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 dest[kHeaderNameSize + 4];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/CramfsHandler.cpp:499: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, _h.Name, kHeaderNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:162: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, p + 8, kChecksumSize_Max);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:240: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:259:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:643: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 extraName[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:742: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 extraName[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:870:9:  [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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/DmgHandler.cpp:1510: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, _chunks[_latestChunk].Buf + offset, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ElfHandler.cpp:702: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/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp:338: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 VolName[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp:339: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 LastMount[64];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp:711: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(Block, p + 0x28, kNodeBlockFieldSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp:1544: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp:1837: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/p7zip-16.02+dfsg/CPP/7zip/Archive/ExtHandler.cpp:1858: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 * 2 + 2];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:266: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 DosName[11];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:288: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, src, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:316: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/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:337: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[12];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:548:9:  [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 nameBuf[14];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:566: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.DosName, p, 11);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FatHandler.cpp:876: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/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:96:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char *g_AudioTypes[16] =
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:116: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_VideoTypes[16] =
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:136: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_Rates[4] =
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:162: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 sz[64];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:315: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(item.Data, buf, kTagHeaderSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:397: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(itemBuf, header, kHeaderSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/FlvHandler.cpp:416: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(item2.BufSpec->Buf + item2.Size, src, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:70: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(Type, p, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:71: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(Id, p + 16, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:75: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(Name, p + 56, kNameLen * 2);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.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(Guid, buf + 0x38, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:308: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[48];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:346: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/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:368: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[48];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/GptHandler.cpp:384: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[48];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/IhexHandler.cpp:94: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoHandler.cpp:175: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoIn.cpp:39: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(VendorSpec, p + 12, 20);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoIn.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 name[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Iso/IsoIn.h:56: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, name, curLen);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/LzhHandler.cpp:246:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(item.Method, p, kMethodIdSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/LzhHandler.cpp:543: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 method2[kMethodIdSize + 1];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/LzhHandler.cpp:545: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(method2, item.Method, kMethodIdSize);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:175:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Name[kNameSize];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Name[kNameSize];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:181: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 SegName[kNameSize];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:256: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/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:345: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 res[kNameSize + 1];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:346: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(res, name, kNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:484: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(seg.Name, buf + 8, kNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:528: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(sect.Name, p, kNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MachoHandler.cpp:529: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(sect.SegName, p + kNameSize, kNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MbrHandler.cpp:68: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/p7zip-16.02+dfsg/CPP/7zip/Archive/MbrHandler.cpp:418: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/MubHandler.cpp:104: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisDecode.cpp:175: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((Byte *)*outBuf + (size_t)offset, Buffer, processedSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisDecode.cpp:232: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((Byte *)*outBuf + (size_t)offset, Buffer, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisHandler.cpp:65: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisHandler.cpp:377: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 + offs, p, len);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:247: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 * const k_CommandNames[kNumCmds] =
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:403: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:412: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:419: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:426: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:1765: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:3398: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/NtfsHandler.cpp:648: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(dest + destSize, src, comprSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/NtfsHandler.cpp:744: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, _outBuf + (cacheIndex << _chunkSizeLog) + offset, cur);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/NtfsHandler.cpp:1890: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 + 16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/NtfsHandler.cpp:2352: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 temp[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:110: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/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:953: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:1314: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:1382: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/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:1389: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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:1396: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/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:2648: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(referenceBuf->Buf, item.Header, item.HeaderSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:2650: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(referenceBuf->Buf + item.HeaderSize, _buf + offset, item.Size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:2787: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(Name, p, NPe::kNameSize);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/QcowHandler.cpp:115: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 + lowBits, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/QcowHandler.cpp:288: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:386: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(_destBuf + (size_t)_pos, data, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:493:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(m_CryptoDecoderSpec->_iv, buf, AES_BLOCK_SIZE);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:500:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(_buf, buf + AES_BLOCK_SIZE, AES_BLOCK_SIZE);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:503:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buf, _buf, AES_BLOCK_SIZE);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:531: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, buf, filled);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:809: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(item.Extra, _buf + _bufPos, extraSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1330: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 sz[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1528:11:  [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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1614: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[64];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1641:9:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
        strcpy(s, "AES:");
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarHandler.cpp:903: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/RarHandler.cpp:1000: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/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:136:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char Name[kNameSize];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:145: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(Name, p + 10, kNameSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:269: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/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:379: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:459: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[k_HeaderSig_Size];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:502: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/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:551: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/RpmHandler.cpp:590: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SquashfsHandler.cpp:1665: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, i);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SquashfsHandler.cpp:1846: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/p7zip-16.02+dfsg/CPP/7zip/Archive/SquashfsHandler.cpp:2049: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, _cachedBlock + offsetInBlock, blockSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SwfHandler.cpp:235: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SwfHandler.cpp: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(props, _item.Buf + 12, 5);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SwfHandler.cpp:649: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_TagDesc[92] =
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SwfHandler.cpp:753: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Tar/TarHandler.cpp:87: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/Udf/UdfIn.cpp:1119: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Udf/UdfIn.cpp:1128: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.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/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:351: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 * 2 + 8];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:458: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(GuidName, p, kGuidSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:615: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/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:616: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 sz2[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:1089:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(buf0, s, s.Len());
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:1350: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(buf0, buf, kHeaderSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/VdiHandler.cpp:159: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/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp:80: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/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp: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(Id, p + 0x44, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp:198: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(ParentId, p + 0x28, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp:699: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/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp:718: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/p7zip-16.02+dfsg/CPP/7zip/Archive/VhdHandler.cpp:726: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[32 + 4];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/VmdkHandler.cpp:609: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 + lowBits, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/VmdkHandler.cpp:822: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 temp[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:180: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:232: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[16 * 2 + 4];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:244: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:265: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:314: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:323: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:388: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:438: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:460: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:876: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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:972: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:290: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, kSignature, kSignatureSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:295: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 + 0x18, Guid, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:313: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 + 0x1E, Hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:437: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 + 0x40, streams[item.HashIndex].Hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:450: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 + 0x10, streams[item.HashIndex].Hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:468: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 + 0x10, streams[ss.HashIndex].Hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:584: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:610: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:626: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1407: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(s.Hash, siOld.Hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1617: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(s.Hash, hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1675: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(s.Hash, hash, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1770: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(meta + pos, buf, size);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1797: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(s.Hash, digest, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandlerOut.cpp:1849: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:441:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(s.Hash, p + 4, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:720: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(prevMeta + 0x10, p2 + 8, 4); // It's 32-bit Id
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:724: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(prevMeta + 0x40, p2 + 0x10, kHashSize);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:925: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(Guid, p + 0x18, 16);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:1055: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimIn.cpp:1720: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 + 8, buf, buf.Size());
data/p7zip-16.02+dfsg/CPP/7zip/Archive/XzHandler.cpp:174: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/p7zip-16.02+dfsg/CPP/7zip/Archive/XzHandler.cpp:228: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipIn.cpp:1495: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipUpdate.cpp:1133: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/p7zip-16.02+dfsg/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp:147: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/p7zip-16.02+dfsg/CPP/7zip/Bundles/LzmaCon/LzmaAlone.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[32];
data/p7zip-16.02+dfsg/CPP/7zip/Bundles/LzmaCon/LzmaAlone.cpp:288: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Common/FileStreams.cpp:88: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/LzhamRegister.cpp:193: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.
         memcpy(&_props, pProps, sizeof(CProps));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham_dynamic_lib.h:51:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_PATH];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham_dynamic_lib.h:54: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 drive_buf[_MAX_DRIVE], dir_buf[_MAX_DIR], filename_buf[_MAX_FNAME], ext_buf[_MAX_EXT];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/include/lzham_dynamic_lib.h:76:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[MAX_PATH];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp.cpp:273: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.
         memcpy(pOut_buf, comp_data.get_ptr() + pState->m_comp_data_ofs, n);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp.cpp:358: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.
         memcpy(pOut_buf, comp_data.get_ptr() + pState->m_comp_data_ofs, num_comp_bytes_to_output);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp.cpp:485: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(pDst_buf, comp_data.get_ptr(), comp_data.size());
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_lzcomp_internal.h:200: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(dst.m_match_hist, m_match_hist, sizeof(m_match_hist));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_match_accel.cpp:385: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(&m_matches[match_ref_ofs],
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_match_accel.cpp:631: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(&m_matches[match_ref_ofs],
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_match_accel.cpp:863: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(&m_dict[add_pos], pBytes, num_bytes);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_match_accel.cpp:867: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.
         memcpy(&m_dict[m_max_dict_size], &m_dict[0], dict_bytes_to_mirror);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_pthreads_threading.h:114: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 m_name[16];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_assert.cpp:15:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_assert.cpp:29:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_assert.cpp:53:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[512];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_lzdecomp.cpp:180:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      #define LZHAM_MEMCPY memcpy
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_lzdecomp.cpp:182:33:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      #define LZHAM_BULK_MEMCPY memcpy
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_lzdecomp.cpp:183:28:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      #define LZHAM_MEMCPY memcpy
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_mem.cpp:359: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_new, p, prev_size);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.cpp:91: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 m_buf[cBufSize];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.cpp:121:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buf[lzham::buffered_str::cBufSize];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_platform.cpp:138: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(lzham::g_buffered_strings.back().m_buf, buf, sizeof(buf));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.cpp:287:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(pTables->m_sorted_symbol_order, g_uint16_sequence, num_syms * sizeof(uint16));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.cpp:295:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(pTables->m_sorted_symbol_order + sorted_positions[max_code_size], g_uint16_sequence, code_size_histo.m_num_codes[max_code_size] * sizeof(uint16));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.cpp:297:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(pTables->m_sorted_symbol_order + sorted_positions[min_code_size], g_uint16_sequence + code_size_histo.m_num_codes[max_code_size], code_size_histo.m_num_codes[min_code_size] * sizeof(uint16));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.h:56: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(this, &rhs, sizeof(*this));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.h:63:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(m_lookup, rhs.m_lookup, sizeof(m_lookup[0]) * m_cur_lookup_size);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.h:64:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
               memcpy(m_sorted_symbol_order, rhs.m_sorted_symbol_order, sizeof(m_sorted_symbol_order[0]) * m_cur_sorted_symbol_order_size);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.h:76:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy(m_lookup, rhs.m_lookup, sizeof(m_lookup[0]) * m_cur_lookup_size);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_prefix_coding.h:87:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                  memcpy(m_sorted_symbol_order, rhs.m_sorted_symbol_order, sizeof(m_sorted_symbol_order[0]) * m_cur_sorted_symbol_order_size);
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_symbol_codec.cpp:413: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.
         memcpy(m_initial_sym_freq.begin(), pInitial_sym_freq, total_syms * m_initial_sym_freq.size_in_bytes());
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_timer.h:86: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 m_name[64];   
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_traits.h:32:56:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   static inline void construct(X* p, const X& init) { memcpy(p, &init, sizeof(X)); } \
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.cpp:43:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[256];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.cpp:62:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char buf[256];
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.h:61: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(m_p, other.m_p, m_size * sizeof(T));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.h:121: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(m_p, other.m_p, other.m_size * sizeof(T));
data/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamdecomp/lzham_vector.h:306: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(pDst, p, sizeof(T) * n);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAes.cpp:53: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/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAes.cpp: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(buf + SaltSize, Password, Password.Size());
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAes.cpp:186: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/p7zip-16.02+dfsg/CPP/7zip/Crypto/7zAes.cpp:188: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar20Crypto.cpp:62: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(psw, data, size);
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.cpp:80: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(_salt, p, kSaltSize);
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.cpp:88: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(_iv, p, AES_BLOCK_SIZE);
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.cpp:96: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(_check, p, kPswCheckSize);
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.cpp:210: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(key, u, NSha256::kDigestSize);
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/Rar5Aes.cpp:228: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((i == 0 ? _key : (i == 1 ? _hashKey : pswCheck)), key, NSha256::kDigestSize);
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/RarAes.cpp:95: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, _password, _password.Size());
data/p7zip-16.02+dfsg/CPP/7zip/Crypto/RarAes.cpp:101: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 + rawSize, _salt, kSaltSize);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/TEST/TestUI/TestUI.cpp:328:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int num = atoi((const char*)str);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Agent/AgentOut.cpp:350:26:  [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 *)m_PropNames[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Client7z/Client7z.cpp:440: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/p7zip-16.02+dfsg/CPP/7zip/UI/Client7z/Client7z.cpp:678: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/p7zip-16.02+dfsg/CPP/7zip/UI/Client7z/Client7z.cpp:916: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/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:28: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).
     HRESULT open(const char *name)
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:30: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_ = fopen(name,"rb");
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:65: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).
     HRESULT open(const char *name)
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:67: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_ = fopen(name,"wb");
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:207:24:  [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).
       res = inStream->open(argv[3]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:215:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
       res = outStream->open(argv[4]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:315:24:  [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).
       res = inStream->open(argv[3]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/ClientCodec/ClientCodec.cpp:323:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
       res = outStream->open(argv[4]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp:1528: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:336: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:1003: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:1122: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:1745: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:1790: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:2402: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:2743: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:3029: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:175: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[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:223: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:267: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 tempFile[256];
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:270:3:  [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(tempFile,"/tmp/7zCompress_%d_%d.tmp",(int)getpid(),count++);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:272:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE * file = fopen(tempFile,"w");
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:276:32:  [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.
	  fprintf(file,"%ls\n",(const wchar_t *)names[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:277:40:  [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.
	  printf(" TMP_%d : '%ls'\n",i,(const wchar_t *)names[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:341: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 tempFile[256];
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:344:3:  [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(tempFile,"/tmp/7zExtract_%d_%d.tmp",(int)getpid(),count++);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:346:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE * file = fopen(tempFile,"w");
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:350:32:  [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.
	  fprintf(file,"%ls\n",(const wchar_t *)arcPaths[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/CompressCall.cpp:351:40:  [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.
	  printf(" TMP_%d : '%ls'\n",i,(const wchar_t *)arcPaths[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/LoadCodecs.h:309: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/OpenArchive.cpp:333: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.cpp:168: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.cpp:352: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.cpp:386: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.cpp:556: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 hex[16];
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateCallback.cpp:591: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/UpdateCallback.cpp:633: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:73: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.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 temp[4] = { 'K', 'i', 'B', 0 };
data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:222:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp[64];
data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:391: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/ExtractCallbackConsole.cpp:505: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:291: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:420: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:533: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:624: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:690: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:710: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:731: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:801: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/Main.cpp:223: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/Main.cpp:351: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/Main.cpp:476: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/PercentPrinter.cpp:61:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/Console/PercentPrinter.cpp:124: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:235: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/UpdateCallbackConsole.cpp:566: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ExtractCallback.cpp:338: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ExtractCallback.cpp:480: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ExtractCallback.cpp:983: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(file.Data + file.Size, data, size);
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ExtractCallback.h:48: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, _items, keepSize);
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FM.cpp:679: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/FormatUtils.cpp:13: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 numberString[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/MessagesDialog.cpp:20: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/OverwriteDialog.cpp:74: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 t[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:28: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:77: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:251: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:422: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:695: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[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:703: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 selectSizeString[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:718: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 sizeString[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:720: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 dateString[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelListNotify.cpp:731: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 dateString2[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelMenu.cpp:189:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char temp[64];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PanelSplitFile.cpp:217: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:631: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 s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:742: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 s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:753: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:783:11:  [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 s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:800:11:  [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 s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:833: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 s[64];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:837:9:  [2] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant string.
        wcscat(s, L" / ");
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:865:9:  [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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:1087: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:1158: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 sz[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:1314: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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/PropertyName.cpp:20: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryAssociations.cpp:229: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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/RegistryUtils.cpp:156:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR panelString[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/wxFM.cpp:212: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/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:125:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:167:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR s[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:216:7:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      TCHAR s[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:288:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:375:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:383:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:398:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:438:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:693:13:  [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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/BenchmarkDialog.cpp:701:13:  [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 s[16];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:407:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40] = { TEXT('/'), TEXT(' '), 0 };
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:786:9:  [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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1148:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1335:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1498:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1552:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/CompressDialog.cpp:1683:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR s[40];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractGUI.cpp:47:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char sz[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/ExtractGUI.cpp:55: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 sz[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/GUI.cpp:450: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/HashGUI.cpp:51: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/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/HashGUI.cpp:61: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 sz[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/HashGUI.cpp:156: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[k_HashCalc_DigestSize_Max * 2 + 4];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateGUI.cpp:74: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 tmp[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateGUI.cpp:131: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 s[32];
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/wxGUI.cpp:365:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				int num = atoi((const char*)str);
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/wxGUI.cpp:535: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/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:81:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tempFile[256];
data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:84:2:  [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(tempFile,"/tmp/7zExtract_%d_%d.tmp",(int)getpid(),count++);
data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:86: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(tempFile,"w");
data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:90:32:  [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.
			fprintf(file,"%ls\n",(const wchar_t *)archivePaths[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:91:40:  [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.
			printf(" TMP_%d : '%ls'\n",i,(const wchar_t *)archivePaths[i]);
data/p7zip-16.02+dfsg/CPP/7zip/UI/P7ZIP/wxP7ZIP.cpp:324: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/p7zip-16.02+dfsg/CPP/Common/C_FileIO.cpp:22: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).
  _handle = ::open(name, flags, 0666);
data/p7zip-16.02+dfsg/CPP/Common/DynLimBuf.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(newBuf, _chars, _pos);
data/p7zip-16.02+dfsg/CPP/Common/DynLimBuf.cpp:85:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(newBuf, _chars, _pos);
data/p7zip-16.02+dfsg/CPP/Common/DynLimBuf.cpp:90: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 + _pos, s, len);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:110: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[kBufSize + 1];
data/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:116:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  ::MultiByteToWideChar(CP_ACP, 0, s, numChars, &c, 1);
data/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:349: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp: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(_chars, s._chars, num);
data/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:422: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:431: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:432: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:598: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:732: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:743: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/Common/MyVector.h:185: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/p7zip-16.02+dfsg/CPP/Common/MyVector.h:194: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/Common/StringConvert.cpp:60: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/p7zip-16.02+dfsg/CPP/Windows/Clipboard.cpp:122: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, data, size);
data/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp:56: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 name[MAX_PATHNAME_LEN];
data/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp:90:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char  name[MAX_PATHNAME_LEN+1];
data/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp:101:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(name+len-4,".so");
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/Windows/ErrorMsg.cpp:61: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:75: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:115: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[16384];
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:190: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:193: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:235:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR s[MAX_PATH + 2];
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:258:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR s[MAX_PATH + 2];
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:335: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:337: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:653: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/Windows/FileIO.h:59: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/p7zip-16.02+dfsg/CPP/Windows/FileName.cpp:257: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/Windows/PropVariantUtils.cpp:13: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/p7zip-16.02+dfsg/CPP/Windows/PropVariantUtils.cpp:136: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 sz[32];
data/p7zip-16.02+dfsg/CPP/Windows/Registry.cpp:240: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 cval[3];
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:94: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 wstr1[256] = {
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:103: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 wstr2[256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:104: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    astr[256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:151: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 wstr1[256] = { 
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:154: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 wstr1_7zip[256] = { // 7-zip use UTF16 wide string
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:162: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 wstr2[256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:163: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    astr[256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:203: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 number[256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:204:3:  [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(number,"%d",num);
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:471:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
     char astr [256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:472:6:  [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 ustr [256];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:521: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 wpath1[4096] = {
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:546: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/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:547: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 wpath2[4096];
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:637:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR buffer[32];
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:353: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 charset_name[16];
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:628: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 user_locale[50];
data/p7zip-16.02+dfsg/CPP/myWindows/wine_GetXXXDefaultLangID.cpp:635:38:  [2] (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). Risk is low because the
  source is a constant string.
    if (!strchr( user_locale, '.' )) strcat( user_locale, ".UTF-8" );
data/p7zip-16.02+dfsg/Utils/CPUTest/Benchmark.h:167: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 + pos, s, len);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:70:14:  [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.
  { MSG msg; wchar_t s2[64]; _itow(nnn, s2, 10); \
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:111:26:  [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).
  size_t bufferSizeMax = atoi(arg);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:177:22:  [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).
          pageBits = atoi(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:228:22:  [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).
          affinity = atoi(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:242:19:  [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).
          xBits = atoi(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:256:19:  [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).
          zBits = atoi(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:676: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/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:684:9:  [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(temp, " %6d", testIndex == 0 ? 0 : (2 << testIndex));
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:695:9:  [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(temp, " %6d", (2 << testIndex));
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:702:9:  [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(temp, " %6d", pageMode ? (pageBits + testIndex) : (testIndex + 1));
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:712:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(temp, "%6d-K", size);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:714:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(temp, "%6d-M", size >> 10);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:722:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(temp, " %6.2f", value);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:737:9:  [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(temp, "%3d B", 1 << kMovs);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:751:9:  [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(temp, " %6d", (UInt32)(memoryBandwidth / 1000000));
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:767:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(temp, "Cache latency    = %10.2f ns     = %10.2f cycles\n",
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:771:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(temp, "Memory latency   = %10.2f ns     = %10.2f cycles\n",
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:789:9:  [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(temp, "PageSize=%d \n", 1 << pageBits);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:797:3:  [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(temp, "Timer frequency  = %10.0f Hz\n", (double)(Int64)GetFreq2());
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:799:3:  [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(temp, "CPU frequency    = %10.2f MHz\n", freq / 1000000);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:821: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 s2[64];
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:832: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 args[10][32];
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:854: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.
  const char *argsPtr[10];
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:861: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 fileName[300];
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp[128];
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:132: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/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:134: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(s, " %4d-M", n >> 20);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:136: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(s, " %4d-K", n >> 10);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:138: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(s, "   %4d", n);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:208:26:  [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).
        testIndexBegin = atoi(arg);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:216:23:  [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).
      bufferSizeMax = atoi(arg);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:381: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[32];
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:382:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(temp, " %7.2f", value);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:389: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/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:393:3:  [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(temp, "Timer frequency  = %10.0f Hz\n", (double)(Int64)GetFreq2());
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:395:3:  [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(temp, "CPU frequency    = %10.2f MHz\n", freq / 1000000);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:401: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/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:404:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(s, "v.%d", i + 1);
data/p7zip-16.02+dfsg/C/Alloc.c:128: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/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:486: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).
    lic.Size = (UInt32)strlen((const char *)sz + 1);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Nsis/NsisIn.cpp:5497: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).
      i += (UInt32)strlen((const char *)(const Byte *)_data + _stringsPos + i);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/PeHandler.cpp:1316: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 tempLen = strlen(temp);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1639: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).
        s = temp + strlen(temp);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1645:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          s += strlen(s);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Rar/Rar5Handler.cpp:1647:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          s += strlen(s);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/SwfHandler.cpp:755: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 i = strlen(s);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:619: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).
  unsigned numZeros = (unsigned)strlen(sz2) - (unsigned)strlen(sz);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/UefiHandler.cpp:619:57:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned numZeros = (unsigned)strlen(sz2) - (unsigned)strlen(sz);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/VmdkHandler.cpp:1001:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    const size_t k_SigDesc_Size = strlen(kSignature_Descriptor);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Wim/WimHandler.cpp:397: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 pos = strlen(temp);
data/p7zip-16.02+dfsg/CPP/7zip/Archive/XarHandler.cpp:347:7:  [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((const char *)(const Byte *)_xml) != unpackSize) return S_FALSE;
data/p7zip-16.02+dfsg/CPP/7zip/Archive/Zip/ZipIn.cpp:1497: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/p7zip-16.02+dfsg/CPP/7zip/Common/FileStreams.cpp:228: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/p7zip-16.02+dfsg/CPP/7zip/Compress/CodecExports.cpp:24: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/p7zip-16.02+dfsg/CPP/7zip/Compress/Lzham/lzhamcomp/lzham_pthreads_threading.h:524:10:  [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(msecs_to_sleep * 1000);
data/p7zip-16.02+dfsg/CPP/7zip/UI/Common/Bench.cpp:1754: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/p7zip-16.02+dfsg/CPP/7zip/UI/Common/PropIDUtils.cpp:136: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:251: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:274: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:650: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:667: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/List.cpp:697: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/Main.cpp:654: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/p7zip-16.02+dfsg/CPP/7zip/UI/Console/PercentPrinter.cpp:74: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/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:838:47:  [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).
        ConvertUInt64ToString(totalFiles, s + wcslen(s));
data/p7zip-16.02+dfsg/CPP/7zip/UI/FileManager/ProgressDialog2.cpp:871:11:  [1] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant
  character.
          wcscat(s, L"%");
data/p7zip-16.02+dfsg/CPP/7zip/UI/GUI/UpdateGUI.cpp:133: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 len = wcslen(s);
data/p7zip-16.02+dfsg/CPP/Common/C_FileIO.cpp:65:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(_handle, data, size);
data/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:1596: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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:1605:32:  [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/p7zip-16.02+dfsg/CPP/Common/MyString.cpp:1726: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).
	wcscpy(dest + wcslen(dest), src);
data/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:54: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/p7zip-16.02+dfsg/CPP/Common/MyWindows.h:59: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/p7zip-16.02+dfsg/CPP/Common/MyXml.cpp:203:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    s += strlen(endString);
data/p7zip-16.02+dfsg/CPP/Common/StdInStream.cpp:115: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/p7zip-16.02+dfsg/CPP/Common/StringConvert.cpp:63: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/p7zip-16.02+dfsg/CPP/Windows/DLL.cpp:99:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(name);
data/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:46: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:47: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:122: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:135: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/p7zip-16.02+dfsg/CPP/Windows/FileDir.cpp:162: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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/myWindows/StdAfx.h:55: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 *);
data/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/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/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:108: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).
  size_t len1 = wcslen(wstr1);
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:169: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).
  size_t len1 = wcslen(wstr1);
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:176:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  printf("strlen(astr)=%d\n",(int)strlen(astr));
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:177: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).
  printf("strlen(astr1)=%d\n",(int)strlen(astr1));
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:178:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert(strlen(astr) == strlen(astr1));
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:178:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  assert(strlen(astr) == strlen(astr1));
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:194:25:  [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).
  assert(ustr2.Len() == wcslen(wstr1_7zip));
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:433: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 i,len = strlen(txt);
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:447:18:  [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 i,len = wcslen(txt);
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:506:27:  [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).
     assert(ustr.Len() == wcslen(tab[i].ustr) );
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:511: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).
     assert(astr.Len() == strlen(tab[i].astr) );
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:561:14:  [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).
    long n = wcslen(wcs);
data/p7zip-16.02+dfsg/CPP/myWindows/test_lib.cpp:584:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    long n = strlen(path);
data/p7zip-16.02+dfsg/Utils/CPUTest/Benchmark.h:163:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(s);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:108:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int len = (int)strlen(arg);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:172: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).
        int len = (int)strlen(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:195: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).
        int len = (int)strlen(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:223: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).
        int len = (int)strlen(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:237: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).
        int len = (int)strlen(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/MemLat/MemLat.cpp:251: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).
        int len = (int)strlen(str);
data/p7zip-16.02+dfsg/Utils/CPUTest/PipeLen/PipeLen.cpp:205:32:  [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(arg);

ANALYSIS SUMMARY:

Hits = 778
Lines analyzed = 234627 in approximately 4.33 seconds (54203 lines/second)
Physical Source Lines of Code (SLOC) = 182331
Hits@level = [0] 465 [1]  77 [2] 625 [3]  13 [4]  56 [5]   7
Hits@level+ = [0+] 1243 [1+] 778 [2+] 701 [3+]  76 [4+]  63 [5+]   7
Hits/KSLOC@level+ = [0+] 6.81727 [1+] 4.26697 [2+] 3.84466 [3+] 0.416824 [4+] 0.345525 [5+] 0.0383917
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.