libdb-5.3.28-64.fc42
List of Findings
Error: COMPILER_WARNING (CWE-569): [#def1]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_open.c: scope_hint: In function ‘__bt_open’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_open.c:128:29: warning[-Wparentheses]: suggest parentheses around ‘-’ in operand of ‘&’
Error: COMPILER_WARNING (CWE-569): [#def2]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_open.c:248:29: warning[-Wparentheses]: suggest parentheses around ‘-’ in operand of ‘&’
Error: COMPILER_WARNING (CWE-569): [#def3]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_open.c:281:50: warning[-Wparentheses]: suggest parentheses around ‘-’ in operand of ‘&’
Error: COMPILER_WARNING (CWE-569): [#def4]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_open.c:282:56: warning[-Wparentheses]: suggest parentheses around ‘-’ in operand of ‘&’
Error: COMPILER_WARNING (CWE-691): [#def5]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_put.c: scope_hint: In function ‘__bt_put’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_put.c:226:12: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def6]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c: scope_hint: In function ‘__bt_seqadv’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c:323:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘index’
Error: COMPILER_WARNING (CWE-457): [#def7]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c:323:19: warning[-Wmaybe-uninitialized]: ‘index’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c: scope_hint: In function ‘__bt_seq’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c:247:16: note: ‘index’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c: scope_hint: In function ‘__bt_first’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c:394:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c:49: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_seq.c:363:21: note: in expansion of macro ‘F_ISSET’
Error: COMPILER_WARNING (CWE-457): [#def9]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:245:60: warning[-Wmaybe-uninitialized]: ‘nksize’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:97:30: note: ‘nksize’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def10]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:49: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:246:45: warning[-Wmaybe-uninitialized]: ‘bl’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:91:16: note: ‘bl’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def11]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c: scope_hint: In function ‘bt_psplit’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:676:33: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def12]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c: scope_hint: In function ‘bt_psplit’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_split.c:687:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘src’
Error: COMPILER_WARNING (CWE-457): [#def13]
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/btree.h:131:49: warning[-Wmaybe-uninitialized]: ‘index’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_delete.c: scope_hint: In function ‘__bt_delete’
libdb-5.3.28-build/db-5.3.28/db.1.85/btree/bt_delete.c:153:16: note: ‘index’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c: scope_hint: In function ‘hash_seq’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c:777:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
Error: COMPILER_WARNING (CWE-569): [#def15]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c: scope_hint: In function ‘hash_realloc’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c:871:13: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: GCC_ANALYZER_WARNING (CWE-131): [#def16]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c: scope_hint: In function ‘hash_realloc’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c:875:24: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c: scope_hint: In function ‘alloc_segs’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c:925:23: warning[-Wanalyzer-malloc-leak]: leak of ‘store’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c:55: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.c:919:45: note: in expansion of macro ‘SSHIFT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def18]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:71: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c: scope_hint: In function ‘overflow_page’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.h:154:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘freep’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:767:17: note: in expansion of macro ‘SETBIT’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:725:33: note: in expansion of macro ‘BSIZE’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:767:17: note: in expansion of macro ‘SETBIT’
Error: COMPILER_WARNING (CWE-457): [#def19]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash.h:154:29: warning[-Wmaybe-uninitialized]: ‘freep’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c: scope_hint: In function ‘__add_ovflpage’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:668:29: note: ‘freep’ was declared here
Error: COMPILER_WARNING (CWE-691): [#def20]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_bigkey.c: scope_hint: In function ‘__big_insert’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_bigkey.c:124:20: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: COMPILER_WARNING (CWE-569): [#def21]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_bigkey.c: scope_hint: In function ‘__big_split’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_bigkey.c:593:13: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-457): [#def22]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_buf.c: scope_hint: In function ‘__get_buf’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_buf.c:144:29: warning[-Wmaybe-uninitialized]: ‘segment_ndx’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_buf.c:113:31: note: ‘segment_ndx’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def23]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_buf.c:144:29: warning[-Wmaybe-uninitialized]: ‘segp’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_buf.c:114:17: note: ‘segp’ was declared here
Error: COMPILER_WARNING (CWE-1164): [#def24]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_func.c:69:1: warning[-Wunused-function]: ‘hash1’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def25]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_func.c:89:1: warning[-Wunused-function]: ‘hash2’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def26]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_func.c:118:1: warning[-Wunused-function]: ‘hash3’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-131): [#def27]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c: scope_hint: In function ‘__ibitmap’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:634:32: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: COMPILER_WARNING (CWE-252): [#def28]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c: scope_hint: In function ‘overflow_page’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:715:31: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def29]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:728:31: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def30]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:752:39: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def31]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c: scope_hint: In function ‘fetch_bitmap’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:914:31: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hash_page.c:914:60: note: in expansion of macro ‘BSIZE’
Error: COMPILER_WARNING (CWE-704): [#def32]
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hsearch.c: scope_hint: In function ‘hcreate’
libdb-5.3.28-build/db-5.3.28/db.1.85/hash/hsearch.c:65:17: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
libdb-5.3.28-build/db-5.3.28/db.1.85/mpool/mpool.c: scope_hint: In function ‘mpool_get’
libdb-5.3.28-build/db-5.3.28/db.1.85/mpool/mpool.c:315:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mpool_bkt(mp)’
libdb-5.3.28-build/db-5.3.28/db.1.85/mpool/mpool.c:402:25: note: in expansion of macro ‘HASHKEY’
libdb-5.3.28-build/db-5.3.28/db.1.85/mpool/mpool.c: scope_hint: In function ‘mpool_get’
Error: COMPILER_WARNING (CWE-691): [#def34]
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_close.c: scope_hint: In function ‘__rec_close’
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_close.c:82:12: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: COMPILER_WARNING (CWE-457): [#def35]
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_open.c: scope_hint: In function ‘__rec_open’
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_open.c:123:21: warning[-Wmaybe-uninitialized]: ‘rfd’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_open.c:66:13: note: ‘rfd’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_put.c: scope_hint: In function ‘__rec_put’
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_put.c:94:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: COMPILER_WARNING (CWE-563): [#def37]
libdb-5.3.28-build/db-5.3.28/db.1.85/recno/rec_seq.c:35:13: warning[-Wunused-variable]: ‘sccsid’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/pager.h:7: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/sqliteInt.h:650: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function ‘btreeCopyPages’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘in’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:934:25: note: in expansion of macro ‘DB_MULTIPLE_INIT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:988:33: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:988:33: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:952:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def39]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:64: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:934:25: note: in expansion of macro ‘DB_MULTIPLE_INIT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:64: note: read of 4 bytes from after the end of ‘bufIn’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:64: note: valid subscripts for ‘bufIn’ are ‘[0]’ to ‘[32767]’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def40]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:73: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:934:25: note: in expansion of macro ‘DB_MULTIPLE_INIT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:73: note: read of 4 bytes from after the end of ‘bufIn’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1932:73: note: valid subscripts for ‘bufIn’ are ‘[0]’ to ‘[32767]’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1939:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘in’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:934:25: note: in expansion of macro ‘DB_MULTIPLE_INIT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:936:25: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:988:33: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:988:33: note: in expansion of macro ‘DB_MULTIPLE_KEY_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db.h:1954:17: note: in expansion of macro ‘DB_MULTIPLE_KEY_RESERVE_NEXT’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:977:49: note: in expansion of macro ‘DB_MULTIPLE_KEY_WRITE_NEXT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def42]
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c: scope_hint: In function '__os_unlink'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:263:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '*env.dbenv'
libdb-5.3.28-build/db-5.3.28/src/dbinc/region.h:326:14: note: in expansion of macro 'F_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/region.h:329:13: note: in expansion of macro 'PANIC_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/os.h:106:9: note: in expansion of macro 'PANIC_CHECK'
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c:39:9: note: in expansion of macro 'LAST_PANIC_CHECK_BEFORE_IO'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1111: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/os.h:106:9: note: in expansion of macro 'PANIC_CHECK'
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c:39:9: note: in expansion of macro 'LAST_PANIC_CHECK_BEFORE_IO'
libdb-5.3.28-build/db-5.3.28/src/dbinc/os.h:106:9: note: in expansion of macro 'PANIC_CHECK'
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c:39:9: note: in expansion of macro 'LAST_PANIC_CHECK_BEFORE_IO'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:263:35: note: in definition of macro 'F_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/region.h:329:13: note: in expansion of macro 'PANIC_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/os.h:106:9: note: in expansion of macro 'PANIC_CHECK'
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c:39:9: note: in expansion of macro 'LAST_PANIC_CHECK_BEFORE_IO'
libdb-5.3.28-build/db-5.3.28/src/dbinc/region.h:326:14: note: in expansion of macro 'F_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/region.h:329:13: note: in expansion of macro 'PANIC_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/os.h:106:9: note: in expansion of macro 'PANIC_CHECK'
libdb-5.3.28-build/db-5.3.28/src/os/os_unlink.c:39:9: note: in expansion of macro 'LAST_PANIC_CHECK_BEFORE_IO'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c: scope_hint: In function '__env_close_pp'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:619:26: warning[-Wanalyzer-null-dereference]: dereference of NULL 'env'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:559:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:559:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:559:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:559:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:559:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:559:9: note: in expansion of macro 'ENV_ENTER'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c: scope_hint: In function '__os_physwrite'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:741:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'env'
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c:268:25: note: in expansion of macro 'DB_EVENT'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1108: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c:258:13: note: in expansion of macro 'DB_GLOBAL'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1111: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/os.h:106:9: note: in expansion of macro 'PANIC_CHECK'
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c:260:17: note: in expansion of macro 'LAST_PANIC_CHECK_BEFORE_IO'
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c:261:21: note: in expansion of macro 'DB_GLOBAL'
libdb-5.3.28-build/db-5.3.28/src/os/os_rw.c:268:25: note: in expansion of macro 'DB_EVENT'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def45]
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c: scope_hint: In function '__rep_check_applied'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1051:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'hist2.lsn.file'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:2837:21: note: in expansion of macro 'LOG_COMPARE'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:2900:9: note: in expansion of macro 'REP_SYSTEM_LOCK'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:2837:21: note: in expansion of macro 'LOG_COMPARE'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:2837:21: note: in expansion of macro 'LOG_COMPARE'
Error: COMPILER_WARNING (CWE-563): [#def46]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/sql/parse.c: scope_hint: In function 'sqlite3Parser'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/sql/parse.c:3709:7: warning[-Wunused-but-set-variable]: variable 'yyendofinput' set but not used
Error: COMPILER_WARNING (CWE-563): [#def47]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/sql/parse.c: scope_hint: In function ‘sqlite3Parser’
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/sql/parse.c:3709:7: warning[-Wunused-but-set-variable]: variable ‘yyendofinput’ set but not used
Error: COMPILER_WARNING: [#def48]
libdb-5.3.28-build/db-5.3.28/lang/db185/db185.c: scope_hint: At top level
libdb-5.3.28-build/db-5.3.28/lang/db185/db185.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING (CWE-1023): [#def49]
libdb-5.3.28-build/db-5.3.28/lang/db185/db185.c: scope_hint: In function '__db185_open'
libdb-5.3.28-build/db-5.3.28/lang/db185/db185.c:71:9: warning[-Wswitch]: case value '0' not in enumerated type 'DBTYPE'
Error: COMPILER_WARNING (CWE-563): [#def50]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function 'sqlite3_backup_init'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:148:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-563): [#def51]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function ‘sqlite3_backup_init’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:148:13: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: COMPILER_WARNING: [#def52]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function 'sqlite3_backup_init'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:194:9: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:194:37: note: length computed here
Error: COMPILER_WARNING: [#def53]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function ‘sqlite3_backup_init’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:194:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:194:37: note: length computed here
Error: COMPILER_WARNING: [#def54]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:195:9: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:195:39: note: length computed here
Error: COMPILER_WARNING: [#def55]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:195:9: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:195:39: note: length computed here
Error: COMPILER_WARNING: [#def56]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:204:17: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:204:48: note: length computed here
Error: COMPILER_WARNING: [#def57]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:204:17: warning[-Wstringop-truncation]: ‘strncpy’ specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:204:48: note: length computed here
Error: COMPILER_WARNING (CWE-563): [#def58]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function 'btreeDeleteEnvironment'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:323:27: warning[-Wunused-but-set-variable]: variable 'storage' set but not used
Error: COMPILER_WARNING (CWE-563): [#def59]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function ‘btreeDeleteEnvironment’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:323:27: warning[-Wunused-but-set-variable]: variable ‘storage’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def60]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function 'sqlite3_backup_step'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:565:19: warning[-Wunused-but-set-variable]: variable 'pBtDest' set but not used
Error: COMPILER_WARNING (CWE-563): [#def61]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c: scope_hint: In function ‘sqlite3_backup_step’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/backup.c:565:19: warning[-Wunused-but-set-variable]: variable ‘pBtDest’ set but not used
Error: COMPILER_WARNING (CWE-457): [#def62]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'btreeUpdateBtShared'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:1501:17: warning[-Wmaybe-uninitialized]: 'mutexOpen' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:1440:24: note: 'mutexOpen' was declared here
Error: COMPILER_WARNING (CWE-457): [#def63]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘btreeUpdateBtShared’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:1501:17: warning[-Wmaybe-uninitialized]: ‘mutexOpen’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:1440:24: note: ‘mutexOpen’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def64]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'btreeOpenEnvironment'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:1597:20: warning[-Wunused-but-set-variable]: variable 'cached_db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def65]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘btreeOpenEnvironment’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:1597:20: warning[-Wunused-but-set-variable]: variable ‘cached_db’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def66]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'sqlite3BtreeCommit'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:3052:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def67]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘sqlite3BtreeCommit’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:3052:19: warning[-Wunused-but-set-variable]: variable ‘pBt’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def68]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:3352: warning[uninitvar]: Uninitialized variable: *ppCachedDb
Error: COMPILER_WARNING (CWE-563): [#def69]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'btreeRestoreCursorPosition'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:4240:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def70]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘btreeRestoreCursorPosition’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:4240:19: warning[-Wunused-but-set-variable]: variable ‘pBt’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def71]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5394: warning[nullPointer]: Possible null pointer dereference: oldTableName
Error: COMPILER_WARNING (CWE-563): [#def72]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'sqlite3BtreeCheckpoint'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5739:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def73]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘sqlite3BtreeCheckpoint’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5739:19: warning[-Wunused-but-set-variable]: variable ‘pBt’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def74]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5936:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def75]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5936:19: warning[-Wunused-but-set-variable]: variable ‘pBt’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def76]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'btreeLockSchema'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5937:14: warning[-Wunused-but-set-variable]: variable 'oldCur' set but not used
Error: COMPILER_WARNING (CWE-563): [#def77]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘btreeLockSchema’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:5937:14: warning[-Wunused-but-set-variable]: variable ‘oldCur’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def78]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'sqlite3BtreeSavepoint'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:6454:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def79]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘sqlite3BtreeSavepoint’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:6454:19: warning[-Wunused-but-set-variable]: variable ‘pBt’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def80]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function 'btreeGetPageCount'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:6774:14: warning[-Wunused-but-set-variable]: variable 'dbc' set but not used
Error: COMPILER_WARNING (CWE-563): [#def81]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: In function ‘btreeGetPageCount’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:6774:14: warning[-Wunused-but-set-variable]: variable ‘dbc’ set but not used
Error: COMPILER_WARNING (CWE-1164): [#def82]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:7015:12: warning[-Wunused-function]: 'btreeCompressInt' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def83]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:7015:12: warning[-Wunused-function]: ‘btreeCompressInt’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def84]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: At top level
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:7170:12: warning[-Wunused-function]: 'btreeDecompressInt' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def85]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c: scope_hint: At top level
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/btree.c:7170:12: warning[-Wunused-function]: ‘btreeDecompressInt’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c: scope_hint: In function ‘supportsReplication’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:128:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:10: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:469:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: COMPILER_WARNING (CWE-563): [#def87]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c: scope_hint: In function ‘hasDatabaseConnections’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:138:13: warning[-Wunused-but-set-variable]: variable ‘ret’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c: scope_hint: In function ‘getHostPort’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:219:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘colonpos’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:469:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c: scope_hint: In function ‘bdbsqlPragma’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:399:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pBt’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:400:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pBt’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def91]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:405:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:409:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def93]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:418:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:429:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:433:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:439:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:460:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:498:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:469:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:516:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:469:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def100]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:526:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:469:20: note: in expansion of macro ‘sqlite3StrNICmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:548:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pDb’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:388:13: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:403:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:415:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:436:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:469:20: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:470:25: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:472:25: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:474:24: note: in expansion of macro ‘sqlite3StrNICmp’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:533:30: note: in expansion of macro ‘sqlite3StrNICmp’
Error: COMPILER_WARNING (CWE-457): [#def102]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:1187:12: warning[-Wmaybe-uninitialized]: ‘exists’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c: scope_hint: In function ‘setPersistentPragma’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:1528:29: note: ‘exists’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def103]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c: scope_hint: In function ‘setPersistentPragma’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_pragma.c:1590:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘exists’
Error: COMPILER_WARNING (CWE-563): [#def104]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c: scope_hint: In function 'db_seq_drop_func'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c:277:13: warning[-Wunused-but-set-variable]: variable 'mutex_held' set but not used
Error: COMPILER_WARNING (CWE-563): [#def105]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c: scope_hint: In function ‘db_seq_drop_func’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c:277:13: warning[-Wunused-but-set-variable]: variable ‘mutex_held’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def106]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c: scope_hint: In function 'btreeSeqGetVal'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c:362:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def107]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c: scope_hint: In function ‘btreeSeqGetVal’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c:362:19: warning[-Wunused-but-set-variable]: variable ‘pBt’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def108]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c: scope_hint: In function 'btreeSeqPutCookie'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c:838:18: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def109]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c: scope_hint: In function ‘btreeSeqPutCookie’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_sequence.c:838:18: warning[-Wunused-but-set-variable]: variable ‘db’ set but not used
Error: COMPILER_WARNING (CWE-457): [#def110]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_shell.c: scope_hint: In function ‘bdbSqlDbStatPrint’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_shell.c:123:16: warning[-Wmaybe-uninitialized]: ‘rc’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/db_shell.c:37:16: note: ‘rc’ was declared here
Error: COMPILER_WARNING (CWE-563): [#def111]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/pager.c: scope_hint: In function 'sqlite3PagerCheckpoint'
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/pager.c:150:13: warning[-Wunused-but-set-variable]: variable 'needUnlock' set but not used
Error: COMPILER_WARNING (CWE-563): [#def112]
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/pager.c: scope_hint: In function ‘sqlite3PagerCheckpoint’
libdb-5.3.28-build/db-5.3.28/lang/sql/adapter/pager.c:150:13: warning[-Wunused-but-set-variable]: variable ‘needUnlock’ set but not used
Error: COMPILER_WARNING: [#def113]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:7426:26: warning[-Wunused-const-variable=]: 'sqlite3one' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def114]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: At top level
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:7712:20: warning[-Wunused-function]: 'sqlite3BtreeCopyFile' declared 'static' but never defined
Error: COMPILER_WARNING (CWE-1164): [#def115]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:10672:22: warning[-Wunused-function]: 'sqlite3PageMalloc' declared 'static' but never defined
Error: COMPILER_WARNING (CWE-1164): [#def116]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:10673:21: warning[-Wunused-function]: 'sqlite3PageFree' declared 'static' but never defined
Error: COMPILER_WARNING (CWE-1164): [#def117]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:11109:21: warning[-Wunused-function]: 'sqlite3BackupRestart' declared 'static' but never defined
Error: COMPILER_WARNING (CWE-1164): [#def118]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:11110:21: warning[-Wunused-function]: 'sqlite3BackupUpdate' declared 'static' but never defined
Error: COMPILER_WARNING (CWE-1164): [#def119]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13765:20: warning[-Wunused-function]: 'sqlite3OsTruncate' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def120]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13772:20: warning[-Wunused-function]: 'sqlite3OsFileSize' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def121]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13783:20: warning[-Wunused-function]: 'sqlite3OsCheckReservedLock' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def122]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13790:20: warning[-Wunused-function]: 'sqlite3OsSectorSize' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def123]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13797:20: warning[-Wunused-function]: 'sqlite3OsShmLock' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def124]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13800:21: warning[-Wunused-function]: 'sqlite3OsShmBarrier' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def125]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13803:20: warning[-Wunused-function]: 'sqlite3OsShmUnmap' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def126]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:13806:20: warning[-Wunused-function]: 'sqlite3OsShmMap' defined but not used
Error: COMPILER_WARNING (CWE-457): [#def127]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:16265:5: warning[-Wmaybe-uninitialized]: 'mutexOpen' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeUpdateBtShared'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:36670:24: note: 'mutexOpen' was declared here
Error: COMPILER_WARNING (CWE-1164): [#def128]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:17655:20: warning[-Wunused-function]: 'sqlite3HeapNearlyFull' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def129]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:20944:20: warning[-Wunused-function]: 'sqlite3Get4byte' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def130]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:20947:21: warning[-Wunused-function]: 'sqlite3Put4byte' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def131]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'posixUnlock'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:25435:7: warning[-Wunused-but-set-variable]: variable 'h' set but not used
Error: COMPILER_WARNING (CWE-1164): [#def132]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:34901:20: warning[-Wunused-function]: 'sqlite3PagerIsMemdb' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def133]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:34902:20: warning[-Wunused-function]: 'sqlite3PagerJournalMode' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def134]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:34935:20: warning[-Wunused-function]: 'sqlite3PagerPagecount' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def135]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3PagerCheckpoint'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:35034:13: warning[-Wunused-but-set-variable]: variable 'needUnlock' set but not used
Error: COMPILER_WARNING (CWE-1164): [#def136]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:35193:20: warning[-Wunused-function]: 'sqlite3BtreeHoldsMutex' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def137]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:35199:20: warning[-Wunused-function]: 'sqlite3BtreeHoldsAllMutexes' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def138]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:35205:20: warning[-Wunused-function]: 'sqlite3SchemaMutexHeld' defined but not used
Error: COMPILER_WARNING (CWE-457): [#def139]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeUpdateBtShared'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:36731:17: warning[-Wmaybe-uninitialized]: 'mutexOpen' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:36670:24: note: 'mutexOpen' was declared here
Error: COMPILER_WARNING (CWE-563): [#def140]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeOpenEnvironment'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:36827:20: warning[-Wunused-but-set-variable]: variable 'cached_db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def141]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3BtreeCommit'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:38282:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def142]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeRestoreCursorPosition'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:39470:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def143]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3BtreeCheckpoint'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:40969:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def144]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:41166:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def145]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeLockSchema'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:41167:14: warning[-Wunused-but-set-variable]: variable 'oldCur' set but not used
Error: COMPILER_WARNING (CWE-1164): [#def146]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:41359:20: warning[-Wunused-function]: 'sqlite3BtreeGetReserve' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def147]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3BtreeSavepoint'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:41684:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def148]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeGetPageCount'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:42004:14: warning[-Wunused-but-set-variable]: variable 'dbc' set but not used
Error: COMPILER_WARNING (CWE-1164): [#def149]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:42245:12: warning[-Wunused-function]: 'btreeCompressInt' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def150]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:42400:12: warning[-Wunused-function]: 'btreeDecompressInt' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def151]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3_backup_init'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43292:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING: [#def152]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3_backup_init'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43338:9: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43338:37: note: length computed here
Error: COMPILER_WARNING: [#def153]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43339:9: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43339:39: note: length computed here
Error: COMPILER_WARNING: [#def154]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43348:17: warning[-Wstringop-truncation]: 'strncpy' specified bound depends on the length of the source argument
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43348:48: note: length computed here
Error: COMPILER_WARNING (CWE-563): [#def155]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeDeleteEnvironment'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43467:27: warning[-Wunused-but-set-variable]: variable 'storage' set but not used
Error: COMPILER_WARNING (CWE-563): [#def156]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3_backup_step'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:43709:19: warning[-Wunused-but-set-variable]: variable 'pBtDest' set but not used
Error: COMPILER_WARNING (CWE-563): [#def157]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'hasDatabaseConnections'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:44410:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-457): [#def158]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:45459:12: warning[-Wmaybe-uninitialized]: 'exists' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'setPersistentPragma'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:45800:29: note: 'exists' was declared here
Error: COMPILER_WARNING (CWE-563): [#def159]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'db_seq_drop_func'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:46170:13: warning[-Wunused-but-set-variable]: variable 'mutex_held' set but not used
Error: COMPILER_WARNING (CWE-563): [#def160]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeSeqGetVal'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:46255:19: warning[-Wunused-but-set-variable]: variable 'pBt' set but not used
Error: COMPILER_WARNING (CWE-563): [#def161]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'btreeSeqPutCookie'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:46731:18: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-457): [#def162]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'bdbSqlDbStatPrint'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:46936:16: warning[-Wmaybe-uninitialized]: 'rc' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:46850:16: note: 'rc' was declared here
Error: COMPILER_WARNING (CWE-1164): [#def163]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:60455:20: warning[-Wunused-function]: 'sqlite3IsMemJournal' defined but not used
Error: COMPILER_WARNING (CWE-697): [#def164]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3SrcListShiftJoinType'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:71243:9: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'a' will never be NULL
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:9956:5: note: 'a' declared here
Error: COMPILER_WARNING (CWE-563): [#def165]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3CommitTransaction'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:71282:12: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def166]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3RollbackTransaction'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:71302:12: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-562): [#def167]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3SelectNew'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:81096:10: warning[-Wreturn-local-addr]: function may return address of local variable
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:81066:10: note: declared here
Error: COMPILER_WARNING (CWE-563): [#def168]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'sqlite3Parser'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:97024:7: warning[-Wunused-but-set-variable]: variable 'yyendofinput' set but not used
Error: COMPILER_WARNING (CWE-1164): [#def169]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:99275:20: warning[-Wunused-function]: 'sqlite3InvokeBusyHandler' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def170]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:99841:20: warning[-Wunused-function]: 'sqlite3TempInMemory' defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def171]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:101220:21: warning[-Wunused-function]: 'sqlite3ConnectionBlocked' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def172]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'porter_stemmer'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107889:41: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def173]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107893:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def174]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107906:35: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def175]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107911:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def176]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107917:41: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def177]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107922:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def178]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107931:38: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def179]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107938:37: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def180]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:107981:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def181]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:108001:34: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-457): [#def182]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:113839:5: warning[-Wmaybe-uninitialized]: 'pParent' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'removeNode'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115543:14: note: 'pParent' was declared here
Error: COMPILER_WARNING (CWE-569): [#def183]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'deserializeGeometry'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:114396:34: warning[-Wbool-compare]: comparison of constant '4' with boolean expression is always false
Error: COMPILER_WARNING (CWE-783): [#def184]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:114396:34: warning[-Wlogical-not-parentheses]: logical not is only applied to the left hand side of comparison
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:114396:7: note: add parentheses around left hand side expression to silence this warning
Error: COMPILER_WARNING (CWE-563): [#def185]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'ChooseLeaf'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:114772:11: warning[-Wunused-but-set-variable]: variable 'fMinOverlap' set but not used
Error: COMPILER_WARNING (CWE-457): [#def186]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'ChooseLeaf'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:114834:10: warning[-Wmaybe-uninitialized]: 'iBest' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:114768:19: note: 'iBest' was declared here
Error: COMPILER_WARNING (CWE-457): [#def187]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115256:8: warning[-Wmaybe-uninitialized]: 'fBestOverlap' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'rtreeInsertCell'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115226:11: note: 'fBestOverlap' was declared here
Error: COMPILER_WARNING (CWE-457): [#def188]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115257:34: warning[-Wmaybe-uninitialized]: 'fBestArea' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'rtreeInsertCell'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115227:11: note: 'fBestArea' was declared here
Error: COMPILER_WARNING (CWE-457): [#def189]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115272:36: warning[-Wmaybe-uninitialized]: 'iBestDim' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'rtreeInsertCell'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115202:7: note: 'iBestDim' was declared here
Error: COMPILER_WARNING (CWE-457): [#def190]
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115273:47: warning[-Wmaybe-uninitialized]: 'iBestSplit' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c: scope_hint: In function 'rtreeInsertCell'
libdb-5.3.28-build/db-5.3.28/lang/sql/generated/sqlite3.c:115203:7: note: 'iBestSplit' was declared here
Error: CPPCHECK_WARNING (CWE-476): [#def191]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3.c:2827: warning[nullPointer]: Possible null pointer dereference: pBest
Error: COMPILER_WARNING (CWE-563): [#def192]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c: scope_hint: In function ‘porter_stemmer’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:407:41: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def193]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:411:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def194]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:424:35: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def195]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:429:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def196]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:435:41: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def197]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:440:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def198]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:449:38: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def199]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:456:37: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def200]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:499:39: warning[-Wunused-value]: value computed is not used
Error: COMPILER_WARNING (CWE-563): [#def201]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_porter.c:519:34: warning[-Wunused-value]: value computed is not used
Error: CPPCHECK_WARNING (CWE-476): [#def202]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_snippet.c:1007: error[ctunullpointer]: Null pointer dereference: pIter
Error: CPPCHECK_WARNING (CWE-476): [#def203]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_snippet.c:1007: warning[nullPointer]: Possible null pointer dereference: pIter
Error: GCC_ANALYZER_WARNING (CWE-476): [#def204]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_snippet.c: scope_hint: In function ‘fts3LcsIteratorAdvance’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_snippet.c:1007:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pIter’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def205]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_tokenizer.c: scope_hint: In function ‘sqlite3Fts3InitTokenizer’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_tokenizer.c:169:4: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘n’
Error: COMPILER_WARNING (CWE-563): [#def206]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_tokenizer.c: scope_hint: In function 'intTestFunc'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_tokenizer.c:401:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: CPPCHECK_WARNING (CWE-562): [#def207]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/fts3/fts3_write.c:1295: error[invalidLifetime]: Using pointer to local variable 'pE' that is out of scope.
Error: COMPILER_WARNING (CWE-457): [#def208]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:639:5: warning[-Wmaybe-uninitialized]: ‘pParent’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘removeNode’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2343:14: note: ‘pParent’ was declared here
Error: COMPILER_WARNING (CWE-569): [#def209]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘deserializeGeometry’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1196:34: warning[-Wbool-compare]: comparison of constant ‘4’ with boolean expression is always false
Error: COMPILER_WARNING (CWE-783): [#def210]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1196:34: warning[-Wlogical-not-parentheses]: logical not is only applied to the left hand side of comparison
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1196:7: note: add parentheses around left hand side expression to silence this warning
Error: GCC_ANALYZER_WARNING (CWE-121): [#def211]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘cellUnion.part.0’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1449:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1449:24: note: write of 4 bytes to beyond the end of ‘box’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def212]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1449:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1449:44: note: read of 4 bytes from after the end of ‘box’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def213]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1449:62: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:27: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:27: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1449:62: note: read of 4 bytes from after the end of ‘cell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:27: note: in definition of macro ‘MIN’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def214]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1450:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1450:26: note: write of 4 bytes to beyond the end of ‘box’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def215]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1450:48: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:21: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:21: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1450:48: note: read of 4 bytes from after the end of ‘box’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:21: note: in definition of macro ‘MAX’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def216]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1450:68: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:27: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:27: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1450:68: note: read of 4 bytes from after the end of ‘cell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:27: note: in definition of macro ‘MAX’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def217]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘cellUnion’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1454:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1454:24: note: write of 4 bytes to beyond the end of ‘box’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def218]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1454:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1454:44: note: read of 4 bytes from after the end of ‘box’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def219]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1454:62: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:27: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:27: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1454:62: note: read of 4 bytes from after the end of ‘cell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:27: note: in definition of macro ‘MIN’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def220]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1455:26: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1455:26: note: write of 4 bytes to beyond the end of ‘box’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def221]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1455:48: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:21: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:21: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1455:48: note: read of 4 bytes from after the end of ‘box’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:21: note: in definition of macro ‘MAX’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def222]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1455:68: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:27: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2394:17: note: in expansion of macro ‘NCELL’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:313:21: note: in definition of macro ‘MIN’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:27: note: in definition of macro ‘MAX’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1455:68: note: read of 4 bytes from after the end of ‘cell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:310:27: note: in definition of macro ‘MAX’
Error: COMPILER_WARNING (CWE-563): [#def223]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘ChooseLeaf’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1572:11: warning[-Wunused-but-set-variable]: variable ‘fMinOverlap’ set but not used
Error: CPPCHECK_WARNING (CWE-457): [#def224]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1634: warning[uninitvar]: Uninitialized variable: iBest
Error: COMPILER_WARNING (CWE-457): [#def225]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1634:10: warning[-Wmaybe-uninitialized]: ‘iBest’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:1568:19: note: ‘iBest’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def226]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2056:8: warning[-Wmaybe-uninitialized]: ‘fBestOverlap’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘rtreeInsertCell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2026:11: note: ‘fBestOverlap’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def227]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2057:34: warning[-Wmaybe-uninitialized]: ‘fBestArea’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘rtreeInsertCell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2027:11: note: ‘fBestArea’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def228]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2072: warning[uninitvar]: Uninitialized variable: iBestDim
Error: COMPILER_WARNING (CWE-457): [#def229]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2072:36: warning[-Wmaybe-uninitialized]: ‘iBestDim’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘rtreeInsertCell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2002:7: note: ‘iBestDim’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def230]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2073: warning[uninitvar]: Uninitialized variable: iBestSplit
Error: COMPILER_WARNING (CWE-457): [#def231]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2073:47: warning[-Wmaybe-uninitialized]: ‘iBestSplit’ may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘rtreeInsertCell’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2003:7: note: ‘iBestSplit’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def232]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2355: warning[uninitvar]: Uninitialized variables: pParent.pParent, pParent.iNode, pParent.nRef, pParent.isDirty, pParent.zData, pParent.pNext
Error: GCC_ANALYZER_WARNING (CWE-457): [#def233]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c: scope_hint: In function ‘removeNode’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/ext/rtree/rtree.c:2355:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pParent’
Error: COMPILER_WARNING (CWE-697): [#def234]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c: scope_hint: In function 'sqlite3SrcListShiftJoinType'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:3335:9: warning[-Waddress]: the comparison will always evaluate as 'true' for the address of 'a' will never be NULL
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:25: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/sqliteInt.h:1855:5: note: 'a' declared here
Error: COMPILER_WARNING (CWE-697): [#def235]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c: scope_hint: In function ‘sqlite3SrcListShiftJoinType’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:3335:9: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the address of ‘a’ will never be NULL
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:25: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/sqliteInt.h:1855:5: note: ‘a’ declared here
Error: COMPILER_WARNING (CWE-563): [#def236]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c: scope_hint: In function 'sqlite3CommitTransaction'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:3374:12: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def237]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c: scope_hint: In function ‘sqlite3CommitTransaction’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:3374:12: warning[-Wunused-but-set-variable]: variable ‘db’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def238]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c: scope_hint: In function 'sqlite3RollbackTransaction'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:3394:12: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def239]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c: scope_hint: In function ‘sqlite3RollbackTransaction’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/build.c:3394:12: warning[-Wunused-but-set-variable]: variable ‘db’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/callback.c: scope_hint: In function ‘synthCollSeq’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/callback.c:59:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/expr.c: scope_hint: In function ‘sqlite3ExprCodeTarget’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/expr.c:2562:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pFarg’
Error: CPPCHECK_WARNING (CWE-758): [#def242]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/fkey.c:737: warning[objectIndex]: The address of variable 'iCol' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-758): [#def243]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/fkey.c:738: warning[objectIndex]: The address of variable 'iCol' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/fkey.c: scope_hint: In function ‘fkActionTrigger’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/fkey.c:1101:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pStep’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/fkey.c:1105:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pStep’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def246]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/fkey.c:1109:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pStep’
Error: CPPCHECK_WARNING (CWE-758): [#def247]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/func.c:413: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-476): [#def248]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/insert.c: scope_hint: In function ‘xferOptimization’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/insert.c:1803:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pSrcIdx’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/insert.c:15: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/insert.c:1796:31: note: in expansion of macro ‘ALWAYS’
Error: CPPCHECK_WARNING (CWE-401): [#def249]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/mem1.c:94: error[memleakOnRealloc]: Common realloc mistake: 'p' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-131): [#def250]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/mem1.c: scope_hint: In function ‘sqlite3MemRealloc’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/mem1.c:94:7: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/memjournal.c: scope_hint: In function ‘memjrnlRead’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/memjournal.c:107:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pChunk’
Error: COMPILER_WARNING (CWE-563): [#def252]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/os_unix.c: scope_hint: In function 'posixUnlock'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/os_unix.c:1545:7: warning[-Wunused-but-set-variable]: variable 'h' set but not used
Error: COMPILER_WARNING (CWE-563): [#def253]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/os_unix.c: scope_hint: In function ‘posixUnlock’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/os_unix.c:1545:7: warning[-Wunused-but-set-variable]: variable ‘h’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-465): [#def254]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/resolve.c: scope_hint: In function ‘resolveSelectStep’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/resolve.c:962:10: warning[-Wanalyzer-deref-before-check]: check of ‘p’ for NULL after already dereferencing it
Error: COMPILER_WARNING (CWE-562): [#def255]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/select.c: scope_hint: In function ‘sqlite3SelectNew’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/select.c:93:10: warning[-Wreturn-local-addr]: function may return address of local variable
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/select.c:63:10: note: declared here
Error: CPPCHECK_WARNING (CWE-401): [#def256]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:352: error[memleakOnRealloc]: Common realloc mistake: 'zLine' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c: scope_hint: In function 'local_getline'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:353:9: warning[-Wanalyzer-malloc-leak]: leak of 'zLine'
Error: CPPCHECK_WARNING (CWE-401): [#def258]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:372: error[memleakOnRealloc]: Common realloc mistake: 'zLine' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:473:10: warning[-Wanalyzer-malloc-leak]: leak of 'find_home_dir()'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c: scope_hint: In function 'process_sqliterc'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c: scope_hint: In function 'process_sqliterc'
Error: COMPILER_WARNING (CWE-131): [#def260]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c: scope_hint: In function 'do_meta_command'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:1657:7: warning[-Wmemset-elt-size]: 'memset' used with length equal to number of elements without multiplication by element size
Error: COMPILER_WARNING (CWE-569): [#def261]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:2148:32: warning[-Wparentheses]: suggest parentheses around '&&' within '||'
Error: CPPCHECK_WARNING (CWE-823): [#def262]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/shell.c:2361: error[arrayIndexOutOfBounds]: Array 'azArg[50]' accessed at index 99, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-562): [#def263]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/table.c:175: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-401): [#def264]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c:960: error[memleakOnRealloc]: Common realloc mistake: 'zLine' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def265]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c:979: error[memleakOnRealloc]: Common realloc mistake: 'zLine' nulled but not freed upon failure
Error: COMPILER_WARNING (CWE-563): [#def266]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c: scope_hint: In function 'DbObjCmd'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c:2490:11: warning[-Wunused-but-set-variable]: variable 'pKey' set but not used
Error: COMPILER_WARNING (CWE-563): [#def267]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c: scope_hint: In function 'DbMain'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c:2859:9: warning[-Wunused-but-set-variable]: variable 'pKey' set but not used
Error: COMPILER_WARNING (CWE-805): [#def268]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c: scope_hint: In function 'MD5Final'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/tclsqlite.c:3327:30: warning[-Wsizeof-pointer-memaccess]: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it?
Error: COMPILER_WARNING (CWE-563): [#def269]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'test_key'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:669:7: warning[-Wunused-but-set-variable]: variable 'nKey' set but not used
Error: COMPILER_WARNING (CWE-563): [#def270]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'test_rekey'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:697:7: warning[-Wunused-but-set-variable]: variable 'nKey' set but not used
Error: COMPILER_WARNING (CWE-563): [#def271]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:2016:12: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def272]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:2019:9: warning[-Wunused-but-set-variable]: variable 'zFile' set but not used
Error: COMPILER_WARNING (CWE-563): [#def273]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'test_load_extension'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:2020:9: warning[-Wunused-but-set-variable]: variable 'zProc' set but not used
Error: COMPILER_WARNING (CWE-563): [#def274]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'test_enable_load'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:2072:12: warning[-Wunused-but-set-variable]: variable 'db' set but not used
Error: COMPILER_WARNING (CWE-563): [#def275]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'test_open'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:3804:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: COMPILER_WARNING (CWE-563): [#def276]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'test_open16'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:3833:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: CPPCHECK_WARNING (CWE-823): [#def277]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4298: error[arrayIndexOutOfBounds]: Array 'bigBuf[65536]' accessed at index 262143, which is out of bounds.
Error: COMPILER_WARNING: [#def278]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4298:45: warning[-Waggressive-loop-optimizations]: iteration 65536 invokes undefined behavior
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4298:13: note: within this loop
Error: CPPCHECK_WARNING (CWE-562): [#def279]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4299: error[danglingLifetime]: Non-local variable 'sqlite3_stack_baseline' will use pointer to local variable 'bigBuf'.
Error: COMPILER_WARNING: [#def280]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'prepStack'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4299:26: warning[-Wdangling-pointer=]: storing the address of local variable 'bigBuf' in 'sqlite3_stack_baseline'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4297:7: note: 'bigBuf' declared here
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4290:12: note: 'sqlite3_stack_baseline' declared here
Error: COMPILER_WARNING (CWE-563): [#def281]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'file_control_test'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4795:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: COMPILER_WARNING (CWE-563): [#def282]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'file_control_lockproxy_test'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:4943:15: warning[-Wunused-but-set-variable]: variable 'zPwd' set but not used
Error: COMPILER_WARNING (CWE-563): [#def283]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c: scope_hint: In function 'save_prng_state'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test1.c:5098:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: COMPILER_WARNING (CWE-563): [#def284]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test2.c:56:12: warning[-Wunused-variable]: 'test_pagesize' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def285]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test5.c: scope_hint: In function 'test_value_overhead'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test5.c:67:15: warning[-Wunused-but-set-variable]: variable 'zVal' set but not used
Error: CPPCHECK_WARNING (CWE-758): [#def286]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test8.c:899: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-252): [#def287]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_demovfs.c: scope_hint: In function 'demoFullPathname'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_demovfs.c:541:5: warning[-Wunused-result]: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result'
Error: COMPILER_WARNING (CWE-805): [#def288]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_init.c: scope_hint: In function 'init_wrapper_uninstall'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_init.c:217:29: warning[-Wsizeof-pointer-memaccess]: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to remove the addressof?
Error: COMPILER_WARNING (CWE-563): [#def289]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_journal.c: scope_hint: In function 'readJournalFile'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_journal.c:483:19: warning[-Wunused-variable]: unused variable 'cksum'
Error: COMPILER_WARNING (CWE-563): [#def290]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_journal.c: scope_hint: In function 'jtWrite'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_journal.c:553:11: warning[-Wunused-variable]: unused variable 'pgno'
Error: COMPILER_WARNING (CWE-563): [#def291]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_journal.c: scope_hint: In function 'jtTruncate'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_journal.c:581:9: warning[-Wunused-variable]: unused variable 'locking_page'
Error: COMPILER_WARNING (CWE-563): [#def292]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c: scope_hint: In function 'test_memdebug_settitle'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c:716:15: warning[-Wunused-but-set-variable]: variable 'zTitle' set but not used
Error: COMPILER_WARNING (CWE-563): [#def293]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c: scope_hint: In function 'test_config_lookaside'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c:1036:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: COMPILER_WARNING (CWE-563): [#def294]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c: scope_hint: In function 'test_config_heap'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c:1109:14: warning[-Wunused-but-set-variable]: variable 'szBuf' set but not used
Error: CPPCHECK_WARNING (CWE-401): [#def295]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c:1130: error[memleakOnRealloc]: Common realloc mistake: 'zBuf' nulled but not freed upon failure
Error: COMPILER_WARNING (CWE-704): [#def296]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c: scope_hint: In function 'test_dump_memsys3'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c:1196:11: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-704): [#def297]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c: scope_hint: In function 'Sqlitetest_malloc_Init'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_malloc.c:1433:20: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-563): [#def298]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_pcache.c: scope_hint: In function 'testpcacheCachesize'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_pcache.c:162:15: warning[-Wunused-variable]: unused variable 'p'
Error: COMPILER_WARNING (CWE-563): [#def299]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_thread.c:276:9: warning[-Wunused-but-set-variable]: variable 'pKey' set but not used
Error: COMPILER_WARNING (CWE-563): [#def300]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_thread.c:278:9: warning[-Wunused-variable]: unused variable 'zErrMsg'
Error: COMPILER_WARNING (CWE-563): [#def301]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_thread.c: scope_hint: In function 'sqlthread_open'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_thread.c:279:7: warning[-Wunused-but-set-variable]: variable 'rc' set but not used
Error: COMPILER_WARNING (CWE-704): [#def302]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_thread.c: scope_hint: In function 'sqlthread_id'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_thread.c:322:42: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING (CWE-457): [#def303]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_vfs.c: scope_hint: In function 'tvfsSync'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_vfs.c:440:5: warning[-Wmaybe-uninitialized]: 'zFlags' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/test_vfs.c:421:11: note: 'zFlags' was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def304]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/update.c: scope_hint: In function ‘sqlite3Update’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/update.c:257:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aRegIdx’
Error: COMPILER_WARNING (CWE-563): [#def305]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/utf.c:514:19: warning[-Wunused-but-set-variable]: variable 't' set but not used
Error: COMPILER_WARNING (CWE-563): [#def306]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/utf.c: scope_hint: In function 'sqlite3UtfSelfTest'
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/utf.c:517:7: warning[-Wunused-but-set-variable]: variable 'n' set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def307]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c: scope_hint: In function ‘sqlite3VdbeExec’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:900:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:924:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:947:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:960:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:973:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:4138:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def313]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:4424:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def314]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:4542:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pOut’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbe.c:585:3: note: in expansion of macro ‘CHECK_FOR_INTERRUPT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def315]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbeaux.c: scope_hint: In function ‘sqlite3VdbeIdxRowid’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbeaux.c:3064:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘v.u.i’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbeaux.c:17: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/sqliteInt.h:2909:35: note: in definition of macro ‘getVarint32’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbeaux.c:3035:9: note: in expansion of macro ‘getVarint32’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/sqliteInt.h:2909:35: note: in definition of macro ‘getVarint32’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vdbeaux.c:3044:9: note: in expansion of macro ‘getVarint32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c: scope_hint: In function ‘sqlite3VtabCallDestroy’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c:710:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c: scope_hint: In function ‘sqlite3VtabOverloadFunction’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c:878:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c: scope_hint: In function ‘sqlite3VtabOverloadFunction’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c:878:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pVtab’
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/src/vtab.c: scope_hint: In function ‘sqlite3VtabOverloadFunction’
Error: CPPCHECK_WARNING (CWE-404): [#def319]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/tool/lemon.c:2545: error[resourceLeak]: Resource leak: fp
Error: CPPCHECK_WARNING (CWE-404): [#def320]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/tool/lemon.c:2552: error[resourceLeak]: Resource leak: fp
Error: CPPCHECK_WARNING (CWE-401): [#def321]
libdb-5.3.28-build/db-5.3.28/lang/sql/sqlite/tool/lemon.c:3274: error[memleakOnRealloc]: Common realloc mistake: 'z' nulled but not freed upon failure
Error: COMPILER_WARNING: [#def322]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c: scope_hint: In function 'tcl_DbGetFlags'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c:3711:47: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def323]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c:3712:39: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def324]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c:3712:39: warning[-Wstringop-truncation]: '__strncat_chk' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def325]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c: scope_hint: In function 'tcl_DbGetOpenFlags'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c:3767:47: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def326]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c:3768:39: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def327]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c: scope_hint: In function 'db_Cmd'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db.c:3768:39: warning[-Wstringop-truncation]: '__strncat_chk' specified bound 512 equals destination size
Error: COMPILER_WARNING (CWE-252): [#def328]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c: scope_hint: In function 'Db_tcl_Init'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:95:15: warning[-Wunused-result]: ignoring return value of 'setuid' declared with attribute 'warn_unused_result'
Error: COMPILER_WARNING (CWE-252): [#def329]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:98:15: warning[-Wunused-result]: ignoring return value of 'setgid' declared with attribute 'warn_unused_result'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def330]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c: scope_hint: In function 'bdb_DbRename'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:3751:28: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbenv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def331]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c: scope_hint: In function 'bdb_DbVerify'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:4150:33: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbenv'
/usr/include/tcl.h:2424: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:13: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:4200:36: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbenv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def333]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:4278:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbenv'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def334]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:4280:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbenv'
Error: COMPILER_WARNING (CWE-805): [#def335]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c: scope_hint: In function 'tcl_db_malloc'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:4997:33: warning[-Wsizeof-pointer-memaccess]: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof?
Error: COMPILER_WARNING (CWE-805): [#def336]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c: scope_hint: In function 'tcl_db_realloc'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_db_pkg.c:5017:33: warning[-Wsizeof-pointer-memaccess]: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to remove the addressof?
Error: COMPILER_WARNING: [#def337]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c: scope_hint: In function 'env_GetFlags'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2867:47: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def338]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2868:39: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def339]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2868:39: warning[-Wstringop-truncation]: '__strncat_chk' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def340]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c: scope_hint: In function 'env_GetOpenFlag'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2933:47: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def341]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2934:39: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def342]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c: scope_hint: In function 'env_Cmd'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2934:39: warning[-Wstringop-truncation]: '__strncat_chk' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def343]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c: scope_hint: In function 'tcl_EnvGetEncryptFlags'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2985:47: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def344]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c: scope_hint: In function 'tcl_EnvGetEncryptFlags.part.0'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_env.c:2986:39: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c: scope_hint: In function '_SetMultiList'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:444:52: warning[-Wanalyzer-null-dereference]: dereference of NULL 'hsdbp'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:88: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:100:9: note: in expansion of macro 'LIST_FOREACH'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:85: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:417:9: note: in expansion of macro 'DB_MULTIPLE_INIT'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:431:33: note: in expansion of macro 'DB_MULTIPLE_KEY_NEXT'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:431:33: note: in expansion of macro 'DB_MULTIPLE_KEY_NEXT'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:431:33: note: in expansion of macro 'DB_MULTIPLE_KEY_NEXT'
Error: COMPILER_WARNING (CWE-563): [#def346]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c: scope_hint: In function '_GetFlagsList'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_internal.c:809:13: warning[-Wunused-but-set-variable]: variable 'result' set but not used
Error: GCC_ANALYZER_WARNING (CWE-688): [#def347]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_lock.c: scope_hint: In function '_LockPutInfo'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_lock.c:786:25: warning[-Wanalyzer-null-argument]: use of NULL 'otmp' where non-null expected
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:71: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_lock.c:11: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 2 of 'memcmp' must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c:16: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c: scope_hint: In function 'seq_Cmd'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c:159:69: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbip'
libdb-5.3.28-build/db-5.3.28/src/dbinc/tcl_db.h:188:37: note: in definition of macro 'NewStringObj'
/usr/include/tcl.h:2424: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c:14: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/tcl_db.h:188:37: note: in definition of macro 'NewStringObj'
libdb-5.3.28-build/db-5.3.28/src/dbinc/tcl_db.h:188:37: note: in definition of macro 'NewStringObj'
Error: COMPILER_WARNING: [#def349]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c: scope_hint: In function 'tcl_SeqGetFlags'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c:558:47: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def350]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c:559:39: warning[-Wstringop-overflow=]: 'strncat' specified bound 512 equals destination size
Error: COMPILER_WARNING: [#def351]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c: scope_hint: In function 'seq_Cmd'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_seq.c:559:39: warning[-Wstringop-truncation]: '__strncat_chk' specified bound 512 equals destination size
Error: GCC_ANALYZER_WARNING (CWE-674): [#def352]
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_txn.c: scope_hint: In function '_TxnInfoDelete'
libdb-5.3.28-build/db-5.3.28/lang/tcl/tcl_txn.c:44:25: warning[-Wanalyzer-infinite-recursion]: infinite recursion
Error: CPPCHECK_WARNING (CWE-682): [#def353]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:265: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def354]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:592: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def355]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:707: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def356]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:770: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def357]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1074: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def358]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1075: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def359]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1076: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def360]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1141: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def361]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1214: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def362]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1436: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def363]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1634: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def364]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1661: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def365]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1707: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def366]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compact.c:1748: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def367]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compress.c: scope_hint: In function '__bam_compress_set_dbt'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_compress.c:100:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 1 of '__builtin_memcpy' must be non-null
Error: CPPCHECK_WARNING (CWE-682): [#def368]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_cursor.c:287: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-563): [#def369]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_cursor.c: scope_hint: In function '__bamc_cmp'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_cursor.c:643:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: CPPCHECK_WARNING (CWE-682): [#def370]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_open.c:94: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def371]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_open.c:95: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def372]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:154: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def373]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:277: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def374]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:286: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def375]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:299: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c: scope_hint: In function '__bam_ritem_nolog'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:773:28: warning[-Wanalyzer-null-dereference]: dereference of NULL 'hdr'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:47: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:535:51: note: in expansion of macro 'P_INP'
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:796:23: note: in expansion of macro 'P_ENTRY'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:768:22: note: in expansion of macro 'GET_BINTERNAL'
Error: CPPCHECK_WARNING (CWE-457): [#def377]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:775: error[uninitvar]: Uninitialized variable: cnt
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:813:41: warning[-Wanalyzer-null-dereference]: dereference of NULL 'hdr'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:46: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:185:12: note: in definition of macro 'DB_ALIGN'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:777:41: note: in expansion of macro 'BINTERNAL_SIZE'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_put.c:811:13: note: in expansion of macro 'TYPE'
Error: CPPCHECK_WARNING (CWE-682): [#def379]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_rec.c:1784: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def380]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_rec.c:1874: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-563): [#def381]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_recno.c: scope_hint: In function '__ram_ca'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_recno.c:903:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def382]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_recno.c: scope_hint: In function '__ram_source'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_recno.c:1072:12: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(source, "rb")'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_recno.c:1072:12: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(source, "rb")'
Error: CPPCHECK_WARNING (CWE-682): [#def384]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:142: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def385]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:520: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def386]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:526: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def387]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:875: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def388]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:977: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def389]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:994: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def390]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:1032: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-457): [#def391]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_split.c:1363: error[uninitvar]: Uninitialized variable: &internal.unused
Error: CPPCHECK_WARNING (CWE-682): [#def392]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_stat.c:354: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def393]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_stat.c:378: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def394]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_stat.c:406: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def395]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_stat.c:411: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def396]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_stat.c:424: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def397]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_stat.c:428: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def398]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c:70: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def399]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c:73: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-465): [#def400]
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c: scope_hint: In function '__bam_meta2pgset'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c:2767:20: warning[-Wanalyzer-deref-before-check]: check of 'h' for NULL after already dereferencing it
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c:12: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c:2731:25: note: in expansion of macro 'TYPE'
libdb-5.3.28-build/db-5.3.28/src/btree/bt_verify.c:2731:25: note: in expansion of macro 'TYPE'
Error: CPPCHECK_WARNING (CWE-682): [#def401]
libdb-5.3.28-build/db-5.3.28/src/crypto/crypto.c:328: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
libdb-5.3.28-build/db-5.3.28/src/db/db.c: scope_hint: In function '__db_refresh'
libdb-5.3.28-build/db-5.3.28/src/db/db.c:957:43: warning[-Wanalyzer-null-dereference]: dereference of NULL 'renv'
libdb-5.3.28-build/db-5.3.28/src/db/db.c:43: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/db/db.c:956:21: note: in expansion of macro 'F_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/rep.h:544:10: note: in expansion of macro 'REP_ON'
libdb-5.3.28-build/db-5.3.28/src/db/db.c:956:52: note: in expansion of macro 'IS_REP_CLIENT'
Error: CPPCHECK_WARNING (CWE-457): [#def403]
libdb-5.3.28-build/db-5.3.28/src/db/db_cam.c:610: warning[uninitvar]: Uninitialized variable: *dbcp
Error: COMPILER_WARNING (CWE-563): [#def404]
libdb-5.3.28-build/db-5.3.28/src/db/db_cam.c: scope_hint: In function '__dbc_put_resolve_key'
libdb-5.3.28-build/db-5.3.28/src/db/db_cam.c:1197:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: COMPILER_WARNING (CWE-563): [#def405]
libdb-5.3.28-build/db-5.3.28/src/db/db_cam.c: scope_hint: In function '__dbc_put_partial'
libdb-5.3.28-build/db-5.3.28/src/db/db_cam.c:1335:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: COMPILER_WARNING (CWE-563): [#def406]
libdb-5.3.28-build/db-5.3.28/src/db/db_compact.c: scope_hint: In function '__db_exchange_page'
libdb-5.3.28-build/db-5.3.28/src/db/db_compact.c:421:19: warning[-Wunused-but-set-variable]: variable 'oldpgno' set but not used
Error: CPPCHECK_WARNING (CWE-682): [#def407]
libdb-5.3.28-build/db-5.3.28/src/db/db_compact.c:472: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def408]
libdb-5.3.28-build/db-5.3.28/src/db/db_compact.c:477: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def409]
libdb-5.3.28-build/db-5.3.28/src/db/db_conv.c:326: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def410]
libdb-5.3.28-build/db-5.3.28/src/db/db_conv.c:388: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def411]
libdb-5.3.28-build/db-5.3.28/src/db/db_dup.c:129: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-563): [#def412]
libdb-5.3.28-build/db-5.3.28/src/db/db_meta.c: scope_hint: In function '__db_new'
libdb-5.3.28-build/db-5.3.28/src/db/db_meta.c:109:19: warning[-Wunused-but-set-variable]: variable 'last' set but not used
Error: CPPCHECK_WARNING (CWE-682): [#def413]
libdb-5.3.28-build/db-5.3.28/src/db/db_meta.c:446: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def414]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:159: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def415]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:181: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-563): [#def416]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c: scope_hint: In function '__db_poff'
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:236:30: warning[-Wunused-but-set-variable]: variable 'tlen' set but not used
Error: CPPCHECK_WARNING (CWE-682): [#def417]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:248: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def418]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:287: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def419]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:334: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def420]
libdb-5.3.28-build/db-5.3.28/src/db/db_overflow.c:464: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def421]
libdb-5.3.28-build/db-5.3.28/src/db/db_ovfl_vrfy.c:366: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def422]
libdb-5.3.28-build/db-5.3.28/src/db/db_ovfl_vrfy.c:369: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def423]
libdb-5.3.28-build/db-5.3.28/src/db/db_ovfl_vrfy.c:370: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def424]
libdb-5.3.28-build/db-5.3.28/src/db/db_pr.c:798: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def425]
libdb-5.3.28-build/db-5.3.28/src/db/db_pr.c:820: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def426]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:224: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def427]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:240: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def428]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:248: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def429]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:380: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def430]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:396: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def431]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:404: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def432]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c: scope_hint: In function '__db_pg_free_recover_int'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:898:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'prevp'
libdb-5.3.28-build/db-5.3.28/src/dbinc/btree.h:552: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:17: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:870:9: note: in expansion of macro 'REC_FGET'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:875:17: note: in expansion of macro 'LOG_COMPARE'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:885:17: note: in expansion of macro 'REC_DIRTY'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:885:17: note: in expansion of macro 'REC_DIRTY'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:908:42: warning[-Wanalyzer-null-dereference]: dereference of NULL 'prevp'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:870:9: note: in expansion of macro 'REC_FGET'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:875:17: note: in expansion of macro 'LOG_COMPARE'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:902:17: note: in expansion of macro 'REC_DIRTY'
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:902:17: note: in expansion of macro 'REC_DIRTY'
Error: CPPCHECK_WARNING (CWE-682): [#def434]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:2423: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def435]
libdb-5.3.28-build/db-5.3.28/src/db/db_rec.c:2572: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def436]
libdb-5.3.28-build/db-5.3.28/src/db/db_reclaim.c:215: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def437]
libdb-5.3.28-build/db-5.3.28/src/db/db_upg_opd.c:214: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def438]
libdb-5.3.28-build/db-5.3.28/src/db/db_upg_opd.c:240: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def439]
libdb-5.3.28-build/db-5.3.28/src/db/db_upg_opd.c:258: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def440]
libdb-5.3.28-build/db-5.3.28/src/db/db_upg_opd.c:308: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def441]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c:12: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c: scope_hint: In function '__ham_traverse'
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:317:37: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c:441:29: note: in expansion of macro 'TYPE'
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:317:35: note: in definition of macro 'TYPE'
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:317:35: note: in definition of macro 'TYPE'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c:441:29: note: in expansion of macro 'TYPE'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def442]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1117: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c: scope_hint: In function '__repmgr_send_internal'
libdb-5.3.28-build/db-5.3.28/src/dbinc/rep.h:166:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'total_written'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1115: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/repmgr.h:219:36: note: in definition of macro 'REPMGR_IOVECS_ALLOC_SZ'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c: scope_hint: In function '__env_close'
libdb-5.3.28-build/db-5.3.28/src/env/env_open.c:639:24: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbp'
Error: COMPILER_WARNING: [#def444]
libdb-5.3.28-build/db-5.3.28/src/env/env_recover.c:22:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def445]
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c: scope_hint: In function '__hamc_cmp'
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:346:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def446]
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c: scope_hint: In function '__ham_expand_table'
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:1384:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:50: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:1283:9: note: in expansion of macro 'LOCK_INIT'
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:46: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:1323:21: note: in expansion of macro 'F_ISSET'
Error: CPPCHECK_WARNING (CWE-682): [#def447]
libdb-5.3.28-build/db-5.3.28/src/hash/hash.c:1923: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def448]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_compact.c:330: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-465): [#def449]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_compact.c: scope_hint: In function '__ham_copy_data'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_compact.c:356:20: warning[-Wanalyzer-deref-before-check]: check of 'nextpage' for NULL after already dereferencing it
libdb-5.3.28-build/db-5.3.28/src/hash/hash_compact.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/hash/hash_compact.c:320:29: note: in expansion of macro 'PGNO'
Error: CPPCHECK_WARNING (CWE-682): [#def450]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_dup.c:130: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def451]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_dup.c:504: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def452]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_dup.c:508: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def453]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_dup.c:536: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def454]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:102: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def455]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1476: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def456]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1514: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def457]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1871: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def458]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c: scope_hint: In function '__ham_merge_pages'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1967:36: warning[-Wanalyzer-null-dereference]: dereference of NULL 'prev_pagep'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:55: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/hash.h:107:22: note: in definition of macro 'BS_TO_PAGE'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1835:21: note: in expansion of macro 'BUCKET_TO_PAGE'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:54: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1964:21: note: in expansion of macro 'NEXT_PGNO'
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:53: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:1966:21: note: in expansion of macro 'DBC_LOGGING'
Error: CPPCHECK_WARNING (CWE-682): [#def459]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:2023: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def460]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:2263: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def461]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:2515: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def462]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:2525: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def463]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_page.c:2549: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def464]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c:250: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def465]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c:253: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def466]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_stat.c:302: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-758): [#def467]
libdb-5.3.28-build/db-5.3.28/src/hash/hash_verify.c:158: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-457): [#def468]
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c: scope_hint: In function '__heap_bulk'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:285:18: warning[-Wmaybe-uninitialized]: 'prev_rid.indx' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:134:21: note: 'prev_rid.indx' was declared here
Error: COMPILER_WARNING (CWE-457): [#def469]
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:286:18: warning[-Wmaybe-uninitialized]: 'prev_rid.pgno' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:134:21: note: 'prev_rid.pgno' was declared here
Error: COMPILER_WARNING (CWE-563): [#def470]
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c: scope_hint: In function '__heapc_close'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:299:23: warning[-Wunused-but-set-variable]: variable 'mpf' set but not used
Error: COMPILER_WARNING (CWE-563): [#def471]
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c: scope_hint: In function '__heapc_get'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:540:15: warning[-Wunused-but-set-variable]: variable 'h' set but not used
Error: COMPILER_WARNING (CWE-563): [#def472]
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c: scope_hint: In function '__heap_getpage'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1826:31: warning[-Wunused-but-set-variable]: variable 'lkd_pgs' set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c: scope_hint: In function '__heap_append'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:2224:14: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:59:9: note: in expansion of macro 'ACQUIRE'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1912:17: note: in expansion of macro 'ACQUIRE_CUR'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1912:17: note: in expansion of macro 'ACQUIRE_CUR'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1944:17: note: in expansion of macro 'DISCARD'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1944:17: note: in expansion of macro 'DISCARD'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1944:17: note: in expansion of macro 'DISCARD'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1944:17: note: in expansion of macro 'DISCARD'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1944:17: note: in expansion of macro 'DISCARD'
libdb-5.3.28-build/db-5.3.28/src/dbinc/btree.h:552: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:13: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_am.h:178:9: note: in expansion of macro '__ENV_LPUT'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:82:27: note: in expansion of macro '__LPUT'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:1944:17: note: in expansion of macro 'DISCARD'
libdb-5.3.28-build/db-5.3.28/src/heap/heap.c:12: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:451:45: note: in definition of macro 'HEAP_FREEINDX'
libdb-5.3.28-build/db-5.3.28/src/dbinc/db_page.h:451:45: note: in definition of macro 'HEAP_FREEINDX'
Error: COMPILER_WARNING (CWE-563): [#def474]
libdb-5.3.28-build/db-5.3.28/src/heap/heap_method.c: scope_hint: In function '__heap_db_close'
libdb-5.3.28-build/db-5.3.28/src/heap/heap_method.c:52:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-563): [#def475]
libdb-5.3.28-build/db-5.3.28/src/heap/heap_stat.c: scope_hint: In function '__heap_stat'
libdb-5.3.28-build/db-5.3.28/src/heap/heap_stat.c:32:17: warning[-Wunused-but-set-variable]: variable 'lock' set but not used
Error: COMPILER_WARNING (CWE-569): [#def476]
libdb-5.3.28-build/db-5.3.28/src/lock/lock.c:495: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/lock/lock_alloc.incl: scope_hint: In function '__lock_alloclock'
libdb-5.3.28-build/db-5.3.28/src/lock/lock_alloc.incl:111:48: warning[-Wtautological-compare]: self-comparison always evaluates to true
Error: GCC_ANALYZER_WARNING (CWE-672): [#def477]
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c: scope_hint: In function '__log_printf_capi'
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:44:9: warning[-Wanalyzer-va-list-use-after-va-end]: 'va_end' after 'va_end'
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:73:9: note: in expansion of macro 'ENV_REQUIRES_CONFIG'
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:76:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:76:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/dbinc/rep.h:571:10: note: in expansion of macro 'REP_ON'
libdb-5.3.28-build/db-5.3.28/src/dbinc/rep.h:617:23: note: in expansion of macro 'IS_ENV_REPLICATED'
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:77:9: note: in expansion of macro 'REPLICATION_WRAP'
libdb-5.3.28-build/db-5.3.28/src/log/log_debug.c:79:9: note: in expansion of macro 'ENV_LEAVE'
Error: CPPCHECK_WARNING (CWE-457): [#def478]
libdb-5.3.28-build/db-5.3.28/src/log/log_put.c:1826: error[legacyUninitvar]: Uninitialized variable: *(&lsnp)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def479]
libdb-5.3.28-build/db-5.3.28/src/log/log_put.c: scope_hint: In function '__log_put_record_int'
libdb-5.3.28-build/db-5.3.28/src/log/log_put.c:1966:51: warning[-Wanalyzer-null-dereference]: dereference of NULL 'header'
libdb-5.3.28-build/db-5.3.28/src/log/log_put.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/log/log_put.c:1964:37: note: in expansion of macro 'F_ISSET'
Error: COMPILER_WARNING (CWE-563): [#def480]
libdb-5.3.28-build/db-5.3.28/src/log/log_verify_int.c: scope_hint: In function '__lv_on_new_txn'
libdb-5.3.28-build/db-5.3.28/src/log/log_verify_int.c:4126:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def481]
libdb-5.3.28-build/db-5.3.28/src/log/log_verify_util.c:819: warning[nullPointer]: Possible null pointer dereference: retk
Error: GCC_ANALYZER_WARNING (CWE-476): [#def482]
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c: scope_hint: In function '__memp_pg'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c:512:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'dbmfp'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c:474:13: note: in expansion of macro 'F_ISSET'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1113: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c:707:13: note: in expansion of macro 'F_ISSET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex_int.h:12: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:15: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c: scope_hint: In function '__memp_pg'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mp.h:542:33: note: in expansion of macro 'atomic_read'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c:481:34: note: in expansion of macro 'BH_REFCOUNT'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_bh.c:482:21: note: in expansion of macro 'F_ISSET'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1113: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/mp/mp_method.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/mp/mp_method.c: scope_hint: In function '__memp_nameop'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_method.c:704:36: warning[-Wanalyzer-null-dereference]: dereference of NULL 'nhp'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
Error: COMPILER_WARNING (CWE-563): [#def484]
libdb-5.3.28-build/db-5.3.28/src/mp/mp_resize.c: scope_hint: In function '__memp_add_bucket'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_resize.c:332:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: COMPILER_WARNING (CWE-563): [#def485]
libdb-5.3.28-build/db-5.3.28/src/mp/mp_resize.c: scope_hint: In function '__memp_remove_bucket'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_resize.c:404:14: warning[-Wunused-but-set-variable]: variable 'env' set but not used
Error: COMPILER_WARNING (CWE-563): [#def486]
libdb-5.3.28-build/db-5.3.28/src/mp/mp_trickle.c:53:16: warning[-Wunused-variable]: unused variable 'c_mp'
Error: COMPILER_WARNING (CWE-563): [#def487]
libdb-5.3.28-build/db-5.3.28/src/mp/mp_trickle.c:54:33: warning[-Wunused-variable]: unused variable 'i'
Error: COMPILER_WARNING (CWE-563): [#def488]
libdb-5.3.28-build/db-5.3.28/src/mp/mp_trickle.c: scope_hint: In function '__memp_trickle'
libdb-5.3.28-build/db-5.3.28/src/mp/mp_trickle.c:54:55: warning[-Wunused-variable]: unused variable 'dtmp'
Error: COMPILER_WARNING (CWE-691): [#def489]
libdb-5.3.28-build/db-5.3.28/src/mutex/mut_region.c: scope_hint: In function '__mutex_region_max'
libdb-5.3.28-build/db-5.3.28/src/mutex/mut_region.c:386:12: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous 'else'
Error: CPPCHECK_WARNING (CWE-476): [#def490]
libdb-5.3.28-build/db-5.3.28/src/qam/qam.c:1664: error[ctunullpointer]: Null pointer dereference: key
Error: CPPCHECK_WARNING (CWE-457): [#def491]
libdb-5.3.28-build/db-5.3.28/src/qam/qam_verify.c:340: error[uninitvar]: Uninitialized variables: &fakedb.pgsize, &fakedb.priority, &fakedb.db_append_recno, &fakedb.db_feedback, &fakedb.dup_compare, &fakedb.app_private, &fakedb.dbenv, &fakedb.env, &fakedb.type, &fakedb.mpf, &fakedb.mutex, &fakedb.fname, &fakedb.dname, &fakedb.dirname, &fakedb.open_flags, &fakedb.adj_fileid, &fakedb.log_filename, &fakedb.meta_pgno, &fakedb.locker, &fakedb.cur_locker, &fakedb.cur_txn, &fakedb.associate_locker, &fakedb.handle_lock, &fakedb.timestamp, &fakedb.fid_gen, &fakedb.my_rskey, &fakedb.my_rk [...]
libdb-5.3.28-build/db-5.3.28/src/qam/qam_verify.c:340: note: trimmed 1 message(s) with length over 512
Error: COMPILER_WARNING (CWE-457): [#def492]
libdb-5.3.28-build/db-5.3.28/src/rep/rep_backup.c: scope_hint: In function '__rep_reset_init'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_backup.c:3264:20: warning[-Wmaybe-uninitialized]: 'dbtvers' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/src/rep/rep_backup.c:3169:19: note: 'dbtvers' was declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
libdb-5.3.28-build/db-5.3.28/src/rep/rep_lease.c: scope_hint: In function '__rep_lease_grant'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_lease.c:215:15: warning[-Wanalyzer-null-dereference]: dereference of NULL 'le'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1109: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/rep/rep_lease.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/clock.h:102:42: note: in definition of macro 'timespecset'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1113: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c: scope_hint: In function '__rep_start_int'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:480:28: warning[-Wanalyzer-null-dereference]: dereference of NULL 'rep'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/dbinc/rep.h:552:10: note: in expansion of macro 'REP_ON'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:471:13: note: in expansion of macro 'IS_USING_LEASES'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:477:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:477:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:477:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:477:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_method.c:477:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
libdb-5.3.28-build/db-5.3.28/src/dbinc/mutex.h:208:14: note: in definition of macro 'MUTEX_LOCK'
Error: COMPILER_WARNING (CWE-563): [#def495]
libdb-5.3.28-build/db-5.3.28/src/rep/rep_util.c: scope_hint: In function '__rep_lockout_int'
libdb-5.3.28-build/db-5.3.28/src/rep/rep_util.c:1557:18: warning[-Wunused-but-set-variable]: variable 'wait_cnt' set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_method.c: scope_hint: In function 'set_local_site'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_method.c:2940:29: warning[-Wanalyzer-null-dereference]: dereference of NULL 'db_rep'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def497]
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1115: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_method.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_method.c:2944:39: warning[-Wanalyzer-null-dereference]: dereference of NULL 'db_rep'
libdb-5.3.28-build/db-5.3.28/src/dbinc/repmgr.h:484:35: note: in definition of macro 'IS_VALID_EID'
libdb-5.3.28-build/db-5.3.28/src/dbinc/repmgr.h:484:35: note: in definition of macro 'IS_VALID_EID'
libdb-5.3.28-build/db-5.3.28/src/dbinc/repmgr.h:484:35: note: in definition of macro 'IS_VALID_EID'
Error: COMPILER_WARNING (CWE-563): [#def498]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c: scope_hint: In function 'dispatch_app_message'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c:190:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-563): [#def499]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c: scope_hint: In function 'reject_fwd'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c:1563:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-563): [#def500]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c: scope_hint: In function 'marshal_site_key'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c:1607:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-563): [#def501]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c: scope_hint: In function '__repmgr_set_sites'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_msg.c:1643:13: warning[-Wunused-but-set-variable]: variable 'ret' set but not used
Error: COMPILER_WARNING (CWE-457): [#def502]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:184:20: warning[-Wmaybe-uninitialized]: 'sock' may be used uninitialized
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c: scope_hint: In function '__repmgr_connect'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:104:18: note: 'sock' was declared here
Error: COMPILER_WARNING (CWE-563): [#def503]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c: scope_hint: In function 'send_connection'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:797:17: warning[-Wunused-but-set-variable]: variable 'db_rep' set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def504]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1040:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'total_written'
libdb-5.3.28-build/db-5.3.28/src/dbinc/repmgr.h:219:36: note: in definition of macro 'REPMGR_IOVECS_ALLOC_SZ'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_net.c:1032:9: note: in expansion of macro 'VPRINT'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def505]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_stat.c: scope_hint: In function '__repmgr_site_list'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_stat.c:291:58: warning[-Wanalyzer-null-dereference]: dereference of NULL 'db_rep'
Error: COMPILER_WARNING (CWE-563): [#def506]
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_util.c: scope_hint: In function 'read_gmdb'
libdb-5.3.28-build/db-5.3.28/src/repmgr/repmgr_util.c:1404:15: warning[-Wunused-but-set-variable]: variable 'host' set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def507]
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:12: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c: scope_hint: In function '__seq_print_stats'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:198:36: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'sp'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:281:17: note: in definition of macro 'DB_PCT'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:14: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:132:9: note: in expansion of macro 'SEQ_ILLEGAL_BEFORE_OPEN'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:134:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:134:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:629:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:134:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:134:9: note: in expansion of macro 'ENV_ENTER'
libdb-5.3.28-build/db-5.3.28/src/dbinc/rep.h:571:10: note: in expansion of macro 'REP_ON'
libdb-5.3.28-build/db-5.3.28/src/sequence/seq_stat.c:137:24: note: in expansion of macro 'IS_ENV_REPLICATED'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:281:17: note: in definition of macro 'DB_PCT'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:281:17: note: in definition of macro 'DB_PCT'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def508]
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c: scope_hint: In function '__xa_get_txn'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:133:44: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1110: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:11: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:95:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:95:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:96:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:96:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:117:21: note: in expansion of macro 'LF_ISSET'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:89: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:332:14: note: in definition of macro 'SH_TAILQ_INSERT_HEAD'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:332:14: note: in definition of macro 'SH_TAILQ_INSERT_HEAD'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def509]
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:176:52: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:95:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:95:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:96:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:96:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:253:11: note: in definition of macro 'SH_TAILQ_EMPTY'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:317:22: note: in expansion of macro 'SH_TAILQ_FIRST'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:151:17: note: in expansion of macro 'SH_TAILQ_FOREACH'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:253:11: note: in definition of macro 'SH_TAILQ_EMPTY'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:317:22: note: in expansion of macro 'SH_TAILQ_FIRST'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:151:17: note: in expansion of macro 'SH_TAILQ_FOREACH'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:317:22: note: in expansion of macro 'SH_TAILQ_FIRST'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:151:17: note: in expansion of macro 'SH_TAILQ_FOREACH'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:169:36: note: in expansion of macro 'LF_ISSET'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def510]
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:202:52: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:95:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:95:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:96:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:96:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:253:11: note: in definition of macro 'SH_TAILQ_EMPTY'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:317:22: note: in expansion of macro 'SH_TAILQ_FIRST'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:151:17: note: in expansion of macro 'SH_TAILQ_FOREACH'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:253:11: note: in definition of macro 'SH_TAILQ_EMPTY'
libdb-5.3.28-build/db-5.3.28/src/dbinc/shqueue.h:317:22: note: in expansion of macro 'SH_TAILQ_FIRST'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:151:17: note: in expansion of macro 'SH_TAILQ_FOREACH'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:151:17: note: in expansion of macro 'SH_TAILQ_FOREACH'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:189:29: note: in expansion of macro 'LF_ISSET'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def511]
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c: scope_hint: In function '__xa_thread_enter'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:253:36: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:250:9: note: in expansion of macro 'COMPQUIET'
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:1111: included_from: Included from here.
libdb-5.3.28-build/db-5.3.28/dist/dist-tls/db_int.h:617:9: note: in expansion of macro 'PANIC_CHECK_RET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:251:9: note: in expansion of macro 'ENV_ENTER_RET'
libdb-5.3.28-build/db-5.3.28/src/xa/xa.c:251:9: note: in expansion of macro 'ENV_ENTER_RET'
Error: COMPILER_WARNING: [#def512]
libdb-5.3.28-build/db-5.3.28/util/db_archive.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def513]
libdb-5.3.28-build/db-5.3.28/util/db_checkpoint.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def514]
libdb-5.3.28-build/db-5.3.28/util/db_deadlock.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def515]
libdb-5.3.28-build/db-5.3.28/util/db_dump.c:16:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def516]
libdb-5.3.28-build/db-5.3.28/util/db_dump185.c:10:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def517]
libdb-5.3.28-build/db-5.3.28/util/db_hotbackup.c:17:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: CPPCHECK_WARNING (CWE-401): [#def518]
libdb-5.3.28-build/db-5.3.28/util/db_hotbackup.c:102: error[memleakOnRealloc]: Common realloc mistake: 'data_dir' nulled but not freed upon failure
Error: COMPILER_WARNING: [#def519]
libdb-5.3.28-build/db-5.3.28/util/db_load.c:16:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
libdb-5.3.28-build/db-5.3.28/util/db_load.c: scope_hint: In function 'dbt_rprint'
libdb-5.3.28-build/db-5.3.28/util/db_load.c:1271:40: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libdb-5.3.28-build/db-5.3.28/util/db_load.c:1277:29: note: in expansion of macro 'G'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
libdb-5.3.28-build/db-5.3.28/util/db_load.c: scope_hint: In function 'dbt_rdump'
libdb-5.3.28-build/db-5.3.28/util/db_load.c:1340:40: warning[-Wanalyzer-malloc-leak]: leak of 'p'
libdb-5.3.28-build/db-5.3.28/util/db_load.c:1346:29: note: in expansion of macro 'G'
libdb-5.3.28-build/db-5.3.28/util/db_load.c: scope_hint: In function 'dbt_rdump'
libdb-5.3.28-build/db-5.3.28/util/db_load.c:1371:17: note: in expansion of macro 'DIGITIZE'
libdb-5.3.28-build/db-5.3.28/util/db_load.c: scope_hint: In function 'dbt_rdump'
Error: COMPILER_WARNING: [#def522]
libdb-5.3.28-build/db-5.3.28/util/db_printlog.c:23:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def523]
libdb-5.3.28-build/db-5.3.28/util/db_recover.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def524]
libdb-5.3.28-build/db-5.3.28/util/db_replicate.c: scope_hint: At top level
libdb-5.3.28-build/db-5.3.28/util/db_replicate.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def525]
libdb-5.3.28-build/db-5.3.28/util/db_replicate.c: scope_hint: In function 'main'
libdb-5.3.28-build/db-5.3.28/util/db_replicate.c:63:19: warning[-Wunused-but-set-variable]: variable 'flags' set but not used
Error: COMPILER_WARNING: [#def526]
libdb-5.3.28-build/db-5.3.28/util/db_stat.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def527]
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c: scope_hint: At top level
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c:56:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING (CWE-563): [#def528]
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c: scope_hint: In function '__tuner_opd_data'
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c:670:19: warning[-Wunused-but-set-variable]: variable 'pgsize' set but not used
Error: CPPCHECK_WARNING (CWE-682): [#def529]
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c:805: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def530]
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c:808: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def531]
libdb-5.3.28-build/db-5.3.28/util/db_tuner.c:902: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: COMPILER_WARNING: [#def532]
libdb-5.3.28-build/db-5.3.28/util/db_upgrade.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Error: COMPILER_WARNING: [#def533]
libdb-5.3.28-build/db-5.3.28/util/db_verify.c:14:19: warning[-Wunused-const-variable=]: 'copyright' defined but not used
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-126.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | libdb-5.3.28-64.fc42 |
store-results-to | /tmp/tmpzas_ehdz/libdb-5.3.28-64.fc42.tar.xz |
time-created | 2024-11-13 01:34:13 |
time-finished | 2024-11-13 01:49:31 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpzas_ehdz/libdb-5.3.28-64.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpzas_ehdz/libdb-5.3.28-64.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |