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/libzypp-17.7.0/devel/devel.ma/Basic.cc
Examining data/libzypp-17.7.0/devel/devel.ma/ExplicitMap.h
Examining data/libzypp-17.7.0/devel/devel.ma/MT.cc
Examining data/libzypp-17.7.0/devel/devel.ma/MaTest.cc
Examining data/libzypp-17.7.0/devel/devel.ma/Main.cc
Examining data/libzypp-17.7.0/devel/devel.ma/NewPool.cc
Examining data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc
Examining data/libzypp-17.7.0/devel/devel.ma/Printing.h
Examining data/libzypp-17.7.0/devel/devel.ma/Sat.cc
Examining data/libzypp-17.7.0/devel/devel.ma/SigTrackableFail.cc
Examining data/libzypp-17.7.0/devel/devel.ma/Signal.cc
Examining data/libzypp-17.7.0/devel/devel.ma/Test.cc
Examining data/libzypp-17.7.0/devel/devel.ma/ToolProvideSignedDir.cc
Examining data/libzypp-17.7.0/devel/devel.ma/Tools.h
Examining data/libzypp-17.7.0/devel/devel.ma/Xml.cc
Examining data/libzypp-17.7.0/devel/devel.ma/main.h
Examining data/libzypp-17.7.0/tests/lib/TestSetup.h
Examining data/libzypp-17.7.0/tests/lib/WebServer.cc
Examining data/libzypp-17.7.0/tests/lib/WebServer.h
Examining data/libzypp-17.7.0/tests/media/CredentialFileReader_test.cc
Examining data/libzypp-17.7.0/tests/media/CredentialManager_test.cc
Examining data/libzypp-17.7.0/tests/media/MediaProducts_test.cc
Examining data/libzypp-17.7.0/tests/media/MetaLinkParser_test.cc
Examining data/libzypp-17.7.0/tests/media/file_exists_test.cc
Examining data/libzypp-17.7.0/tests/media/media1_test.cc
Examining data/libzypp-17.7.0/tests/media/media2_test.cc
Examining data/libzypp-17.7.0/tests/media/media3_test.cc
Examining data/libzypp-17.7.0/tests/media/media4_test.cc
Examining data/libzypp-17.7.0/tests/media/mymediaverifier.h
Examining data/libzypp-17.7.0/tests/media/throw_if_not_exists_test.cc
Examining data/libzypp-17.7.0/tests/parser/HistoryLogReader_test.cc
Examining data/libzypp-17.7.0/tests/parser/ProductFileReader_test.cc
Examining data/libzypp-17.7.0/tests/parser/RepoFileReader_test.cc
Examining data/libzypp-17.7.0/tests/parser/RepoindexFileReader_test.cc
Examining data/libzypp-17.7.0/tests/parser/inifile/inidict_test.cc
Examining data/libzypp-17.7.0/tests/parser/inifile/iniparser_test.cc
Examining data/libzypp-17.7.0/tests/parser/ws/WebpinResultFileReader_test.cc
Examining data/libzypp-17.7.0/tests/parser/yum/PatchesFileReader_test.cc
Examining data/libzypp-17.7.0/tests/parser/yum/RepomdFileReader_test.cc
Examining data/libzypp-17.7.0/tests/repo/DUdata_test.cc
Examining data/libzypp-17.7.0/tests/repo/ExtendedMetadata_test.cc
Examining data/libzypp-17.7.0/tests/repo/MirrorList_test.cc
Examining data/libzypp-17.7.0/tests/repo/PluginServices_test.cc
Examining data/libzypp-17.7.0/tests/repo/RepoLicense_test.cc
Examining data/libzypp-17.7.0/tests/repo/RepoSigcheck_test.cc
Examining data/libzypp-17.7.0/tests/repo/RepoVariables_test.cc
Examining data/libzypp-17.7.0/tests/repo/susetags/Downloader_test.cc
Examining data/libzypp-17.7.0/tests/repo/yum/YUMDownloader_test.cc
Examining data/libzypp-17.7.0/tests/sat/IdString_test.cc
Examining data/libzypp-17.7.0/tests/sat/LookupAttr_test.cc
Examining data/libzypp-17.7.0/tests/sat/Map_test.cc
Examining data/libzypp-17.7.0/tests/sat/Pool_test.cc
Examining data/libzypp-17.7.0/tests/sat/Queue_test.cc
Examining data/libzypp-17.7.0/tests/sat/SolvParsing_test.cc
Examining data/libzypp-17.7.0/tests/sat/Solvable_test.cc
Examining data/libzypp-17.7.0/tests/sat/WhatObsoletes_test.cc
Examining data/libzypp-17.7.0/tests/sat/WhatProvides_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Arch_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Capabilities_test.cc
Examining data/libzypp-17.7.0/tests/zypp/CheckSum_test.cc
Examining data/libzypp-17.7.0/tests/zypp/ContentType_test.cc
Examining data/libzypp-17.7.0/tests/zypp/CpeId_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Date_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Deltarpm_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Digest_test.cc
Examining data/libzypp-17.7.0/tests/zypp/DrunkenBishop_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Dup_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Edition_test.cc
Examining data/libzypp-17.7.0/tests/zypp/ExtendedPool_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Fetcher_test.cc
Examining data/libzypp-17.7.0/tests/zypp/FileChecker_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Flags_test.cc
Examining data/libzypp-17.7.0/tests/zypp/InstanceId_test.cc
Examining data/libzypp-17.7.0/tests/zypp/KeyRingTestReceiver.h
Examining data/libzypp-17.7.0/tests/zypp/KeyRing_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Locale_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Locks_test.cc
Examining data/libzypp-17.7.0/tests/zypp/MediaSetAccess_test.cc
Examining data/libzypp-17.7.0/tests/zypp/PathInfo_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Pathname_test.cc
Examining data/libzypp-17.7.0/tests/zypp/PluginFrame_test.cc
Examining data/libzypp-17.7.0/tests/zypp/PoolQuery_test.cc
Examining data/libzypp-17.7.0/tests/zypp/ProgressData_test.cc
Examining data/libzypp-17.7.0/tests/zypp/PtrTypes_test.cc
Examining data/libzypp-17.7.0/tests/zypp/PublicKey_test.cc
Examining data/libzypp-17.7.0/tests/zypp/RWPtr_test.cc
Examining data/libzypp-17.7.0/tests/zypp/RepoInfo_test.cc
Examining data/libzypp-17.7.0/tests/zypp/RepoManager_test.cc
Examining data/libzypp-17.7.0/tests/zypp/RepoStatus_test.cc
Examining data/libzypp-17.7.0/tests/zypp/ResKind_test.cc
Examining data/libzypp-17.7.0/tests/zypp/ResStatus_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Resolvable_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Selectable_test.cc
Examining data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc
Examining data/libzypp-17.7.0/tests/zypp/SetTracker_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Signature_test.cc
Examining data/libzypp-17.7.0/tests/zypp/StrMatcher_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Target_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Url_test.cc
Examining data/libzypp-17.7.0/tests/zypp/UserData_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Vendor2_test.cc
Examining data/libzypp-17.7.0/tests/zypp/Vendor_test.cc
Examining data/libzypp-17.7.0/tests/zypp/base/CleanerThread_test.cc
Examining data/libzypp-17.7.0/tests/zypp/base/Glob_test.cc
Examining data/libzypp-17.7.0/tests/zypp/base/InterProcessMutex2_test.cc
Examining data/libzypp-17.7.0/tests/zypp/base/InterProcessMutex_test.cc
Examining data/libzypp-17.7.0/tests/zypp/base/String_test.cc
Examining data/libzypp-17.7.0/tests/zypp/base/Sysconfig_test.cc
Examining data/libzypp-17.7.0/tools/DumpSelectable.cc
Examining data/libzypp-17.7.0/tools/ProvideSignedDirectory.cc
Examining data/libzypp-17.7.0/tools/ToolScanRepos.cc
Examining data/libzypp-17.7.0/tools/migrate-sources/migrate-sources.cc
Examining data/libzypp-17.7.0/tools/patch_find_bug.cc
Examining data/libzypp-17.7.0/tools/percent-encode.cc
Examining data/libzypp-17.7.0/tools/zypp-CheckAccessDeleted.cc
Examining data/libzypp-17.7.0/tools/zypp-NameReqPrv.cc
Examining data/libzypp-17.7.0/tools/zypp-cpeid.cc
Examining data/libzypp-17.7.0/tools/zypp-install.cc
Examining data/libzypp-17.7.0/tools/zypp-list.cc
Examining data/libzypp-17.7.0/tools/zypp-pubkey.cc
Examining data/libzypp-17.7.0/vendor/mongoose/mongoose.c
Examining data/libzypp-17.7.0/vendor/mongoose/mongoose.h
Examining data/libzypp-17.7.0/zypp/APIConfig.h
Examining data/libzypp-17.7.0/zypp/Application.cc
Examining data/libzypp-17.7.0/zypp/Application.h
Examining data/libzypp-17.7.0/zypp/Arch.cc
Examining data/libzypp-17.7.0/zypp/Arch.h
Examining data/libzypp-17.7.0/zypp/AutoDispose.h
Examining data/libzypp-17.7.0/zypp/Bit.h
Examining data/libzypp-17.7.0/zypp/Bitmap.h
Examining data/libzypp-17.7.0/zypp/ByteCount.cc
Examining data/libzypp-17.7.0/zypp/ByteCount.h
Examining data/libzypp-17.7.0/zypp/Callback.h
Examining data/libzypp-17.7.0/zypp/CapMatch.cc
Examining data/libzypp-17.7.0/zypp/CapMatch.h
Examining data/libzypp-17.7.0/zypp/Capabilities.cc
Examining data/libzypp-17.7.0/zypp/Capabilities.h
Examining data/libzypp-17.7.0/zypp/Capability.cc
Examining data/libzypp-17.7.0/zypp/Capability.h
Examining data/libzypp-17.7.0/zypp/Changelog.cc
Examining data/libzypp-17.7.0/zypp/Changelog.h
Examining data/libzypp-17.7.0/zypp/CheckSum.cc
Examining data/libzypp-17.7.0/zypp/CheckSum.h
Examining data/libzypp-17.7.0/zypp/ContentType.h
Examining data/libzypp-17.7.0/zypp/CountryCode.cc
Examining data/libzypp-17.7.0/zypp/CountryCode.h
Examining data/libzypp-17.7.0/zypp/CpeId.cc
Examining data/libzypp-17.7.0/zypp/CpeId.h
Examining data/libzypp-17.7.0/zypp/Date.cc
Examining data/libzypp-17.7.0/zypp/Date.h
Examining data/libzypp-17.7.0/zypp/Dep.cc
Examining data/libzypp-17.7.0/zypp/Dep.h
Examining data/libzypp-17.7.0/zypp/Digest.cc
Examining data/libzypp-17.7.0/zypp/Digest.h
Examining data/libzypp-17.7.0/zypp/DiskUsageCounter.cc
Examining data/libzypp-17.7.0/zypp/DiskUsageCounter.h
Examining data/libzypp-17.7.0/zypp/DownloadMode.cc
Examining data/libzypp-17.7.0/zypp/DownloadMode.h
Examining data/libzypp-17.7.0/zypp/Edition.cc
Examining data/libzypp-17.7.0/zypp/Edition.h
Examining data/libzypp-17.7.0/zypp/ExternalProgram.cc
Examining data/libzypp-17.7.0/zypp/ExternalProgram.h
Examining data/libzypp-17.7.0/zypp/Fetcher.h
Examining data/libzypp-17.7.0/zypp/FileChecker.cc
Examining data/libzypp-17.7.0/zypp/FileChecker.h
Examining data/libzypp-17.7.0/zypp/Filter.h
Examining data/libzypp-17.7.0/zypp/Glob.cc
Examining data/libzypp-17.7.0/zypp/Glob.h
Examining data/libzypp-17.7.0/zypp/HistoryLog.cc
Examining data/libzypp-17.7.0/zypp/HistoryLog.h
Examining data/libzypp-17.7.0/zypp/HistoryLogData.cc
Examining data/libzypp-17.7.0/zypp/HistoryLogData.h
Examining data/libzypp-17.7.0/zypp/IdString.cc
Examining data/libzypp-17.7.0/zypp/IdString.h
Examining data/libzypp-17.7.0/zypp/IdStringType.h
Examining data/libzypp-17.7.0/zypp/InstanceId.cc
Examining data/libzypp-17.7.0/zypp/InstanceId.h
Examining data/libzypp-17.7.0/zypp/KVMap.h
Examining data/libzypp-17.7.0/zypp/KeyContext.h
Examining data/libzypp-17.7.0/zypp/KeyManager.cc
Examining data/libzypp-17.7.0/zypp/KeyManager.h
Examining data/libzypp-17.7.0/zypp/KeyRing.cc
Examining data/libzypp-17.7.0/zypp/KeyRing.h
Examining data/libzypp-17.7.0/zypp/LanguageCode.cc
Examining data/libzypp-17.7.0/zypp/LanguageCode.h
Examining data/libzypp-17.7.0/zypp/Locale.cc
Examining data/libzypp-17.7.0/zypp/Locale.h
Examining data/libzypp-17.7.0/zypp/Locks.cc
Examining data/libzypp-17.7.0/zypp/Locks.h
Examining data/libzypp-17.7.0/zypp/ManagedFile.h
Examining data/libzypp-17.7.0/zypp/MediaProducts.h
Examining data/libzypp-17.7.0/zypp/MediaSetAccess.cc
Examining data/libzypp-17.7.0/zypp/MediaSetAccess.h
Examining data/libzypp-17.7.0/zypp/Misc.h
Examining data/libzypp-17.7.0/zypp/OnMediaLocation.cc
Examining data/libzypp-17.7.0/zypp/OnMediaLocation.h
Examining data/libzypp-17.7.0/zypp/Package.cc
Examining data/libzypp-17.7.0/zypp/Package.h
Examining data/libzypp-17.7.0/zypp/PackageKeyword.h
Examining data/libzypp-17.7.0/zypp/Patch.cc
Examining data/libzypp-17.7.0/zypp/Patch.h
Examining data/libzypp-17.7.0/zypp/PathInfo.cc
Examining data/libzypp-17.7.0/zypp/PathInfo.h
Examining data/libzypp-17.7.0/zypp/Pathname.cc
Examining data/libzypp-17.7.0/zypp/Pathname.h
Examining data/libzypp-17.7.0/zypp/Pattern.cc
Examining data/libzypp-17.7.0/zypp/Pattern.h
Examining data/libzypp-17.7.0/zypp/PluginExecutor.cc
Examining data/libzypp-17.7.0/zypp/PluginExecutor.h
Examining data/libzypp-17.7.0/zypp/PluginFrame.cc
Examining data/libzypp-17.7.0/zypp/PluginFrame.h
Examining data/libzypp-17.7.0/zypp/PluginFrameException.cc
Examining data/libzypp-17.7.0/zypp/PluginFrameException.h
Examining data/libzypp-17.7.0/zypp/PluginScript.cc
Examining data/libzypp-17.7.0/zypp/PluginScript.h
Examining data/libzypp-17.7.0/zypp/PluginScriptException.cc
Examining data/libzypp-17.7.0/zypp/PluginScriptException.h
Examining data/libzypp-17.7.0/zypp/PoolItem.cc
Examining data/libzypp-17.7.0/zypp/PoolItem.h
Examining data/libzypp-17.7.0/zypp/PoolItemBest.cc
Examining data/libzypp-17.7.0/zypp/PoolItemBest.h
Examining data/libzypp-17.7.0/zypp/PoolQuery.cc
Examining data/libzypp-17.7.0/zypp/PoolQuery.h
Examining data/libzypp-17.7.0/zypp/PoolQueryResult.cc
Examining data/libzypp-17.7.0/zypp/PoolQueryResult.h
Examining data/libzypp-17.7.0/zypp/ProblemSolution.cc
Examining data/libzypp-17.7.0/zypp/ProblemSolution.h
Examining data/libzypp-17.7.0/zypp/ProblemTypes.h
Examining data/libzypp-17.7.0/zypp/Product.cc
Examining data/libzypp-17.7.0/zypp/Product.h
Examining data/libzypp-17.7.0/zypp/ProgressData.cc
Examining data/libzypp-17.7.0/zypp/ProgressData.h
Examining data/libzypp-17.7.0/zypp/ProvideFilePolicy.cc
Examining data/libzypp-17.7.0/zypp/ProvideFilePolicy.h
Examining data/libzypp-17.7.0/zypp/PublicKey.cc
Examining data/libzypp-17.7.0/zypp/PublicKey.h
Examining data/libzypp-17.7.0/zypp/Range.cc
Examining data/libzypp-17.7.0/zypp/Range.h
Examining data/libzypp-17.7.0/zypp/Rel.cc
Examining data/libzypp-17.7.0/zypp/Rel.h
Examining data/libzypp-17.7.0/zypp/RelCompare.h
Examining data/libzypp-17.7.0/zypp/RepoInfo.h
Examining data/libzypp-17.7.0/zypp/RepoManager.h
Examining data/libzypp-17.7.0/zypp/RepoStatus.cc
Examining data/libzypp-17.7.0/zypp/RepoStatus.h
Examining data/libzypp-17.7.0/zypp/Repository.cc
Examining data/libzypp-17.7.0/zypp/Repository.h
Examining data/libzypp-17.7.0/zypp/ResFilters.h
Examining data/libzypp-17.7.0/zypp/ResKind.cc
Examining data/libzypp-17.7.0/zypp/ResKind.h
Examining data/libzypp-17.7.0/zypp/ResObject.cc
Examining data/libzypp-17.7.0/zypp/ResObject.h
Examining data/libzypp-17.7.0/zypp/ResObjects.h
Examining data/libzypp-17.7.0/zypp/ResPool.cc
Examining data/libzypp-17.7.0/zypp/ResPool.h
Examining data/libzypp-17.7.0/zypp/ResPoolProxy.cc
Examining data/libzypp-17.7.0/zypp/ResPoolProxy.h
Examining data/libzypp-17.7.0/zypp/ResStatus.cc
Examining data/libzypp-17.7.0/zypp/ResStatus.h
Examining data/libzypp-17.7.0/zypp/ResTraits.h
Examining data/libzypp-17.7.0/zypp/Resolvable.cc
Examining data/libzypp-17.7.0/zypp/Resolvable.h
Examining data/libzypp-17.7.0/zypp/Resolver.cc
Examining data/libzypp-17.7.0/zypp/Resolver.h
Examining data/libzypp-17.7.0/zypp/ResolverNamespace.h
Examining data/libzypp-17.7.0/zypp/ResolverProblem.cc
Examining data/libzypp-17.7.0/zypp/ResolverProblem.h
Examining data/libzypp-17.7.0/zypp/ServiceInfo.cc
Examining data/libzypp-17.7.0/zypp/ServiceInfo.h
Examining data/libzypp-17.7.0/zypp/ShutdownLock.cc
Examining data/libzypp-17.7.0/zypp/ShutdownLock_p.h
Examining data/libzypp-17.7.0/zypp/Signature.cc
Examining data/libzypp-17.7.0/zypp/Signature.h
Examining data/libzypp-17.7.0/zypp/SrcPackage.cc
Examining data/libzypp-17.7.0/zypp/SrcPackage.h
Examining data/libzypp-17.7.0/zypp/SysContent.cc
Examining data/libzypp-17.7.0/zypp/SysContent.h
Examining data/libzypp-17.7.0/zypp/Target.cc
Examining data/libzypp-17.7.0/zypp/Target.h
Examining data/libzypp-17.7.0/zypp/TmpPath.cc
Examining data/libzypp-17.7.0/zypp/TmpPath.h
Examining data/libzypp-17.7.0/zypp/Url.cc
Examining data/libzypp-17.7.0/zypp/Url.h
Examining data/libzypp-17.7.0/zypp/UserData.h
Examining data/libzypp-17.7.0/zypp/Vendor.h
Examining data/libzypp-17.7.0/zypp/VendorAttr.cc
Examining data/libzypp-17.7.0/zypp/VendorAttr.h
Examining data/libzypp-17.7.0/zypp/VendorSupportOptions.cc
Examining data/libzypp-17.7.0/zypp/VendorSupportOptions.h
Examining data/libzypp-17.7.0/zypp/ZConfig.cc
Examining data/libzypp-17.7.0/zypp/ZConfig.h
Examining data/libzypp-17.7.0/zypp/ZYpp.cc
Examining data/libzypp-17.7.0/zypp/ZYpp.h
Examining data/libzypp-17.7.0/zypp/ZYppCallbacks.h
Examining data/libzypp-17.7.0/zypp/ZYppCommit.h
Examining data/libzypp-17.7.0/zypp/ZYppCommitPolicy.cc
Examining data/libzypp-17.7.0/zypp/ZYppCommitPolicy.h
Examining data/libzypp-17.7.0/zypp/ZYppCommitResult.cc
Examining data/libzypp-17.7.0/zypp/ZYppCommitResult.h
Examining data/libzypp-17.7.0/zypp/ZYppFactory.cc
Examining data/libzypp-17.7.0/zypp/ZYppFactory.h
Examining data/libzypp-17.7.0/zypp/base/Algorithm.h
Examining data/libzypp-17.7.0/zypp/base/Backtrace.cc
Examining data/libzypp-17.7.0/zypp/base/Backtrace.h
Examining data/libzypp-17.7.0/zypp/base/CleanerThread.cc
Examining data/libzypp-17.7.0/zypp/base/CleanerThread_p.h
Examining data/libzypp-17.7.0/zypp/base/Collector.h
Examining data/libzypp-17.7.0/zypp/base/Counter.h
Examining data/libzypp-17.7.0/zypp/base/Debug.h
Examining data/libzypp-17.7.0/zypp/base/DefaultIntegral.h
Examining data/libzypp-17.7.0/zypp/base/DrunkenBishop.cc
Examining data/libzypp-17.7.0/zypp/base/DrunkenBishop.h
Examining data/libzypp-17.7.0/zypp/base/DtorReset.h
Examining data/libzypp-17.7.0/zypp/base/Easy.h
Examining data/libzypp-17.7.0/zypp/base/EnumClass.h
Examining data/libzypp-17.7.0/zypp/base/Errno.h
Examining data/libzypp-17.7.0/zypp/base/Exception.cc
Examining data/libzypp-17.7.0/zypp/base/Exception.h
Examining data/libzypp-17.7.0/zypp/base/ExternalDataSource.cc
Examining data/libzypp-17.7.0/zypp/base/ExternalDataSource.h
Examining data/libzypp-17.7.0/zypp/base/Fd.cc
Examining data/libzypp-17.7.0/zypp/base/Fd.h
Examining data/libzypp-17.7.0/zypp/base/Flags.h
Examining data/libzypp-17.7.0/zypp/base/Function.h
Examining data/libzypp-17.7.0/zypp/base/Functional.h
Examining data/libzypp-17.7.0/zypp/base/Gettext.cc
Examining data/libzypp-17.7.0/zypp/base/Gettext.h
Examining data/libzypp-17.7.0/zypp/base/GzStream.cc
Examining data/libzypp-17.7.0/zypp/base/GzStream.h
Examining data/libzypp-17.7.0/zypp/base/Hash.h
Examining data/libzypp-17.7.0/zypp/base/IOStream.cc
Examining data/libzypp-17.7.0/zypp/base/IOStream.h
Examining data/libzypp-17.7.0/zypp/base/InputStream.cc
Examining data/libzypp-17.7.0/zypp/base/InputStream.h
Examining data/libzypp-17.7.0/zypp/base/InterProcessMutex.h
Examining data/libzypp-17.7.0/zypp/base/Iterable.h
Examining data/libzypp-17.7.0/zypp/base/Iterator.h
Examining data/libzypp-17.7.0/zypp/base/Json.h
Examining data/libzypp-17.7.0/zypp/base/LocaleGuard.h
Examining data/libzypp-17.7.0/zypp/base/LogControl.cc
Examining data/libzypp-17.7.0/zypp/base/LogControl.h
Examining data/libzypp-17.7.0/zypp/base/LogTools.h
Examining data/libzypp-17.7.0/zypp/base/Logger.h
Examining data/libzypp-17.7.0/zypp/base/Measure.cc
Examining data/libzypp-17.7.0/zypp/base/Measure.h
Examining data/libzypp-17.7.0/zypp/base/NamedValue.h
Examining data/libzypp-17.7.0/zypp/base/NonCopyable.h
Examining data/libzypp-17.7.0/zypp/base/ProfilingFormater.cc
Examining data/libzypp-17.7.0/zypp/base/ProfilingFormater.h
Examining data/libzypp-17.7.0/zypp/base/ProvideNumericId.h
Examining data/libzypp-17.7.0/zypp/base/PtrTypes.h
Examining data/libzypp-17.7.0/zypp/base/Random.cc
Examining data/libzypp-17.7.0/zypp/base/Random.h
Examining data/libzypp-17.7.0/zypp/base/ReferenceCounted.cc
Examining data/libzypp-17.7.0/zypp/base/ReferenceCounted.h
Examining data/libzypp-17.7.0/zypp/base/Regex.cc
Examining data/libzypp-17.7.0/zypp/base/Regex.h
Examining data/libzypp-17.7.0/zypp/base/SerialNumber.cc
Examining data/libzypp-17.7.0/zypp/base/SerialNumber.h
Examining data/libzypp-17.7.0/zypp/base/SetRelationMixin.cc
Examining data/libzypp-17.7.0/zypp/base/SetRelationMixin.h
Examining data/libzypp-17.7.0/zypp/base/SetTracker.h
Examining data/libzypp-17.7.0/zypp/base/Signal.h
Examining data/libzypp-17.7.0/zypp/base/StrMatcher.cc
Examining data/libzypp-17.7.0/zypp/base/StrMatcher.h
Examining data/libzypp-17.7.0/zypp/base/String.cc
Examining data/libzypp-17.7.0/zypp/base/String.h
Examining data/libzypp-17.7.0/zypp/base/Sysconfig.cc
Examining data/libzypp-17.7.0/zypp/base/Sysconfig.h
Examining data/libzypp-17.7.0/zypp/base/TypeTraits.h
Examining data/libzypp-17.7.0/zypp/base/Unit.cc
Examining data/libzypp-17.7.0/zypp/base/Unit.h
Examining data/libzypp-17.7.0/zypp/base/UserRequestException.cc
Examining data/libzypp-17.7.0/zypp/base/UserRequestException.h
Examining data/libzypp-17.7.0/zypp/base/ValueTransform.h
Examining data/libzypp-17.7.0/zypp/base/WatchFile.h
Examining data/libzypp-17.7.0/zypp/base/Xml.h
Examining data/libzypp-17.7.0/zypp/base/InterProcessMutex.cc
Examining data/libzypp-17.7.0/zypp/media/CredentialFileReader.cc
Examining data/libzypp-17.7.0/zypp/media/CredentialFileReader.h
Examining data/libzypp-17.7.0/zypp/media/CredentialManager.cc
Examining data/libzypp-17.7.0/zypp/media/CredentialManager.h
Examining data/libzypp-17.7.0/zypp/media/CurlConfig.cc
Examining data/libzypp-17.7.0/zypp/media/CurlConfig.h
Examining data/libzypp-17.7.0/zypp/media/MediaAccess.cc
Examining data/libzypp-17.7.0/zypp/media/MediaAccess.h
Examining data/libzypp-17.7.0/zypp/media/MediaBlockList.cc
Examining data/libzypp-17.7.0/zypp/media/MediaBlockList.h
Examining data/libzypp-17.7.0/zypp/media/MediaCD.cc
Examining data/libzypp-17.7.0/zypp/media/MediaCD.h
Examining data/libzypp-17.7.0/zypp/media/MediaCIFS.cc
Examining data/libzypp-17.7.0/zypp/media/MediaCIFS.h
Examining data/libzypp-17.7.0/zypp/media/MediaCurl.h
Examining data/libzypp-17.7.0/zypp/media/MediaDIR.cc
Examining data/libzypp-17.7.0/zypp/media/MediaDIR.h
Examining data/libzypp-17.7.0/zypp/media/MediaDISK.cc
Examining data/libzypp-17.7.0/zypp/media/MediaDISK.h
Examining data/libzypp-17.7.0/zypp/media/MediaException.cc
Examining data/libzypp-17.7.0/zypp/media/MediaException.h
Examining data/libzypp-17.7.0/zypp/media/MediaHandler.h
Examining data/libzypp-17.7.0/zypp/media/MediaISO.cc
Examining data/libzypp-17.7.0/zypp/media/MediaISO.h
Examining data/libzypp-17.7.0/zypp/media/MediaManager.cc
Examining data/libzypp-17.7.0/zypp/media/MediaManager.h
Examining data/libzypp-17.7.0/zypp/media/MediaMultiCurl.h
Examining data/libzypp-17.7.0/zypp/media/MediaNFS.cc
Examining data/libzypp-17.7.0/zypp/media/MediaNFS.h
Examining data/libzypp-17.7.0/zypp/media/MediaPlugin.cc
Examining data/libzypp-17.7.0/zypp/media/MediaPlugin.h
Examining data/libzypp-17.7.0/zypp/media/MediaPriority.cc
Examining data/libzypp-17.7.0/zypp/media/MediaPriority.h
Examining data/libzypp-17.7.0/zypp/media/MediaSource.cc
Examining data/libzypp-17.7.0/zypp/media/MediaSource.h
Examining data/libzypp-17.7.0/zypp/media/MediaUserAuth.cc
Examining data/libzypp-17.7.0/zypp/media/MediaUserAuth.h
Examining data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc
Examining data/libzypp-17.7.0/zypp/media/MetaLinkParser.h
Examining data/libzypp-17.7.0/zypp/media/Mount.cc
Examining data/libzypp-17.7.0/zypp/media/Mount.h
Examining data/libzypp-17.7.0/zypp/media/ProxyInfo.cc
Examining data/libzypp-17.7.0/zypp/media/ProxyInfo.h
Examining data/libzypp-17.7.0/zypp/media/TransferSettings.cc
Examining data/libzypp-17.7.0/zypp/media/TransferSettings.h
Examining data/libzypp-17.7.0/zypp/media/UrlResolverPlugin.cc
Examining data/libzypp-17.7.0/zypp/media/UrlResolverPlugin.h
Examining data/libzypp-17.7.0/zypp/media/ZsyncParser.cc
Examining data/libzypp-17.7.0/zypp/media/ZsyncParser.h
Examining data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoImpl.h
Examining data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoLibproxy.cc
Examining data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoLibproxy.h
Examining data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoSysconfig.cc
Examining data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoSysconfig.h
Examining data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfos.h
Examining data/libzypp-17.7.0/zypp/media/MediaCurl.cc
Examining data/libzypp-17.7.0/zypp/media/MediaHandler.cc
Examining data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc
Examining data/libzypp-17.7.0/zypp/misc/CheckAccessDeleted.cc
Examining data/libzypp-17.7.0/zypp/misc/CheckAccessDeleted.h
Examining data/libzypp-17.7.0/zypp/misc/DefaultLoadSystem.cc
Examining data/libzypp-17.7.0/zypp/misc/DefaultLoadSystem.h
Examining data/libzypp-17.7.0/zypp/parser/HistoryLogReader.cc
Examining data/libzypp-17.7.0/zypp/parser/HistoryLogReader.h
Examining data/libzypp-17.7.0/zypp/parser/IniDict.cc
Examining data/libzypp-17.7.0/zypp/parser/IniDict.h
Examining data/libzypp-17.7.0/zypp/parser/IniParser.cc
Examining data/libzypp-17.7.0/zypp/parser/IniParser.h
Examining data/libzypp-17.7.0/zypp/parser/ParseException.cc
Examining data/libzypp-17.7.0/zypp/parser/ParseException.h
Examining data/libzypp-17.7.0/zypp/parser/ParserProgress.h
Examining data/libzypp-17.7.0/zypp/parser/ProductFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/ProductFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/RepoFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/RepoFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/RepoindexFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/RepoindexFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/ServiceFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/ServiceFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/susetags/ContentFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/susetags/ContentFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/susetags/RepoIndex.cc
Examining data/libzypp-17.7.0/zypp/parser/susetags/RepoIndex.h
Examining data/libzypp-17.7.0/zypp/parser/ws/WebpinResultFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/ws/WebpinResultFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/xml/Node.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/Node.h
Examining data/libzypp-17.7.0/zypp/parser/xml/Parse.h
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDef.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDef.h
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDefConsume.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDefConsume.h
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDefException.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDefException.h
Examining data/libzypp-17.7.0/zypp/parser/xml/ParseDefTraits.h
Examining data/libzypp-17.7.0/zypp/parser/xml/Reader.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/Reader.h
Examining data/libzypp-17.7.0/zypp/parser/xml/XmlEscape.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/XmlEscape.h
Examining data/libzypp-17.7.0/zypp/parser/xml/XmlString.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/XmlString.h
Examining data/libzypp-17.7.0/zypp/parser/xml/libxmlfwd.cc
Examining data/libzypp-17.7.0/zypp/parser/xml/libxmlfwd.h
Examining data/libzypp-17.7.0/zypp/parser/yum/PatchesFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/yum/PatchesFileReader.h
Examining data/libzypp-17.7.0/zypp/parser/yum/RepomdFileReader.cc
Examining data/libzypp-17.7.0/zypp/parser/yum/RepomdFileReader.h
Examining data/libzypp-17.7.0/zypp/pool/ByIdent.h
Examining data/libzypp-17.7.0/zypp/pool/PoolImpl.cc
Examining data/libzypp-17.7.0/zypp/pool/PoolImpl.h
Examining data/libzypp-17.7.0/zypp/pool/PoolStats.cc
Examining data/libzypp-17.7.0/zypp/pool/PoolStats.h
Examining data/libzypp-17.7.0/zypp/pool/PoolTraits.h
Examining data/libzypp-17.7.0/zypp/repo/Applydeltarpm.h
Examining data/libzypp-17.7.0/zypp/repo/DeltaCandidates.cc
Examining data/libzypp-17.7.0/zypp/repo/DeltaCandidates.h
Examining data/libzypp-17.7.0/zypp/repo/Downloader.cc
Examining data/libzypp-17.7.0/zypp/repo/Downloader.h
Examining data/libzypp-17.7.0/zypp/repo/MediaInfoDownloader.cc
Examining data/libzypp-17.7.0/zypp/repo/MediaInfoDownloader.h
Examining data/libzypp-17.7.0/zypp/repo/PackageDelta.h
Examining data/libzypp-17.7.0/zypp/repo/PackageProvider.cc
Examining data/libzypp-17.7.0/zypp/repo/PackageProvider.h
Examining data/libzypp-17.7.0/zypp/repo/PluginServices.cc
Examining data/libzypp-17.7.0/zypp/repo/PluginServices.h
Examining data/libzypp-17.7.0/zypp/repo/RepoException.cc
Examining data/libzypp-17.7.0/zypp/repo/RepoException.h
Examining data/libzypp-17.7.0/zypp/repo/RepoInfoBase.cc
Examining data/libzypp-17.7.0/zypp/repo/RepoInfoBase.h
Examining data/libzypp-17.7.0/zypp/repo/RepoMirrorList.cc
Examining data/libzypp-17.7.0/zypp/repo/RepoMirrorList.h
Examining data/libzypp-17.7.0/zypp/repo/RepoProvideFile.cc
Examining data/libzypp-17.7.0/zypp/repo/RepoProvideFile.h
Examining data/libzypp-17.7.0/zypp/repo/RepoType.cc
Examining data/libzypp-17.7.0/zypp/repo/RepoType.h
Examining data/libzypp-17.7.0/zypp/repo/RepoVariables.cc
Examining data/libzypp-17.7.0/zypp/repo/RepoVariables.h
Examining data/libzypp-17.7.0/zypp/repo/SUSEMediaVerifier.cc
Examining data/libzypp-17.7.0/zypp/repo/SUSEMediaVerifier.h
Examining data/libzypp-17.7.0/zypp/repo/ServiceRepos.cc
Examining data/libzypp-17.7.0/zypp/repo/ServiceRepos.h
Examining data/libzypp-17.7.0/zypp/repo/ServiceType.cc
Examining data/libzypp-17.7.0/zypp/repo/ServiceType.h
Examining data/libzypp-17.7.0/zypp/repo/SrcPackageProvider.cc
Examining data/libzypp-17.7.0/zypp/repo/SrcPackageProvider.h
Examining data/libzypp-17.7.0/zypp/repo/susetags/Downloader.cc
Examining data/libzypp-17.7.0/zypp/repo/susetags/Downloader.h
Examining data/libzypp-17.7.0/zypp/repo/yum/Downloader.cc
Examining data/libzypp-17.7.0/zypp/repo/yum/Downloader.h
Examining data/libzypp-17.7.0/zypp/repo/yum/ResourceType.cc
Examining data/libzypp-17.7.0/zypp/repo/yum/ResourceType.h
Examining data/libzypp-17.7.0/zypp/repo/PackageDelta.cc
Examining data/libzypp-17.7.0/zypp/repo/Applydeltarpm.cc
Examining data/libzypp-17.7.0/zypp/sat/AttrMatcher.h
Examining data/libzypp-17.7.0/zypp/sat/FileConflicts.cc
Examining data/libzypp-17.7.0/zypp/sat/FileConflicts.h
Examining data/libzypp-17.7.0/zypp/sat/LocaleSupport.cc
Examining data/libzypp-17.7.0/zypp/sat/LocaleSupport.h
Examining data/libzypp-17.7.0/zypp/sat/LookupAttr.h
Examining data/libzypp-17.7.0/zypp/sat/LookupAttrTools.h
Examining data/libzypp-17.7.0/zypp/sat/Map.cc
Examining data/libzypp-17.7.0/zypp/sat/Map.h
Examining data/libzypp-17.7.0/zypp/sat/Pool.cc
Examining data/libzypp-17.7.0/zypp/sat/Pool.h
Examining data/libzypp-17.7.0/zypp/sat/Queue.cc
Examining data/libzypp-17.7.0/zypp/sat/Queue.h
Examining data/libzypp-17.7.0/zypp/sat/SolvAttr.cc
Examining data/libzypp-17.7.0/zypp/sat/SolvAttr.h
Examining data/libzypp-17.7.0/zypp/sat/SolvIterMixin.cc
Examining data/libzypp-17.7.0/zypp/sat/SolvIterMixin.h
Examining data/libzypp-17.7.0/zypp/sat/Solvable.cc
Examining data/libzypp-17.7.0/zypp/sat/Solvable.h
Examining data/libzypp-17.7.0/zypp/sat/SolvableSet.cc
Examining data/libzypp-17.7.0/zypp/sat/SolvableSet.h
Examining data/libzypp-17.7.0/zypp/sat/SolvableType.h
Examining data/libzypp-17.7.0/zypp/sat/Transaction.cc
Examining data/libzypp-17.7.0/zypp/sat/Transaction.h
Examining data/libzypp-17.7.0/zypp/sat/WhatObsoletes.cc
Examining data/libzypp-17.7.0/zypp/sat/WhatObsoletes.h
Examining data/libzypp-17.7.0/zypp/sat/WhatProvides.cc
Examining data/libzypp-17.7.0/zypp/sat/WhatProvides.h
Examining data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.cc
Examining data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.h
Examining data/libzypp-17.7.0/zypp/sat/detail/PoolMember.h
Examining data/libzypp-17.7.0/zypp/sat/LookupAttr.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/ItemCapKind.h
Examining data/libzypp-17.7.0/zypp/solver/detail/ProblemSolutionCombi.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/ProblemSolutionCombi.h
Examining data/libzypp-17.7.0/zypp/solver/detail/ProblemSolutionIgnore.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/ProblemSolutionIgnore.h
Examining data/libzypp-17.7.0/zypp/solver/detail/Resolver.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/Resolver.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SATResolver.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SATResolver.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolutionAction.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolutionAction.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItem.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItem.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemDelete.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemDelete.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemInstall.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemInstall.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemInstallOneOf.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemInstallOneOf.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemLock.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemLock.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemUpdate.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SolverQueueItemUpdate.h
Examining data/libzypp-17.7.0/zypp/solver/detail/SystemCheck.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/SystemCheck.h
Examining data/libzypp-17.7.0/zypp/solver/detail/Testcase.cc
Examining data/libzypp-17.7.0/zypp/solver/detail/Testcase.h
Examining data/libzypp-17.7.0/zypp/solver/detail/Types.h
Examining data/libzypp-17.7.0/zypp/target/CommitPackageCache.cc
Examining data/libzypp-17.7.0/zypp/target/CommitPackageCache.h
Examining data/libzypp-17.7.0/zypp/target/CommitPackageCacheImpl.cc
Examining data/libzypp-17.7.0/zypp/target/CommitPackageCacheImpl.h
Examining data/libzypp-17.7.0/zypp/target/CommitPackageCacheReadAhead.cc
Examining data/libzypp-17.7.0/zypp/target/CommitPackageCacheReadAhead.h
Examining data/libzypp-17.7.0/zypp/target/HardLocksFile.cc
Examining data/libzypp-17.7.0/zypp/target/HardLocksFile.h
Examining data/libzypp-17.7.0/zypp/target/RequestedLocalesFile.cc
Examining data/libzypp-17.7.0/zypp/target/RequestedLocalesFile.h
Examining data/libzypp-17.7.0/zypp/target/RpmPostTransCollector.cc
Examining data/libzypp-17.7.0/zypp/target/RpmPostTransCollector.h
Examining data/libzypp-17.7.0/zypp/target/SolvIdentFile.cc
Examining data/libzypp-17.7.0/zypp/target/SolvIdentFile.h
Examining data/libzypp-17.7.0/zypp/target/TargetCallbackReceiver.cc
Examining data/libzypp-17.7.0/zypp/target/TargetCallbackReceiver.h
Examining data/libzypp-17.7.0/zypp/target/TargetException.cc
Examining data/libzypp-17.7.0/zypp/target/TargetException.h
Examining data/libzypp-17.7.0/zypp/target/TargetImpl.commitFindFileConflicts.cc
Examining data/libzypp-17.7.0/zypp/target/TargetImpl.h
Examining data/libzypp-17.7.0/zypp/target/hal/HalContext.cc
Examining data/libzypp-17.7.0/zypp/target/hal/HalContext.h
Examining data/libzypp-17.7.0/zypp/target/hal/HalException.h
Examining data/libzypp-17.7.0/zypp/target/modalias/Modalias.cc
Examining data/libzypp-17.7.0/zypp/target/modalias/Modalias.h
Examining data/libzypp-17.7.0/zypp/target/rpm/BinHeader.h
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmCallbacks.cc
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmCallbacks.h
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmDb.h
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmException.cc
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmException.h
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmFlags.h
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmHeader.cc
Examining data/libzypp-17.7.0/zypp/target/rpm/RpmHeader.h
Examining data/libzypp-17.7.0/zypp/target/rpm/librpm.h
Examining data/libzypp-17.7.0/zypp/target/rpm/librpmDb.cc
Examining data/libzypp-17.7.0/zypp/target/rpm/librpmDb.cv3.cc
Examining data/libzypp-17.7.0/zypp/target/rpm/librpmDb.h
Examining data/libzypp-17.7.0/zypp/target/rpm/BinHeader.cc
Examining data/libzypp-17.7.0/zypp/target/TargetImpl.cc
Examining data/libzypp-17.7.0/zypp/thread/Mutex.cc
Examining data/libzypp-17.7.0/zypp/thread/Mutex.h
Examining data/libzypp-17.7.0/zypp/thread/MutexException.h
Examining data/libzypp-17.7.0/zypp/thread/MutexLock.h
Examining data/libzypp-17.7.0/zypp/thread/Once.h
Examining data/libzypp-17.7.0/zypp/ui/SelFilters.h
Examining data/libzypp-17.7.0/zypp/ui/Selectable.cc
Examining data/libzypp-17.7.0/zypp/ui/Selectable.h
Examining data/libzypp-17.7.0/zypp/ui/SelectableImpl.cc
Examining data/libzypp-17.7.0/zypp/ui/SelectableImpl.h
Examining data/libzypp-17.7.0/zypp/ui/SelectableTraits.h
Examining data/libzypp-17.7.0/zypp/ui/Status.cc
Examining data/libzypp-17.7.0/zypp/ui/Status.h
Examining data/libzypp-17.7.0/zypp/ui/UserWantedPackages.cc
Examining data/libzypp-17.7.0/zypp/ui/UserWantedPackages.h
Examining data/libzypp-17.7.0/zypp/url/UrlBase.cc
Examining data/libzypp-17.7.0/zypp/url/UrlBase.h
Examining data/libzypp-17.7.0/zypp/url/UrlException.h
Examining data/libzypp-17.7.0/zypp/url/UrlUtils.cc
Examining data/libzypp-17.7.0/zypp/url/UrlUtils.h
Examining data/libzypp-17.7.0/zypp/ws/WebpinResult.cc
Examining data/libzypp-17.7.0/zypp/ws/WebpinResult.h
Examining data/libzypp-17.7.0/zypp/zypp_detail/ZYppImpl.cc
Examining data/libzypp-17.7.0/zypp/zypp_detail/ZYppImpl.h
Examining data/libzypp-17.7.0/zypp/zypp_detail/ZYppReadOnlyHack.h
Examining data/libzypp-17.7.0/zypp/Fetcher.cc
Examining data/libzypp-17.7.0/zypp/RepoInfo.cc
Examining data/libzypp-17.7.0/zypp/RepoManager.cc
Examining data/libzypp-17.7.0/zypp/TriBool.h

