perl-DB_File-1.859-511.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def2]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.c:2845:61: warning[core.NullDereference]: Dereference of null pointer
# 2843| #endif
# 2844| #line 2845 "DB_File.c"
# 2845|-> if (flagSet(flags, R_IAFTER) || flagSet(flags, R_IBEFORE)) OutputKey(ST(1), key);
# 2846| SvSETMAGIC(ST(1));
# 2847| XSprePUSH;
Error: CLANG_WARNING: [#def3]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.c:3175:17: warning[deadcode.DeadStores]: Value stored to 'file' during its initialization is never read
# 3173| char* file = __FILE__;
# 3174| #else
# 3175|-> const char* file = __FILE__;
# 3176| #endif
# 3177|
Error: CLANG_WARNING: [#def4]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1427:21: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
# 1425| if (flags & DB_FIXEDLEN) {
# 1426| fixed = TRUE ;
# 1427|-> flags &= ~DB_FIXEDLEN ;
# 1428| }
# 1429| }
Error: CLANG_WARNING: [#def5]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1433:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1431| svp = hv_fetch(action, "cachesize", 9, FALSE);
# 1432| if (svp) {
# 1433|-> status = dbp->set_cachesize(dbp, 0, my_SvUV32(*svp), 0) ;
# 1434| }
# 1435|
Error: CLANG_WARNING: [#def6]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1438:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1436| svp = hv_fetch(action, "psize", 5, FALSE);
# 1437| if (svp) {
# 1438|-> status = dbp->set_pagesize(dbp, my_SvUV32(*svp)) ;
# 1439| }
# 1440|
Error: CLANG_WARNING: [#def7]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1443:17: warning[deadcode.DeadStores]: Value stored to 'status' is never read
# 1441| svp = hv_fetch(action, "lorder", 6, FALSE);
# 1442| if (svp) {
# 1443|-> status = dbp->set_lorder(dbp, (int)SvIV(*svp)) ;
# 1444| }
# 1445|
Error: CLANG_WARNING: [#def8]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1564:10: warning[deadcode.DeadStores]: Value stored to 'sv_err' during its initialization is never read
# 1562| #endif
# 1563| #ifdef WANT_ERROR
# 1564|-> SV * sv_err = perl_get_sv(ERR_BUFF, GV_ADD|GV_ADDMULTI) ;
# 1565| #endif
# 1566| MY_CXT_INIT;
Error: CLANG_WARNING: [#def9]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1635:9: warning[deadcode.DeadStores]: Value stored to 'RETVAL' is never read
# 1633| #ifdef DB_VERSION_MAJOR
# 1634| if (RETVAL > 0)
# 1635|-> RETVAL = -1 ;
# 1636| #endif
# 1637|
Error: CLANG_WARNING: [#def10]
perl-DB_File-1.859-build/DB_File-1.859/DB_File.xs:1761:9: warning[deadcode.DeadStores]: Value stored to 'RETVAL' is never read
# 1759| #ifdef DB_VERSION_MAJOR
# 1760| /* get the first value */
# 1761|-> RETVAL = do_SEQ(db, key, value, DB_FIRST) ;
# 1762| RETVAL = 0 ;
# 1763| #else
Error: CPPCHECK_WARNING: [#def11]
perl-DB_File-1.859-build/DB_File-1.859/version.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-220.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | perl-DB_File-1.859-511.fc41 |
store-results-to | /tmp/tmp6gwiaqxo/perl-DB_File-1.859-511.fc41.tar.xz |
time-created | 2024-07-03 16:37:30 |
time-finished | 2024-07-03 16:38:26 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6gwiaqxo/perl-DB_File-1.859-511.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6gwiaqxo/perl-DB_File-1.859-511.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |