rpm - scan-build results

User:brain@ignatenko-w541.localdomain
Working Directory:/home/brain/Projects/upstream/rpm
Command Line:make -j8
Clang Version:clang version 4.0.1 (tags/RELEASE_401/final)
Date:Tue Aug 22 13:51:23 2017

Bug Summary

Bug TypeQuantityDisplay?
All Bugs123
API
Argument with 'nonnull' attribute passed null3
Dead store
Dead assignment94
Dead increment3
Dead initialization1
Logic error
Branch condition evaluates to a garbage value1
Dereference of null pointer4
Result of operation is garbage or undefined7
Uninitialized argument value2
Memory Error
Memory leak5
Use-after-free2
Unix API
Allocator sizeof operand mismatch1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Unix APIAllocator sizeof operand mismatchtools/hashtab.chtab_expand2701View Report
APIArgument with 'nonnull' attribute passed nulllib/backend/db3.cdb3_idxdbGet103410View Report
APIArgument with 'nonnull' attribute passed nullrpmio/argv.cargvJoin23712View Report
APIArgument with 'nonnull' attribute passed nullmisc/fts.cfts_build79824View Report
Logic errorBranch condition evaluates to a garbage valuelib/rpmscript.crunExtScript3907View Report
Dead storeDead assignmenttools/rpmgraph.crpmGraph2091View Report
Dead storeDead assignmenttools/rpmgraph.crpmGraph2081View Report
Dead storeDead assignmenttools/rpmgraph.crpmGraph711View Report
Dead storeDead assignmentrpm2archive.cmain2151View Report
Dead storeDead assignmentrpm2archive.cprocess_package1791View Report
Dead storeDead assignmentrpm2cpio.cmain591View Report
Dead storeDead assignmentlib/rpmhash.CfileRenameHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CfileRenameHashEmpty1991View Report
Dead storeDead assignmentsign/rpmgensig.crunGPG2681View Report
Dead storeDead assignmentlib/rpmfi.crpmfilesBuildNLink14871View Report
Dead storeDead assignmentlib/rpmhash.CfileidHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CfileidHashEmpty1991View Report
Dead storeDead assignmentlib/rpmfi.crpmfilesFree13041View Report
Dead storeDead assignmentlib/rpmhash.CnlinkHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CnlinkHashEmpty1991View Report
Dead storeDead assignmentlib/backend/db3.cdb3_dbiClose7561View Report
Dead storeDead assignmentlib/backend/db3.cdb_init5271View Report
Dead storeDead assignmentlib/backend/db3.cdb_init4651View Report
Dead storeDead assignmentlib/backend/db3.cdb_init4601View Report
Dead storeDead assignmentlib/backend/db3.cdbConfigure3571View Report
Dead storeDead assignmentlib/backend/db3.cdbConfigure2361View Report
Dead storeDead assignmentlib/backend/db3.cdb_fini1911View Report
Dead storeDead assignmentlib/backend/db3.cdb_fini1881View Report
Dead storeDead assignmentlib/rpmds.crpmdsSearch9611View Report
Dead storeDead assignmentlib/rpmds.crpmdsFree2811View Report
Dead storeDead assignmentlib/rpmts.crpmtsFree7601View Report
Dead storeDead assignmentlib/rpmts.crpmtsImportPubkey5661View Report
Dead storeDead assignmentlib/transaction.ccheckInstalledFiles11411View Report
Dead storeDead assignmentlib/transaction.ccheckInstalledFiles10511View Report
Dead storeDead assignmentlib/rpmhash.CrpmStringSetFree2151View Report
Dead storeDead assignmentlib/rpmhash.CrpmStringSetEmpty1991View Report
Dead storeDead assignmentlib/rpmrc.crpmFreeRpmrc17341View Report
Dead storeDead assignmentlib/rpmrc.crpmPlatform6901View Report
Dead storeDead assignmentlib/rpmrc.crpmPlatform6891View Report
Dead storeDead assignmentlib/rpmrc.crpmPlatform6671View Report
Dead storeDead assignmentlib/rpmscript.cdoScriptExec2241View Report
Dead storeDead assignmentlib/rpmscript.cdoScriptExec1921View Report
Dead storeDead assignmentlib/rpmscript.cdoScriptExec1901View Report
Dead storeDead assignmentlib/rpmscript.cdoScriptExec1871View Report
Dead storeDead assignmentlib/rpmscript.cdoScriptExec1851View Report
Dead storeDead assignmentlib/rpmscript.cdoScriptExec1771View Report
Dead storeDead assignmentlib/rpmdb.crpmdbIndexIteratorFree20251View Report
Dead storeDead assignmentlib/rpmdb.crpmdbSetIteratorRE12971View Report
Dead storeDead assignmentlib/rpmal.crpmalAllSatisfiesDepend4801View Report
Dead storeDead assignmentlib/rpmdb.crpmdbSetIteratorRE12941View Report
Dead storeDead assignmentlib/rpmal.crpmalFree1381View Report
Dead storeDead assignmentlib/rpmhash.CrpmalFileHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CrpmalFileHashEmpty1991View Report
Dead storeDead assignmentlib/rpmhash.CrpmalDepHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CrpmalDepHashEmpty1991View Report
Dead storeDead assignmentlib/rpmdb.crpmdbFreeIterator10391View Report
Dead storeDead assignmentlib/rpmdb.crpmdbClose4251View Report
Dead storeDead assignmentlib/rpmhash.CdbChkFree2151View Report
Dead storeDead assignmentlib/rpmhash.CdbChkEmpty1991View Report
Dead storeDead assignmentlib/rpminstall.crpmInstall4781View Report
Dead storeDead assignmentlib/rpminstall.crpmInstall4451View Report
Dead storeDead assignmentlib/rpminstall.crpmcliTransaction2961View Report
Dead storeDead assignmentlib/rpminstall.crpmcliTransaction2761View Report
Dead storeDead assignmentlib/rpmgi.crpmgiLoadReadHeader1581View Report
Dead storeDead assignmentlib/rpmps.crpmpsFree1211View Report
Dead storeDead assignmentlib/header.cheaderFreeIterator16761View Report
Dead storeDead assignmentlib/header.cheaderReload9681View Report
Dead storeDead assignmentlib/header.cheaderReload9631View Report
Dead storeDead assignmentlib/header.cheaderFree2171View Report
Dead storeDead assignmentlib/depends.cunsatisfiedDependSet6711View Report
Dead storeDead assignmentlib/depends.caddPackage4551View Report
Dead storeDead assignmentlib/rpmhash.CdepexistsHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CdepexistsHashEmpty1991View Report
Dead storeDead assignmentlib/rpmhash.CfiledepHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CfiledepHashEmpty1991View Report
Dead storeDead assignmentlib/rpmhash.CpackageHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CpackageHashEmpty1991View Report
Dead storeDead assignmentlib/rpmhash.CdepCacheFree2151View Report
Dead storeDead assignmentlib/rpmhash.CdepCacheEmpty1991View Report
Dead storeDead assignmentlib/fsm.crpmPackageFilesRemove10071View Report
Dead storeDead assignmentlib/fsm.crpmPackageFilesInstall8921View Report
Dead storeDead assignmentlib/fprint.cfpLookupSubdir3891View Report
Dead storeDead assignmentlib/rpmhash.CrpmFpHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CrpmFpHashEmpty1991View Report
Dead storeDead assignmentlib/rpmhash.CrpmFpEntryHashFree2151View Report
Dead storeDead assignmentlib/rpmhash.CrpmFpEntryHashEmpty1991View Report
Dead storeDead assignmentlib/headerfmt.csingleSprintf8141View Report
Dead storeDead assignmentlib/headerfmt.csingleSprintf7331View Report
Dead storeDead assignmentlib/headerfmt.csingleSprintf7131View Report
Dead storeDead assignmentlib/rpmhash.CtagCacheFree2151View Report
Dead storeDead assignmentlib/rpmhash.CtagCacheEmpty1991View Report
Dead storeDead assignmentlib/headerutil.ccompressFilelist2671View Report
Dead storeDead assignmentlib/rpmtd.crpmtdFormat2641View Report
Dead storeDead assignmentrpmio/macro.cloadMacroFile14801View Report
Dead storeDead assignmentrpmio/rpmglob.cglob_in_dir7281View Report
Dead storeDead assignmentrpmio/rpmglob.cglob_in_dir7171View Report
Dead storeDead assignmentrpmio/rpmstrpool.cpoolHashFree1811View Report
Dead storeDead assignmentrpmio/rpmlog.crpmlog4001View Report
Dead storeDead assignmentrpmio/rpmlog.cdolog3581View Report
Dead storeDead incrementtools/rpmgraph.crpmGraph1691View Report
Dead storeDead incrementtools/rpmgraph.crpmGraph1621View Report
Dead storeDead incrementlib/header.cheaderAddI18NString16111View Report
Dead storeDead initializationtools/debugedit.cmain26901View Report
Logic errorDereference of null pointerbuild/files.cprocessSpecialDir231855View Report
Logic errorDereference of null pointerbuild/parseSpec.cinitSourceHeader53122View Report
Logic errorDereference of null pointerlib/headerfmt.chsaNext18515View Report
Logic errorDereference of null pointerrpmio/rpmio.cfdPop9317View Report
Memory ErrorMemory leakluaext/lposix.cPputenv4034View Report
Memory ErrorMemory leakluaext/lposix.cPexec36012View Report
Memory ErrorMemory leakluaext/lrexlib.crex_gmatch1609View Report
Memory ErrorMemory leakluaext/lrexlib.crex_match1146View Report
Memory ErrorMemory leakmisc/fts.cFts_open21720View Report
Logic errorResult of operation is garbage or undefinedlib/rpmfi.crpmfilesDecideFate111224View Report
Logic errorResult of operation is garbage or undefinedlib/rpmfi.crpmfilesDecideFate111217View Report
Logic errorResult of operation is garbage or undefinedlib/rpmfi.crpmfilesDecideFate109721View Report
Logic errorResult of operation is garbage or undefinedlib/rpmfi.crpmfilesDecideFate109714View Report
Logic errorResult of operation is garbage or undefinedlib/rpmfi.crpmfileContentsEqual99619View Report
Logic errorResult of operation is garbage or undefinedlib/rpmfi.crpmfileContentsEqual99612View Report
Logic errorResult of operation is garbage or undefinedrpmio/rpmpgp.cdecodePkt36411View Report
Logic errorUninitialized argument valuelib/rpmfi.crpmfilesConfigConflict122423View Report
Logic errorUninitialized argument valuelib/rpmfi.crpmfilesDecideFate108520View Report
Memory ErrorUse-after-freerpmio/rpmio.cFclose140732View Report
Memory ErrorUse-after-freerpmio/rpmio.cfdPop9724View Report