FINAL RESULTS:

data/libzypp-17.7.0/vendor/mongoose/mongoose.c:927:2:  [5] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120). Risk is high,
  it appears that the size is given as bytes, but the function requires size
  as characters.
	MultiByteToWideChar(CP_UTF8, 0, buf, -1, wbuf, sizeof(wbuf));
data/libzypp-17.7.0/zypp/HistoryLog.cc:62:43:  [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.
	zypp::Pathname myname( zypp::filesystem::readlink( p ) );
data/libzypp-17.7.0/zypp/PathInfo.cc:877:9:  [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.
    int readlink( const Pathname & symlink_r, Pathname & target_r )
data/libzypp-17.7.0/zypp/PathInfo.cc:881:23:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      ssize_t ret = ::readlink( symlink_r.c_str(), buf, bufsiz );
data/libzypp-17.7.0/zypp/PathInfo.cc:908:33:  [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.
        path = path.dirname() / readlink(path);
data/libzypp-17.7.0/zypp/PathInfo.cc:1045:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    int chmod( const Pathname & path, mode_t mode )
data/libzypp-17.7.0/zypp/PathInfo.cc:1048:14:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      if ( ::chmod( path.asString().c_str(), mode ) == -1 ) {
data/libzypp-17.7.0/zypp/PathInfo.cc:1059:16:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        return chmod( path, tmode );
data/libzypp-17.7.0/zypp/PathInfo.cc:1068:16:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        return chmod( path, tmode );
data/libzypp-17.7.0/zypp/PathInfo.h:675:9:  [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.
    int readlink( const Pathname & symlink_r, Pathname & target_r );
data/libzypp-17.7.0/zypp/PathInfo.h:677:21:  [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.
    inline Pathname readlink( const Pathname & symlink_r )
data/libzypp-17.7.0/zypp/PathInfo.h:680:7:  [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.
      readlink( symlink_r, target );
data/libzypp-17.7.0/zypp/PathInfo.h:749:9:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    int chmod( const Pathname & path, mode_t mode );
data/libzypp-17.7.0/zypp/RepoInfo.cc:248:23:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      ssize_t ret = ::readlink( path_r.c_str(), buf, bufsiz );
data/libzypp-17.7.0/zypp/TmpPath.cc:225:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        ::chmod( ret.path().c_str(), p.st_mode() );
data/libzypp-17.7.0/zypp/TmpPath.cc:302:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        ::chmod( ret.path().c_str(), p.st_mode() );
data/libzypp-17.7.0/zypp/base/InterProcessMutex.cc:330:43:  [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.
        XXX << p << " -> " << filesystem::readlink( p ) << endl;
data/libzypp-17.7.0/zypp/media/CredentialManager.cc:265:17:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
    filesystem::chmod(file, mode);
data/libzypp-17.7.0/zypp/misc/CheckAccessDeleted.cc:179:43:  [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.
              pinfo.command = filesystem::readlink( Pathname("/proc")/pinfo.pid/"exe" ).basename();
data/libzypp-17.7.0/zypp/target/HardLocksFile.cc:52:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      filesystem::chmod( tmp.path(), 0644 );
data/libzypp-17.7.0/zypp/target/RequestedLocalesFile.cc:57:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      filesystem::chmod( tmp.path(), 0644 );
data/libzypp-17.7.0/zypp/target/SolvIdentFile.cc:57:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      filesystem::chmod( tmp.path(), 0644 );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:434:31:  [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.
	      unifytag = filesystem::readlink( script.path() ).asString();
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:952:21:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
        filesystem::chmod( rpmsolv, 0644 );
data/libzypp-17.7.0/devel/devel.ma/Basic.cc:252:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    MediaSetAccess access(url);
data/libzypp-17.7.0/devel/devel.ma/Basic.cc:253:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    Pathname local = access.provideFile(path);
data/libzypp-17.7.0/devel/devel.ma/Basic.cc:259:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    MediaSetAccess access(url);
data/libzypp-17.7.0/devel/devel.ma/Basic.cc:272:30:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    fch.start(tmpdir.path(), access);
data/libzypp-17.7.0/tests/lib/WebServer.cc:27:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  namespace system
data/libzypp-17.7.0/tests/media/media4_test.cc:87:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system( cmd.c_str());
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:83:9:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define	snprintf		_snprintf
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:83:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
#define	snprintf		_snprintf
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:84:9:  [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.
#define	vsnprintf		_vsnprintf
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:85:9:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
#define	popen(x, y)		_popen(x, y)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:87:9:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#define	access(x, y)		_access(x, y)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:373:9:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	(void) vfprintf(fp, fmt, ap);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:456:6:  [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.
	n = vsnprintf(buf, buflen, fmt, ap);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:992:12:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				(void) execle(prog, prog, NULL, envp);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:995:12:  [4] (shell) execle:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				(void) execle(interp, interp, prog, NULL, envp);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1950:7:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		if (sscanf(line, "%[^:]:%[^:]:%s", f_user, domain, ha1) != 3)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2868:19:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	} else if ((fp = popen(cmd, "r")) == NULL) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3341:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	return (access(path, R_OK) == 0);
data/libzypp-17.7.0/zypp/ExternalProgram.cc:383:6:  [4] (shell) execvp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    	execvp(argv[0], const_cast<char *const *>(argv));
data/libzypp-17.7.0/zypp/HistoryLog.cc:45:22:  [4] (misc) cuserid:
  Exactly what cuserid() does is poorly defined (e.g., some systems use the
  effective uid, like Linux, while others like System V use the real uid).
  Thus, you can't trust what it does. It's certainly not portable (The
  cuserid function was included in the 1988 version of POSIX, but removed
  from the 1990 version). Also, if passed a non-null parameter, there's a
  risk of a buffer overflow if the passed-in buffer is not at least L_cuserid
  characters long (CWE-120). Use getpwuid(geteuid()) and extract the desired
  information instead.
      char * tmp = ::cuserid(buf);
data/libzypp-17.7.0/zypp/MediaSetAccess.cc:195:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    MediaSetAccess access(url);
data/libzypp-17.7.0/zypp/MediaSetAccess.cc:199:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    Pathname file = access.provideFile(path, 1, options);
data/libzypp-17.7.0/zypp/RepoManager.cc:1433:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      MediaSetAccess access(url);
data/libzypp-17.7.0/zypp/RepoManager.cc:1436:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if ( access.doesFileExist(path/"/repodata/repomd.xml") )
data/libzypp-17.7.0/zypp/RepoManager.cc:1452:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        if ( access.doesFileExist(path/"/content") )
data/libzypp-17.7.0/zypp/RepoManager.cc:2483:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      MediaSetAccess access(url);
data/libzypp-17.7.0/zypp/RepoManager.cc:2484:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      if ( access.doesFileExist("/repo/repoindex.xml") )
data/libzypp-17.7.0/zypp/Repository.cc:346:34:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      AutoDispose<FILE*> file( ::popen( command.c_str(), "re" ), ::pclose );
data/libzypp-17.7.0/zypp/base/PtrTypes.h:31:74:  [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.
    std::string form( const char * format, ... ) __attribute__ ((format (printf, 1, 2)));
data/libzypp-17.7.0/zypp/base/String.h:169:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__ ((format (printf, 1, 2)));
data/libzypp-17.7.0/zypp/repo/PackageProvider.h:66:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      PackageProvider( RepoMediaAccess & access, const PoolItem & pi_r,
data/libzypp-17.7.0/zypp/repo/PackageProvider.h:72:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      PackageProvider( RepoMediaAccess & access, const PoolItem & pi_r,
data/libzypp-17.7.0/zypp/repo/PackageProvider.h:77:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      PackageProvider( RepoMediaAccess & access,
data/libzypp-17.7.0/zypp/repo/RepoProvideFile.cc:116:23:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      RepoMediaAccess access;
data/libzypp-17.7.0/zypp/repo/RepoProvideFile.cc:117:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      return access.provideFile(repo_r, loc_r, policy_r );
data/libzypp-17.7.0/zypp/repo/RepoProvideFile.cc:311:36:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	  fetcher.start( destinationDir, *access );
data/libzypp-17.7.0/zypp/solver/detail/Testcase.cc:526:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	if ( system && pi.status().isInstalled() ) {
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:985:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      Repository system( sat::Pool::instance().findSystemRepo() );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:986:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if ( system )
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:987:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        system.eraseFromPool();
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1002:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      Repository system( sat::Pool::instance().findSystemRepo() );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1004:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if ( system && ! system.solvablesEmpty() )
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1004:24:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if ( system && ! system.solvablesEmpty() )
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1008:11:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
          system.eraseFromPool(); // invalidates system
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1016:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      if ( ! system )
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1024:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        system.addSolv( rpmsolv );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1033:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        system.addSolv( rpmsolv );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1058:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	    for_( it, system.solvablesBegin(), system.solvablesEnd() )
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1058:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	    for_( it, system.solvablesBegin(), system.solvablesEnd() )
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:1087:35:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
      MIL << "Target loaded: " << system.solvablesSize() << " resolvables" << endl;
data/libzypp-17.7.0/zypp/target/rpm/RpmHeader.cc:57:2:  [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(lastUname, thisUname);
data/libzypp-17.7.0/zypp/target/rpm/RpmHeader.cc:107:2:  [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(lastGname, thisGname);
data/libzypp-17.7.0/zypp/target/rpm/librpmDb.cc:681:60:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#warning TESTCASE: rpmdbAppendIterator and (non)sequential access?
data/libzypp-17.7.0/zypp/target/rpm/librpmDb.cc:700:66:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#warning TESTCASE: rpmdbGetIteratorCount returns 0 on sequential access?
data/libzypp-17.7.0/devel/devel.ma/MaTest.cc:56:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
static const Pathname sysRoot( getenv("SYSROOT") ? getenv("SYSROOT") : "/Local/ROOT" );
data/libzypp-17.7.0/devel/devel.ma/MaTest.cc:56:52:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
static const Pathname sysRoot( getenv("SYSROOT") ? getenv("SYSROOT") : "/Local/ROOT" );
data/libzypp-17.7.0/devel/devel.ma/NewPool.cc:63:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
static const Pathname sysRoot( getenv("SYSROOT") ? getenv("SYSROOT") : "/Local/ROOT" );
data/libzypp-17.7.0/devel/devel.ma/NewPool.cc:63:52:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
static const Pathname sysRoot( getenv("SYSROOT") ? getenv("SYSROOT") : "/Local/ROOT" );
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:35:32:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
static const Pathname sysRoot( getenv("SYSROOT") ? getenv("SYSROOT") : "/Local/ROOT" );
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:35:52:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
static const Pathname sysRoot( getenv("SYSROOT") ? getenv("SYSROOT") : "/Local/ROOT" );
data/libzypp-17.7.0/tools/migrate-sources/migrate-sources.cc:63:8:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ( getenv("YAST_IS_RUNNING") && (string(getenv("YAST_IS_RUNNING")) == "instsys" ))
data/libzypp-17.7.0/tools/migrate-sources/migrate-sources.cc:63:45:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if ( getenv("YAST_IS_RUNNING") && (string(getenv("YAST_IS_RUNNING")) == "instsys" ))
data/libzypp-17.7.0/tools/zypp-NameReqPrv.cc:171:25:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char * astr = getenv( "ZYPP_TESTSUITE_FAKE_ARCH" );
data/libzypp-17.7.0/tools/zypp-NameReqPrv.cc:173:14:  [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.
      astr = getenv( "ZYPP_ARCH" );
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:74:22:  [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.
#define	dlopen(x,y)		LoadLibrary(x)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2619:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((s = getenv("PATH")) != NULL)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2623:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((s = getenv("COMSPEC")) != NULL)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2625:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((s = getenv("SYSTEMROOT")) != NULL)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2628:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((s = getenv("LD_LIBRARY_PATH")) != NULL)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2632:11:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ((s = getenv("PERLLIB")) != NULL)
data/libzypp-17.7.0/zypp/ExternalProgram.cc:360:13:  [3] (misc) chroot:
  chroot can be very helpful, but is hard to use correctly (CWE-250, CWE-22).
  Make sure the program immediately chdir("/"), closes file descriptors, and
  drops root privileges, and that all necessary files (and no more!) are in
  the new root.
    	    if(chroot(root) == -1)
data/libzypp-17.7.0/zypp/PluginScript.cc:39:33:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char * PLUGIN_DEBUG = getenv( "ZYPP_PLUGIN_DEBUG" );
data/libzypp-17.7.0/zypp/PluginScript.cc:179:55:  [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 long PLUGIN_TIMEOUT = 	str::strtonum<long>( getenv( "ZYPP_PLUGIN_TIMEOUT" ) );
data/libzypp-17.7.0/zypp/PluginScript.cc:180:60:  [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 long PLUGIN_SEND_TIMEOUT = 	str::strtonum<long>( getenv( "ZYPP_PLUGIN_SEND_TIMEOUT" ) );
data/libzypp-17.7.0/zypp/PluginScript.cc:181:62:  [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 long PLUGIN_RECEIVE_TIMEOUT =	str::strtonum<long>( getenv( "ZYPP_PLUGIN_RECEIVE_TIMEOUT" ) );
data/libzypp-17.7.0/zypp/RepoManager.cc:75:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char * env = getenv("ZYPP_PLUGIN_APPDATA_FORCE_COLLECT");
data/libzypp-17.7.0/zypp/TmpPath.cc:159:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      static Pathname p( getenv("ZYPPTMPDIR") ? getenv("ZYPPTMPDIR") : "/var/tmp" );
data/libzypp-17.7.0/zypp/TmpPath.cc:159:49:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      static Pathname p( getenv("ZYPPTMPDIR") ? getenv("ZYPPTMPDIR") : "/var/tmp" );
data/libzypp-17.7.0/zypp/ZConfig.cc:193: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 * envlang = getenv( *envvar );
data/libzypp-17.7.0/zypp/ZConfig.cc:224:34:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char *env_confpath = getenv( "ZYPP_CONF" );
data/libzypp-17.7.0/zypp/ZConfig.cc:600:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        if ( getenv( "ZYPP_TESTSUITE_FAKE_ARCH" ) )
data/libzypp-17.7.0/zypp/ZConfig.cc:602:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          Arch carch( getenv( "ZYPP_TESTSUITE_FAKE_ARCH" ) );
data/libzypp-17.7.0/zypp/ZYppFactory.cc:64:14:  [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.
    { return getenv("ZYPP_LOCKFILE_ROOT") ? getenv("ZYPP_LOCKFILE_ROOT") : "/"; }
data/libzypp-17.7.0/zypp/ZYppFactory.cc:64:45:  [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.
    { return getenv("ZYPP_LOCKFILE_ROOT") ? getenv("ZYPP_LOCKFILE_ROOT") : "/"; }
data/libzypp-17.7.0/zypp/ZYppFactory.cc:71:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    static bool active = getenv("ZYPP_READONLY_HACK");
data/libzypp-17.7.0/zypp/ZYppFactory.cc:369:49:  [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 long LOCK_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_LOCK_TIMEOUT" ) );
data/libzypp-17.7.0/zypp/base/GzStream.h:228:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            this->setstate(std::ios_base::failbit);
data/libzypp-17.7.0/zypp/base/GzStream.h:237:19:  [3] (random) setstate:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            this->setstate(std::ios_base::failbit);
data/libzypp-17.7.0/zypp/base/InterProcessMutex.cc:50:77:  [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.
        base = filesystem::TmpPath::defaultLocation() + ( string("zypp-") + getenv("USER") );
data/libzypp-17.7.0/zypp/base/LogControl.cc:358:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        , _excessive( getenv("ZYPP_FULLLOG") )
data/libzypp-17.7.0/zypp/base/LogControl.cc:361:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          if ( getenv("ZYPP_LOGFILE") )
data/libzypp-17.7.0/zypp/base/LogControl.cc:362: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.
            logfile( getenv("ZYPP_LOGFILE") );
data/libzypp-17.7.0/zypp/base/LogControl.cc:364:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
          if ( getenv("ZYPP_PROFILING") )
data/libzypp-17.7.0/zypp/base/Random.cc:21:13:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            srand(getpid());
data/libzypp-17.7.0/zypp/base/Random.cc:25:7:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      srand(seed);
data/libzypp-17.7.0/zypp/base/Random.cc:39:15:  [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.
      int r=::random() % 62;
data/libzypp-17.7.0/zypp/base/Random.h:28:21:  [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.
    inline unsigned random()
data/libzypp-17.7.0/zypp/base/Random.h:33:21:  [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.
    inline unsigned random( unsigned size_r )
data/libzypp-17.7.0/zypp/base/Random.h:38:21:  [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.
    inline unsigned random( unsigned min_r, unsigned size_r )
data/libzypp-17.7.0/zypp/base/Random.h:40: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.
      return min_r + random( size_r );
data/libzypp-17.7.0/zypp/media/CredentialManager.cc:65: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.
    char * homedir = getenv("HOME");
data/libzypp-17.7.0/zypp/media/CurlConfig.cc:31:20:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *home = getenv("HOME");
data/libzypp-17.7.0/zypp/media/MediaAccess.cc:153:38:  [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 *multicurlenv = getenv( "ZYPP_MULTICURL" );
data/libzypp-17.7.0/zypp/media/MediaCurl.cc:163:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	if ( const char * envp = getenv( "ZYPP_MEDIA_CURL_IPRESOLVE" ) )
data/libzypp-17.7.0/zypp/media/MediaCurl.cc:659:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    char *ptr = getenv("ZYPP_MEDIA_CURL_DEBUG");
data/libzypp-17.7.0/zypp/media/MediaHandler.cc:129:19:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    char *ptr = ::realpath(path.c_str(), NULL);
data/libzypp-17.7.0/zypp/media/MediaHandler.cc:141:13:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
      if( ::realpath(path.c_str(), buff) != NULL)
data/libzypp-17.7.0/zypp/media/MediaHandler.cc:149:11:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
    if( ::realpath(path.c_str(), buff) != NULL)
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:420:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *s = getenv(name.c_str());
data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoLibproxy.cc:35:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char * val = getenv( _var.c_str() );
data/libzypp-17.7.0/zypp/repo/RepoVariables.cc:37:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char * env = getenv("ZYPP_REPO_RELEASEVER");
data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.cc:59:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char * envp = getenv("LIBSOLV_DEBUGMASK");
data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.cc:201:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	  if ( getenv("ZYPP_LIBSOLV_FULLLOG") || getenv("ZYPP_LIBSAT_FULLLOG") )
data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.cc:201:43:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	  if ( getenv("ZYPP_LIBSOLV_FULLLOG") || getenv("ZYPP_LIBSAT_FULLLOG") )
data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.cc:203:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	  else if ( getenv("ZYPP_FULLLOG") )
data/libzypp-17.7.0/zypp/solver/detail/Resolver.cc:297:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ( getenv("ZYPP_FULLLOG") ) {
data/libzypp-17.7.0/zypp/solver/detail/SATResolver.cc:75:28:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      const char * val = ::getenv( var_r );
data/libzypp-17.7.0/zypp/target/CommitPackageCache.cc:119:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if ( getenv("ZYPP_COMMIT_NO_PACKAGE_CACHE") )
data/libzypp-17.7.0/zypp/target/modalias/Modalias.cc:102:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char * dir = getenv("ZYPP_MODALIAS_SYSFS");
data/libzypp-17.7.0/zypp/zypp_detail/ZYppImpl.cc:152:12:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      if ( getenv("ZYPP_TESTSUITE_FAKE_ARCH") )
data/libzypp-17.7.0/devel/devel.ma/NewPool.cc:470:45:  [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).
    media::MediaAccessId mid = mediamanager.open( Url("http://download.opensuse.org") );
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:46:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    scr.open();
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:58:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    scr.open();
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:67:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    scr.open();
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:105:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  DOLOG( plugin.open() );
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:125:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	spacewalk.open();
data/libzypp-17.7.0/devel/devel.ma/PluginTest.cc:146: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).
      scr.open();
data/libzypp-17.7.0/tests/lib/WebServer.cc:54:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char buf[256];
data/libzypp-17.7.0/tests/media/file_exists_test.cc:28: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).
  id = mm.open( url, "");
data/libzypp-17.7.0/tests/media/file_exists_test.cc:57: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).
  id = mm.open( url, "");
data/libzypp-17.7.0/tests/media/file_exists_test.cc:77: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).
  id = mm.open( url, "");
data/libzypp-17.7.0/tests/media/file_exists_test.cc:103: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).
  id = mm.open( iso_url, "");
data/libzypp-17.7.0/tests/media/file_exists_test.cc:122: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).
  id = mm.open( url, "");
data/libzypp-17.7.0/tests/media/media1_test.cc:30: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).
  id = mm.open(zypp::Url("ftp://machcd2/CDs/SLES-10-ISSLE-Beta1a-ppc/CD1"), "");
data/libzypp-17.7.0/tests/media/media2_test.cc:73: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).
    one = mm.open(url);
data/libzypp-17.7.0/tests/media/media2_test.cc:76: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).
    two = mm.open(url);
data/libzypp-17.7.0/tests/media/media3_test.cc:96:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      src = mm.open(src_url);
data/libzypp-17.7.0/tests/media/media3_test.cc:103: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).
    iso = mm.open(iso_url);
data/libzypp-17.7.0/tests/media/media4_test.cc:69: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).
    id = mm.open(url);
data/libzypp-17.7.0/tests/media/throw_if_not_exists_test.cc:30: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).
  id = mm.open( url, "");
data/libzypp-17.7.0/tests/zypp/MediaSetAccess_test.cc:42:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((file = fopen(path.asString().c_str(), "r")) == NULL) return false;
data/libzypp-17.7.0/tests/zypp/PluginFrame_test.cc:109:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  BOOST_CHECK_THROW( scr.open( "bla" ), PluginScriptException );	// script does not exist
data/libzypp-17.7.0/tests/zypp/PluginFrame_test.cc:114:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  scr.open( "/bin/cat" );
data/libzypp-17.7.0/tests/zypp/PluginFrame_test.cc:119:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  BOOST_CHECK_THROW( scr.open( "/bin/ls" ), PluginScriptException );	// already open
data/libzypp-17.7.0/tests/zypp/PluginFrame_test.cc:152:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  scr.open();
data/libzypp-17.7.0/tests/zypp/PluginFrame_test.cc:165:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  scr.open();
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:98:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define	open(x, y, z)		_open(x, y, z)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:125: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	d_name[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:154:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define	mg_open(x, y, z)	open(x, y, z)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:327: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	*options[NUM_OPTIONS];	/* Configured opions		*/
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:607: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		buf[BUFSIZ];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:707: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	buf[FILENAME_MAX], *p;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:730:2:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	MultiByteToWideChar(CP_UTF8, 0, buf, -1, wbuf, (int) wbuf_len);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:736:2:  [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	wbuf[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:746:2:  [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	wbuf[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:756:2:  [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	wbuf[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:767: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	path[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:768:2:  [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	wpath[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:842: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	*p, *interp, cmdline[FILENAME_MAX], line[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:870: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).
		if ((fp = fopen(cmdline, "r")) != NULL) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:920: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	buf[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:921:2:  [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	wbuf[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1171: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	buf[MAX_REQUEST_SIZE];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1415: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		mon[32];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1529: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.
	unsigned char	in[64];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1693:4:  [2] (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, len);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1696: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, buf, t);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1705: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(ctx->in, buf, 64);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1714:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(ctx->in, buf, len);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1722:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
MD5Final(unsigned char digest[16], MD5_CTX *ctx)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1759:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(digest, ctx->buf, 16);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1787: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.
	unsigned char	hash[16];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1811: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	ha2[32 + 1], expected_response[32 + 1];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1834:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char 		name[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1841: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).
		if ((fp = fopen(ctx->options[OPT_AUTH_GPASSWD], "r")) == NULL)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1847:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(name, "r");
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1867:8:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fp = fopen(name, "r");
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1941: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		line[256], f_user[256], domain[256], ha1[256],
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1972: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		protected_path[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1996:14:  [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).
			if ((fp = fopen(protected_path, "r")) == NULL)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2015: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[MAX_REQUEST_SIZE];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2044:12:  [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).
	if ((fp = fopen(conn->ctx->options[OPT_AUTH_PUT], "r")) != NULL) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2074: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		size[64], mod[64];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2134: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		path[FILENAME_MAX], sort_direction;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2216: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	buf[BUFSIZ];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2233: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		date[64], lm[64], etag[64], range[64];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2333: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.
		(void) memcpy(&ri->remote_ip, &usa->u.sin.sin_addr.s_addr, 4);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2459: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.
		(void) memcpy(ri->post_data + ri->post_data_len, buf, len);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2475: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		buf[BUFSIZ];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2511:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				(void) memcpy(ri->post_data, tmp, already_read);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2545: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	buf[CGI_ENVIRONMENT_SIZE];	/* Environment buffer	*/
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2547: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	*vars[MAX_CGI_ENVIR_VARS];	/* char **envp		*/
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2667: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			buf[MAX_REQUEST_SIZE], *pbuf;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2670: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			dir[FILENAME_MAX], *p;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2727:58:  [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).
	conn->request_info.status_code = status == NULL ? 200 : atoi(status);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2762: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		buf[FILENAME_MAX];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2770: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.
		(void) memcpy(buf, path, len);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2819: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	file_name[BUFSIZ], path[FILENAME_MAX], *p;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2850:12:  [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).
	if ((fp = fopen(path, "rb")) == NULL) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2863: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	cmd[BUFSIZ];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2879: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	buf[BUFSIZ];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2940:12:  [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).
	if ((fp = fopen(path, "rb")) == NULL) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2957: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			path[FILENAME_MAX], *uri = ri->uri;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3057:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		port	= atoi(p);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3097: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		date[64];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3313: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).
	} else if ((*fpp = fopen(path, "a")) == NULL) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3413:14:  [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).
	new_count = atoi(str);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3414:14:  [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).
	old_count = atoi(ctx->options[OPT_THREADS]);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3574: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	buf[BUFSIZ];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3643: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	buf[MAX_REQUEST_SIZE];
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3831:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	for (i = 0; i < atoi(ctx->options[OPT_THREADS]); i++)
data/libzypp-17.7.0/zypp/Date.cc:132: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 char buf[512];
data/libzypp-17.7.0/zypp/Digest.cc:76:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char md_value[EVP_MAX_MD_SIZE];
data/libzypp-17.7.0/zypp/Digest.cc:201: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 mdtxt[_dp->md_len*2 + 1];
data/libzypp-17.7.0/zypp/Digest.cc:258: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[bufsize];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:54: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.
      const char *argv[4];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:73: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.
      const char * argvp[argv.size() + 1];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:96: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.
      const char * argvp[argv.size() + 1];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:146: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.
      const char *argv[i + 1];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:148: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( &argv[1], argv_1, (i - 1) * sizeof (char *) );
data/libzypp-17.7.0/zypp/ExternalProgram.cc:163: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.
      const char *argv[i + 1];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:165: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( &argv[1], argv_1, (i - 1) * sizeof (char *) );
data/libzypp-17.7.0/zypp/ExternalProgram.cc:304:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-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[512];
data/libzypp-17.7.0/zypp/ExternalProgram.cc:306:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    	    ::close(open(name, O_RDONLY));
data/libzypp-17.7.0/zypp/ExternalProgram.cc:322: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).
          int inp_fd = open( redirectStdin, O_RDONLY );
data/libzypp-17.7.0/zypp/ExternalProgram.cc:329: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).
          int inp_fd = open( redirectStdout, O_WRONLY|O_CREAT|O_APPEND, 0600 );
data/libzypp-17.7.0/zypp/ExternalProgram.cc:336: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).
    	    int null_fd = open("/dev/null", O_WRONLY);
data/libzypp-17.7.0/zypp/HistoryLog.cc: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 char buf[256];
data/libzypp-17.7.0/zypp/HistoryLog.cc:117:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      _log.open( _fname.asString().c_str(), std::ios::out|std::ios::app );
data/libzypp-17.7.0/zypp/KeyManager.cc:114:20:  [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).
  FILEPtr dataFile(fopen(file_r.c_str(), "rb"), fclose);
data/libzypp-17.7.0/zypp/KeyManager.cc:125:19:  [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).
  FILEPtr sigFile(fopen(signature_r.c_str(), "rb"), fclose);
data/libzypp-17.7.0/zypp/KeyManager.cc:345: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[bufsize + 1];
data/libzypp-17.7.0/zypp/MediaProducts.h:93:35:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    media::MediaId id = media_mgr.open(url_r);
data/libzypp-17.7.0/zypp/MediaSetAccess.cc:412:41:  [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).
    media::MediaAccessId id = media_mgr.open( url, _prefAttachPoint );
data/libzypp-17.7.0/zypp/PathInfo.cc:747:15:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      TmpFile tmpfile( TmpFile::makeSibling( rpath ) );
data/libzypp-17.7.0/zypp/PathInfo.cc:748:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      if ( ! tmpfile )
data/libzypp-17.7.0/zypp/PathInfo.cc:750:21:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      Pathname tmp( tmpfile.path() );
data/libzypp-17.7.0/zypp/PathInfo.cc:880: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 char buf[bufsiz+1];
data/libzypp-17.7.0/zypp/PathInfo.cc:1081:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open( file.asString().c_str(), O_RDONLY|O_CLOEXEC );
data/libzypp-17.7.0/zypp/PathInfo.cc:1085:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char magic[magicSize];
data/libzypp-17.7.0/zypp/PluginExecutor.cc:107:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	plugin.open();
data/libzypp-17.7.0/zypp/PluginScript.cc:152:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      void open( const Pathname & script_r = Pathname(), const Arguments & args_r = Arguments() );
data/libzypp-17.7.0/zypp/PluginScript.cc:191:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void PluginScript::Impl::open( const Pathname & script_r, const Arguments & args_r )
data/libzypp-17.7.0/zypp/PluginScript.cc:492:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void PluginScript::open()
data/libzypp-17.7.0/zypp/PluginScript.cc:493: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).
  { _pimpl->open( _pimpl->script(), _pimpl->args() ); }
data/libzypp-17.7.0/zypp/PluginScript.cc:495:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void PluginScript::open( const Pathname & script_r )
data/libzypp-17.7.0/zypp/PluginScript.cc:496: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).
  { _pimpl->open( script_r ); }
data/libzypp-17.7.0/zypp/PluginScript.cc:498:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  void PluginScript::open( const Pathname & script_r, const Arguments & args_r )
data/libzypp-17.7.0/zypp/PluginScript.cc:499: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).
  { _pimpl->open( script_r, args_r ); }
data/libzypp-17.7.0/zypp/PluginScript.h:154:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      void open();
data/libzypp-17.7.0/zypp/PluginScript.h:157:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      void open( const Pathname & script_r );
data/libzypp-17.7.0/zypp/PluginScript.h:160:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      void open( const Pathname & script_r, const Arguments & args_r );
data/libzypp-17.7.0/zypp/RepoInfo.cc: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 char buf[bufsiz+1];
data/libzypp-17.7.0/zypp/RepoManager.cc:164:31:  [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).
          _mid = mediamanager.open( url_r );
data/libzypp-17.7.0/zypp/Repository.cc:324:34:  [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).
      AutoDispose<FILE*> file( ::fopen( file_r.c_str(), "re" ), ::fclose );
data/libzypp-17.7.0/zypp/ZYppFactory.cc:164:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      _zyppLockFile = fopen( _zyppLockFilePath.c_str(), "a+" );
data/libzypp-17.7.0/zypp/ZYppFactory.cc:203: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 char buffer[513];
data/libzypp-17.7.0/zypp/base/Fd.cc:39: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).
      m_fd = open( file_r.asString().c_str(), open_flags, mode );
data/libzypp-17.7.0/zypp/base/GzStream.cc:74:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fgzstreambuf::open( const char * name_r, std::ios_base::openmode mode_r )
data/libzypp-17.7.0/zypp/base/GzStream.cc:82:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            _fd = ::open( name_r, O_RDONLY | O_CLOEXEC );
data/libzypp-17.7.0/zypp/base/GzStream.cc:87:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            _fd = ::open( name_r, O_WRONLY|O_CREAT|O_CLOEXEC, 0666 );
data/libzypp-17.7.0/zypp/base/GzStream.h:114:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      open( const char * name_r, std::ios_base::openmode mode_r = std::ios_base::in );
data/libzypp-17.7.0/zypp/base/GzStream.h:214:44:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        { this->init( &_streambuf ); this->open( file_r ); }
data/libzypp-17.7.0/zypp/base/GzStream.h:225:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        open( const char * file_r )
data/libzypp-17.7.0/zypp/base/GzStream.h:227:28:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
          if ( !_streambuf.open( file_r, defMode(*this) ) )
data/libzypp-17.7.0/zypp/base/IOStream.cc:36: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 char           tmpBuff[tmpBuffLen];
data/libzypp-17.7.0/zypp/base/InterProcessMutex.cc:261: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 buffer[100];
data/libzypp-17.7.0/zypp/base/InterProcessMutex.cc:262:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf( buffer, "%d\n", curr_pid);
data/libzypp-17.7.0/zypp/base/LogControl.cc:90: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 fd = ::open( file_r.c_str(), O_CREAT|O_EXCL, mode_r );
data/libzypp-17.7.0/zypp/base/LogControl.cc:120: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 char hostname[1024];
data/libzypp-17.7.0/zypp/base/Random.cc:17:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      int fd = open("/dev/urandom", O_RDONLY|O_CLOEXEC);
data/libzypp-17.7.0/zypp/base/Regex.cc:35: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 errbuff[100];
data/libzypp-17.7.0/zypp/media/CurlConfig.cc:48: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[32] = "";
data/libzypp-17.7.0/zypp/media/MediaAccess.cc:104: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).
MediaAccess::open (const Url& o_url, const Pathname & preferred_attach_point)
data/libzypp-17.7.0/zypp/media/MediaAccess.cc:471: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).
    media.open( u );
data/libzypp-17.7.0/zypp/media/MediaAccess.h:95:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	void open( const Url& url, const Pathname & preferred_attach_point = "" );
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:57:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&fsum[0], c, cl);
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:93: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(&chksums[csl * blkno], cs, csl);
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:129: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 pad[chksumpad - size];
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:191:42:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned int rs = updateRsum(0, (const char *)buf, blocks[blkno].size);
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:203:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  dig.update((const char *)buf, blocks[blkno].size);
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:279:27:  [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).
  if (!chksumlen || (fp = fopen(filename.c_str(), "r")) == 0)
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:476:8:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	      memcpy(&nchksums[(nblocks.size() - 1) * chksumlen], &chksums[blkno * chksumlen], chksumlen);
data/libzypp-17.7.0/zypp/media/MediaCD.cc:252:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = ::open( device_r.c_str(), O_RDONLY|O_NONBLOCK|O_CLOEXEC );
data/libzypp-17.7.0/zypp/media/MediaCD.cc:278: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.
      const char *cmd[3];
data/libzypp-17.7.0/zypp/media/MediaCD.cc:311:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int fd = ::open( device_r.c_str(), O_RDONLY|O_NONBLOCK|O_CLOEXEC );
data/libzypp-17.7.0/zypp/media/MediaCurl.cc:1252:18:  [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( "/dev/null", "w" );
data/libzypp-17.7.0/zypp/media/MediaCurl.h: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 _curlError[ CURL_ERROR_SIZE ];
data/libzypp-17.7.0/zypp/media/MediaHandler.cc:139: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 buff[PATH_MAX + 2];
data/libzypp-17.7.0/zypp/media/MediaHandler.cc:147: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 buff[PATH_MAX + 2];
data/libzypp-17.7.0/zypp/media/MediaISO.cc:117:27:  [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).
      _parentId = manager.open(src, _url.getQueryParam("mnt"));
data/libzypp-17.7.0/zypp/media/MediaManager.cc:251:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    MediaManager::open(const Url &url, const Pathname &preferred_attach_point)
data/libzypp-17.7.0/zypp/media/MediaManager.cc:260:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      tmp.handler->open(url, preferred_attach_point);
data/libzypp-17.7.0/zypp/media/MediaManager.h:516:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      open(const Url &url, const Pathname & preferred_attach_point = "");
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:269:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[128];
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:270: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, l);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:436: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 addrbuf[128];
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:567: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[4096];
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:746: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 rangebuf[128];
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:751: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(rangebuf, "%llu-", (unsigned long long)_blkstart);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:753: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(rangebuf, "%llu-%llu", (unsigned long long)_blkstart, (unsigned long long)_blkstart + _blksize - 1);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:1209:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[256], *p;
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:1235: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).
  if ((fd = open(file.asString().c_str(), O_RDONLY|O_CLOEXEC)) == -1)
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:1418:11:  [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(destNew.c_str(), "w+e");
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:1470:11:  [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(destNew.c_str(), "w+e");
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:1571: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[4096];
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:227:11:  [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).
	  prio = atoi(priority);
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:229:17:  [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).
	  prio = 101 - atoi(preference);
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:292:45:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (pd->state == STATE_PHASH && (!piece || atoi(piece) != pd->npiece))
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:439: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[4096];
data/libzypp-17.7.0/zypp/media/Mount.cc: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          buf[PATH_MAX * 4];
data/libzypp-17.7.0/zypp/media/UrlResolverPlugin.cc:46:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            scr.open(plugin_path);
data/libzypp-17.7.0/zypp/media/ZsyncParser.cc:66: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[4096];
data/libzypp-17.7.0/zypp/media/ZsyncParser.cc:83: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).
        blksize = atoi(buf + 11);
data/libzypp-17.7.0/zypp/media/ZsyncParser.cc:88: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.
	  unsigned char sha1[20];
data/libzypp-17.7.0/zypp/media/ZsyncParser.cc:116: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.
	  unsigned char rp[16];
data/libzypp-17.7.0/zypp/misc/CheckAccessDeleted.cc:290:20:  [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 *inFile = fopen( lsofOutput_r.c_str(), "r" );
data/libzypp-17.7.0/zypp/misc/CheckAccessDeleted.cc:371:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      debugFileOut.open( _debugFile.c_str() );
data/libzypp-17.7.0/zypp/repo/RepoMirrorList.cc:67:71:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      inline std::vector<Url> RepoMirrorListParseXML( const Pathname &tmpfile )
data/libzypp-17.7.0/zypp/repo/RepoMirrorList.cc:69:26:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	InputStream tmpfstream (tmpfile);
data/libzypp-17.7.0/zypp/repo/RepoMirrorList.cc:75:71:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      inline std::vector<Url> RepoMirrorListParseTXT( const Pathname &tmpfile )
data/libzypp-17.7.0/zypp/repo/RepoMirrorList.cc:77:26:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
	InputStream tmpfstream (tmpfile);
data/libzypp-17.7.0/zypp/repo/ServiceRepos.cc:39:42:  [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).
	media::MediaAccessId mid = mediamanager.open( serviceUrl );
data/libzypp-17.7.0/zypp/sat/FileConflicts.cc:32: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.
	static const char * text[2][2] = {{ // [lhs][rhs] 0 = installed; 1 = to be installed
data/libzypp-17.7.0/zypp/sat/FileConflicts.cc:66: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.
	static const char * text[2][2] = {{ // [lhs][rhs] 0 = installed; 1 = to be installed
data/libzypp-17.7.0/zypp/sat/Pool.cc:265:34:  [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).
      AutoDispose<FILE*> solv( ::fopen( solvfile_r.c_str(), "re" ), ::fclose );
data/libzypp-17.7.0/zypp/sat/Pool.cc:280: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).
	int fd = ::open( solvidxfile.c_str(), O_CREAT|O_EXCL|O_WRONLY|O_TRUNC, 0644 );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:571:31:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
          filesystem::TmpFile tmpfile;
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:572:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
          ofstream out( tmpfile.path().c_str() );
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:586:34:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
          command.push_back( "<"+tmpfile.path().asString() ); // redirect input
data/libzypp-17.7.0/zypp/target/TargetImpl.cc:732:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            filestr.open( filename.c_str() );
data/libzypp-17.7.0/zypp/target/TargetImpl.commitFindFileConflicts.cc:107:31:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    AutoDispose<FILE*> fp( ::fopen( localfile.c_str(), "re" ), ::fclose );
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:994:13:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
    TmpFile tmpfile( getZYpp()->tmpPath() );
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:996:28:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      std::ofstream tmpos( tmpfile.path().c_str() );
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:1007:45:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      getZYpp()->keyRing()->multiKeyImport( tmpfile.path(), true /*trusted*/);
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:1265:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        os.open(file.path().asString().c_str());
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:1500:9:  [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).
	_f = ::fopen( "/dev/null","w");
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:1940: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).
      notify.open("/var/lib/update-messages/yast2-packagemanager.rpmdb.configfiles");
data/libzypp-17.7.0/zypp/url/UrlUtils.cc:135:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      unsigned char      out[4];
data/libzypp-17.7.0/zypp/url/UrlUtils.cc:153:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char x[3] = { hex[0], hex[1], '\0'};
data/libzypp-17.7.0/tests/zypp/CpeId_test.cc:293:61:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( compare( Value::ANY,	Value::ANY,	SetCompare::equal		) );
data/libzypp-17.7.0/tests/zypp/CpeId_test.cc:303:59:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( compare( Value::NA,	Value::NA,	SetCompare::equal		) );
data/libzypp-17.7.0/tests/zypp/CpeId_test.cc:314:65:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( compare( wildcardfree,	wildcardfree,	SetCompare::equal		) );
data/libzypp-17.7.0/tests/zypp/CpeId_test.cc:333:61:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( compare( wildcarded,	wildcarded,	SetCompare::equal		) );
data/libzypp-17.7.0/tests/zypp/PoolQuery_test.cc:744:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      bool equal( v[li] == v[ri] );
data/libzypp-17.7.0/tests/zypp/PoolQuery_test.cc:746:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      BOOST_CHECK_EQUAL( equal, li==ri );
data/libzypp-17.7.0/tests/zypp/PoolQuery_test.cc:747:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      BOOST_CHECK_EQUAL( equal, !nequal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:10:57:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::uncomparable		!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:15:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::equal		!= SetCompare::uncomparable );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:16:50:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::equal		== SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:17:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::equal		!= SetCompare::properSubset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:18:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::equal		!= SetCompare::properSuperset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:19:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::equal		!= SetCompare::disjoint );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:22:57:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::properSubset		!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:28:58:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::properSuperset	!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:34:53:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetCompare::disjoint		!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:43:58:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::uncomparable	!= SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:50:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetRelation::uncomparable );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:51:52:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		== SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:52:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetRelation::properSubset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:53:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetRelation::properSuperset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:54:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetRelation::disjoint );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:55:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetRelation::subset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:56:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetRelation::superset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:59:58:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::properSubset	!= SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:67:60:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::properSuperset	!= SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:75:55:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::disjoint		!= SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:83:53:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::subset		!= SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:91:55:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::superset		!= SetRelation::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:102:57:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::uncomparable	!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:107:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetCompare::uncomparable );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:108:51:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		== SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:109:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetCompare::properSubset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:110:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetCompare::properSuperset );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:111:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::equal		!= SetCompare::disjoint );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:114:57:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::properSubset	!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:120:59:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::properSuperset	!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:126:54:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::disjoint		!= SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:132:52:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::subset		== SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/SetRelationMixin_test.cc:138:54:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  BOOST_CHECK( SetRelation::superset		== SetCompare::equal );
data/libzypp-17.7.0/tests/zypp/base/Sysconfig_test.cc:30:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  map<string,string> values = zypp::base::sysconfig::read(file);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:97:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define	read(x, y, z)		_read(x, y, (unsigned) z)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:439: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).
	return (mg_strndup(str, strlen(str)));
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:551:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	path_len = strlen(path);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:700:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    path + 2, strlen(path + 2) + 1);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:713:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	p = buf + strlen(buf) - 1;
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:875:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			for (p = &line[strlen(line) - 1]; p > line &&
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1152:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		nread = read(fd, buf, (size_t) len);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1239:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	var_len = strlen(name);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1282:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		v1 = get_var(name, ri->query_string, strlen(ri->query_string));
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1322: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).
	for (p = buf + strlen(buf) - 1; p > buf && *p == '/'; p--)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1421:8:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	if (((sscanf(s, "%d/%3s/%d %d:%d:%d",
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1423:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	    (sscanf(s, "%d %3s %d %d:%d:%d",
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1425:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	    (sscanf(s, "%*3s, %d %3s %d %d:%d:%d",
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1427:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	    (sscanf(s, "%d-%3s-%d %d:%d:%d",
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1796:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		MD5Update(&ctx, (unsigned char *) p, (int) strlen(p));
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1816:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    strlen(response) != 32 /*||
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1857: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).
		for (p = path, e = p + strlen(p) - 1; e > p; e--)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:1905: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).
			value[strlen(value) - 1] = '\0';
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2223:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((n = read(fd, buf, n)) <= 0)
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2373:6:  [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).
	n = strlen(path);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2606:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	addenv(blk, "SCRIPT_NAME=%s", prog + strlen(root));
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2843:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		(void) mg_snprintf(path + strlen(path),
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2844: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).
		    sizeof(path) - strlen(path), "%s", file_name);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2885:15:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while ((ch = fgetc(fp)) != EOF) {
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2964:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(void) url_decode(uri, (int) strlen(uri), uri, strlen(uri) + 1, FALSE);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:2964:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	(void) url_decode(uri, (int) strlen(uri), uri, strlen(uri) + 1, FALSE);
data/libzypp-17.7.0/vendor/mongoose/mongoose.c:3000:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	} else if (S_ISDIR(st.st_mode) && uri[strlen(uri) - 1] != '/') {
data/libzypp-17.7.0/zypp/CpeId.cc:174:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      SetCompare ret = SetCompare::equal;
data/libzypp-17.7.0/zypp/CpeId.cc:183:21:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	  case SetCompare::equal:
data/libzypp-17.7.0/zypp/CpeId.cc:187:30:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	    if ( ret == SetCompare::equal )
data/libzypp-17.7.0/zypp/CpeId.cc:194:30:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	    if ( ret == SetCompare::equal )
data/libzypp-17.7.0/zypp/CpeId.cc:935:36:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      /* ANY,		ANY		*/ SetCompare::equal,
data/libzypp-17.7.0/zypp/CpeId.cc:941:34:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      /* NA,		NA		*/ SetCompare::equal,
data/libzypp-17.7.0/zypp/CpeId.cc:964:70:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	ret = matchWildcardfreeString( *_value, *trg._value ) ? SetCompare::equal : SetCompare::disjoint;
data/libzypp-17.7.0/zypp/CpeId.cc:1003:39:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      ret = trg.isANY() ? SetCompare::equal : SetCompare::properSuperset;
data/libzypp-17.7.0/zypp/CpeId.cc:1011:43:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if ( trg.isNA() ) ret = SetCompare::equal; // else: SetCompare::disjoint;
data/libzypp-17.7.0/zypp/CpeId.cc:1021:72:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	  ret = matchWildcardfreeString( *_value, *trg._value ) ? SetCompare::equal : SetCompare::uncomparable;
data/libzypp-17.7.0/zypp/CpeId.cc:1039:77:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
	  if ( matchWildcardfreeString( *_value, *trg._value ) ) ret = SetCompare::equal; // else: SetCompare::disjoint;
data/libzypp-17.7.0/zypp/Date.cc:138: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).
	unsigned l = ::strlen( buf );
data/libzypp-17.7.0/zypp/Digest.cc:268:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        is.read(buf, bufsize);
data/libzypp-17.7.0/zypp/ExternalProgram.cc:653:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int ch = fgetc( _stderr );
data/libzypp-17.7.0/zypp/Fetcher.cc:50:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    DefaultIntegral<bool,false> read;
data/libzypp-17.7.0/zypp/Fetcher.cc:696:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( (*it_idx)->read )
data/libzypp-17.7.0/zypp/IdString.cc:48: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).
  { return ::strlen( c_str() ); }
data/libzypp-17.7.0/zypp/Locks.cc:163:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Locks::read( const Pathname& file )
data/libzypp-17.7.0/zypp/Locks.h:103:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read( const Pathname& file = ZConfig::instance().locksFile() );
data/libzypp-17.7.0/zypp/PathInfo.cc:1087:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ( read( fd, magic, magicSize ) == magicSize ) {
data/libzypp-17.7.0/zypp/PathInfo.cc:1123:23:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      mode_t mask = ::umask( 0022 );
data/libzypp-17.7.0/zypp/PathInfo.cc:1124:9:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
      ::umask( mask );
data/libzypp-17.7.0/zypp/PluginScript.cc:371:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int ch = fgetc( filep );
data/libzypp-17.7.0/zypp/VendorAttr.cc:200:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          dict.read(is);
data/libzypp-17.7.0/zypp/ZYppFactory.cc:206:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ( std::ifstream( (procdir/"cmdline").c_str() ).read( buffer, 512 ).gcount() > 0 )
data/libzypp-17.7.0/zypp/base/ExternalDataSource.cc:80:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   int readc = fgetc(inputfile);
data/libzypp-17.7.0/zypp/base/GzStream.cc:235:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ( read < 0 )
data/libzypp-17.7.0/zypp/base/GzStream.cc:237:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return read;
data/libzypp-17.7.0/zypp/base/InterProcessMutex.cc:263:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            write( _fd->fd(), buffer, strlen(buffer));
data/libzypp-17.7.0/zypp/base/Random.cc:18:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (fd < 0 || ::read(fd, &seed, sizeof(seed)) != sizeof(seed))
data/libzypp-17.7.0/zypp/base/SetRelationMixin.cc:22:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      { equal,		"{=}" },
data/libzypp-17.7.0/zypp/base/SetRelationMixin.cc:34:9:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      { equal,		"{==}" },
data/libzypp-17.7.0/zypp/base/SetRelationMixin.h:60:28:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      equal		= SetCompare::equal,		///< "{==}"
data/libzypp-17.7.0/zypp/base/SetRelationMixin.h:64:30:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      subset		= properSubset|equal,		///< "{<=}"
data/libzypp-17.7.0/zypp/base/SetRelationMixin.h:65:34:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      superset		= properSuperset|equal,		///< "{>=}"
data/libzypp-17.7.0/zypp/base/SetRelationMixin.h:198:45:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    { return src.compare( trg, SetRelation::equal ); }
data/libzypp-17.7.0/zypp/base/SetRelationMixin.h:229:57:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  { return src.compare( DERIVED_TYPE(trg), SetRelation::equal ); }	\
data/libzypp-17.7.0/zypp/base/SetRelationMixin.h:231:57:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  { return DERIVED_TYPE(src).compare( trg, SetRelation::equal ); }	\
data/libzypp-17.7.0/zypp/base/String.h:108: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).
        { _sze = _val ? ::strlen( _val ) : 0; }
data/libzypp-17.7.0/zypp/base/Sysconfig.cc:34:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      map<string,string> read( const Pathname & _path )
data/libzypp-17.7.0/zypp/base/Sysconfig.h:24:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      std::map<std::string,std::string> read( const Pathname & _path );
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:262:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(fp);
data/libzypp-17.7.0/zypp/media/MediaBlockList.cc:339:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc(fp);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:286:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "filesize mismatch", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:327:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "curl_easy_init failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:339:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "curl_easy_setopt failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:462:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "DNS pipe creation failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:472:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "DNS checker fork failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:533:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "DNS lookup failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:542:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "DNS lookup failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:759:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "curl_easy_setopt range failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:766:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
      strncpy(_curlError, "curl_multi_add_handle failed", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MediaMultiCurl.cc:1034:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		  strncpy(worker->_curlError, "checksum error", CURL_ERROR_SIZE);
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:351:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(pd->content) != size_t(pd->chksuml) * 2 || !hexstr2bytes(&pd->chksum[0], pd->content, pd->chksuml))
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:359:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(pd->content) != size_t(pd->piecel) * 2)
data/libzypp-17.7.0/zypp/media/MetaLinkParser.cc:444:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      is.stream().read(buf, sizeof(buf));
data/libzypp-17.7.0/zypp/media/ZsyncParser.cc:118:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  is.read((char *)rp + 4 - rsl, rsl);
data/libzypp-17.7.0/zypp/media/ZsyncParser.cc:120:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  is.read((char *)rp, csl);
data/libzypp-17.7.0/zypp/media/proxyinfo/ProxyInfoSysconfig.cc:31:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      map<string,string> data = sysconfig::read(
data/libzypp-17.7.0/zypp/parser/IniDict.cc:39:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read(is, progress );
data/libzypp-17.7.0/zypp/parser/IniDict.cc:46:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void IniDict::read( const InputStream &is,
data/libzypp-17.7.0/zypp/parser/IniDict.h:103:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void read( const InputStream &is,
data/libzypp-17.7.0/zypp/parser/RepoFileReader.cc:41:4:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	{ read( is_r ); }
data/libzypp-17.7.0/zypp/parser/xml/Reader.cc:42:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                   ->stream().read( buffer_r, bufferLen_r ).gcount();
data/libzypp-17.7.0/zypp/sat/Solvable.cc:320:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      unsigned     ksize = ::strlen( kind );
data/libzypp-17.7.0/zypp/sat/WhatProvides.h:202:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        bool equal( const WhatProvidesIterator & rhs ) const
data/libzypp-17.7.0/zypp/sat/detail/PoolImpl.cc:615:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  str::split( base::sysconfig::read( sysconfigStoragePath() )["USED_FS_LIST"],
data/libzypp-17.7.0/zypp/target/rpm/RpmDb.cc:1875:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pos2 = pos1 + strlen (typemsg);
data/libzypp-17.7.0/zypp/target/rpm/RpmHeader.cc:48: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).
    thisUnameLen = strlen(thisUname);
data/libzypp-17.7.0/zypp/target/rpm/RpmHeader.cc:98: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).
    thisGnameLen = strlen(thisGname);

ANALYSIS SUMMARY:

Hits = 502
Lines analyzed = 151349 in approximately 3.48 seconds (43540 lines/second)
Physical Source Lines of Code (SLOC) = 90223
Hits@level = [0]  25 [1] 138 [2] 220 [3]  66 [4]  54 [5]  24
Hits@level+ = [0+] 527 [1+] 502 [2+] 364 [3+] 144 [4+]  78 [5+]  24
Hits/KSLOC@level+ = [0+] 5.84108 [1+] 5.56399 [2+] 4.03445 [3+] 1.59605 [4+] 0.864525 [5+] 0.266008
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.