postgresql18-18.3-3.fc45
List of Findings
Error: SHELLCHECK_WARNING (CWE-457): [#def1]
/usr/bin/postgresql-setup:9:18: warning[SC2154]: var_content is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/usr/bin/postgresql-setup:366:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-477): [#def3]
/usr/bin/postgresql-setup:367:46: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/bin/postgresql-setup:368:36: warning[SC2154]: upgradefrom_major is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/usr/bin/postgresql-setup:374:16: warning[SC2154]: upgradefrom_engine is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def6]
/usr/bin/postgresql-setup:375:36: warning[SC2154]: upgradefrom_package is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def7]
/usr/bin/postgresql-setup:491:14: warning[SC2154]: upgradefrom_scls is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def8]
/usr/bin/postgresql-setup:496:12: warning[SC2154]: upgradefrom_redhat_sockets_hack is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def9]
/usr/bin/postgresql-setup:501:14: warning[SC2154]: upgradefrom_pghost_override is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-252): [#def10]
/usr/bin/postgresql-setup:518:9: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def11]
/usr/bin/postgresql-setup:535:14: warning[SC2154]: add_options is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def12]
/usr/bin/postgresql-setup:577:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def13]
/usr/bin/postgresql-setup:591:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def14]
/usr/bin/postgresql-setup:614:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/bin/postgresql-setup:714:11: warning[SC2034]: port appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def16]
/usr/bin/postgresql-setup:891:13: warning[SC2034]: option_debug appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def17]
/usr/bin/postgresql-setup:976:23: warning[SC2154]: upgradefrom_data_default is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def18]
/usr/bin/postgresql-setup:987:37: warning[SC2154]: upgradefrom_id is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def19]
/usr/bin/postgresql-setup:1015:13: warning[SC2247]: Flip leading $ and " if this should be a quoted substitution.
Error: SHELLCHECK_WARNING (CWE-457): [#def20]
/usr/bin/postgresql-upgrade:149:33: warning[SC2154]: upgradefrom_major is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def21]
/usr/bin/postgresql-upgrade:155:12: warning[SC2154]: upgradefrom_engine is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def22]
/usr/bin/postgresql-upgrade:156:31: warning[SC2154]: upgradefrom_package is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def23]
/usr/bin/postgresql-upgrade:167:26: warning[SC2154]: data is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-456): [#def24]
/usr/lib64/pgsql/pgxs/config/install-sh:53:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING: [#def25]
/usr/lib64/pgsql/pgxs/config/install-sh:142:33: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def26]
/usr/lib64/pgsql/pgxs/config/install-sh:167:47: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-456): [#def27]
/usr/lib64/pgsql/pgxs/config/install-sh:188:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-569): [#def28]
/usr/lib64/pgsql/pgxs/config/install-sh:212:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def29]
/usr/lib64/pgsql/pgxs/config/install-sh:213:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def30]
/usr/lib64/pgsql/pgxs/config/install-sh:214:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-398): [#def31]
/usr/lib64/pgsql/pgxs/config/install-sh:214:28: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
Error: SHELLCHECK_WARNING (CWE-569): [#def32]
/usr/lib64/pgsql/pgxs/config/install-sh:215:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def33]
/usr/lib64/pgsql/pgxs/config/install-sh:348:31: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def34]
/usr/lib64/pgsql/pgxs/config/install-sh:349:11: warning[SC2154]: ret is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-456): [#def35]
/usr/lib64/pgsql/pgxs/config/install-sh:404:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def36]
/usr/lib64/pgsql/pgxs/config/install-sh:480:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def37]
/usr/lib64/pgsql/pgxs/config/install-sh:481:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def38]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:53:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING: [#def39]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:142:33: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def40]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:167:47: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-456): [#def41]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:188:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-569): [#def42]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:212:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def43]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:213:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def44]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:214:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-398): [#def45]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:214:28: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
Error: SHELLCHECK_WARNING (CWE-569): [#def46]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:215:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def47]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:348:31: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def48]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:349:11: warning[SC2154]: ret is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-456): [#def49]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:404:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def50]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:480:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def51]
/usr/lib64/pgsql/postgresql-16/lib/pgxs/config/install-sh:481:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def52]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:53:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING: [#def53]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:142:33: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def54]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:167:47: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-456): [#def55]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:188:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-569): [#def56]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:212:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def57]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:213:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-569): [#def58]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:214:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING (CWE-398): [#def59]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:214:28: warning[SC2172]: Trapping signals by number is not well defined. Prefer signal names.
Error: SHELLCHECK_WARNING (CWE-569): [#def60]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:215:18: warning[SC2064]: Use single quotes, otherwise this expands now rather than when signalled.
Error: SHELLCHECK_WARNING: [#def61]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:348:31: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def62]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:349:11: warning[SC2154]: ret is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-456): [#def63]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:404:11: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def64]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:480:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-456): [#def65]
/usr/lib64/pgsql/postgresql-17/lib/pgxs/config/install-sh:481:12: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
Error: SHELLCHECK_WARNING (CWE-758): [#def66]
/usr/share/postgresql-setup/library.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-457): [#def67]
/usr/share/postgresql-setup/library.sh:8:19: warning[SC2154]: option_debug is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def68]
/usr/share/postgresql-setup/library.sh:67:11: warning[SC2034]: id appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def69]
/usr/share/postgresql-setup/library.sh:67:14: warning[SC2034]: temp_major appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def70]
/usr/share/postgresql-setup/library.sh:67:25: warning[SC2034]: temp_engine appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def71]
/usr/share/postgresql-setup/library.sh:67:37: warning[SC2034]: temp_data_default appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def72]
/usr/share/postgresql-setup/library.sh:67:55: warning[SC2034]: temp_description appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def73]
/usr/share/postgresql-setup/library.sh:81:19: warning[SC2154]: __pg_conf_id is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def74]
/usr/share/postgresql-setup/library.sh:81:35: warning[SC2154]: __pg_conf_description is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def75]
/usr/share/postgresql-setup/library.sh:83:33: warning[SC2154]: __pg_conf_major is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def76]
/usr/share/postgresql-setup/library.sh:95:30: warning[SC2154]: upgrade_from_scls is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def77]
/usr/share/postgresql-setup/library.sh:100:27: warning[SC2154]: upgradefrom_redhat_sockets_hack is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def78]
/usr/share/postgresql-setup/postgresql_pkg_tests.sh:9:11: warning[SC3028]: In POSIX sh, RANDOM is undefined.
Error: SHELLCHECK_WARNING: [#def79]
/usr/share/postgresql-setup/postgresql_pkg_tests.sh:86:9: warning[SC3011]: In POSIX sh, here-strings are undefined.
Error: CPPCHECK_WARNING (CWE-457): [#def80]
postgresql-18.3/contrib/bloom/blvacuum.c:149: warning[uninitvar]: Uninitialized variable: notFullPage
Error: GCC_ANALYZER_WARNING (CWE-457): [#def81]
postgresql-18.3/contrib/bloom/blvacuum.c:149:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘¬FullPage’
postgresql-18.3/contrib/bloom/blvacuum.c:54:40: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/bloom/blvacuum.c:60:17: branch_true: ...to here
postgresql-18.3/contrib/bloom/blvacuum.c:119:20: branch_false: following ‘false’ branch (when ‘itup == itupPtr’)...
postgresql-18.3/contrib/bloom/blvacuum.c:132:25: branch_false: ...to here
postgresql-18.3/contrib/bloom/blvacuum.c:149:9: danger: use of uninitialized value ‘¬FullPage’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
postgresql-18.3/contrib/btree_gist/btree_utils_num.c:90:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘leaf’
postgresql-18.3/contrib/btree_gist/btree_utils_num.c:18:12: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/btree_gist/btree_utils_num.c:34:56: branch_true: ...to here
postgresql-18.3/contrib/btree_gist/btree_utils_num.c:90:17: danger: use of uninitialized value ‘leaf’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def83]
postgresql-18.3/contrib/cube/cubeparse.c:975:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:939:28: branch_true: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:962:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/contrib/cube/cubeparse.c:964:7: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:973:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:975:9: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:975:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def84]
postgresql-18.3/contrib/cube/cubeparse.y:51:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1012:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/cube/cubeparse.c:1021:16: branch_true: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1030:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/cube/cubeparse.c:1042:17: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1049:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:1052:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1069:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1082:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1084:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.y:51:23: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def85]
postgresql-18.3/contrib/cube/cubeparse.y:52:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951]’
postgresql-18.3/contrib/cube/cubeparse.c:854:1: enter_function: entry to ‘cube_yyparse’
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1012:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/cube/cubeparse.c:1021:16: branch_true: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1030:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/cube/cubeparse.c:1042:17: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1049:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:1052:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1069:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1082:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1084:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.y:51:23: call_function: inlined call to ‘item_count’ from ‘cube_yyparse’
postgresql-18.3/contrib/cube/cubeparse.y:52:21: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.y:52:21: danger: use of uninitialized value ‘yyvsp[2305843009213693951]’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def86]
postgresql-18.3/contrib/cube/cubeparse.y:81:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1012:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/cube/cubeparse.c:1021:16: branch_true: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1030:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/cube/cubeparse.c:1042:17: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1049:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:1052:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1069:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1082:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1084:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.y:81:23: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def87]
postgresql-18.3/contrib/cube/cubeparse.y:146:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951]’
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1012:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/cube/cubeparse.c:1021:16: branch_true: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1030:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/cube/cubeparse.c:1042:17: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1049:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:1052:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1069:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1082:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1084:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.y:146:17: danger: use of uninitialized value ‘yyvsp[2305843009213693951]’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def88]
postgresql-18.3/contrib/cube/cubeparse.y:162:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1012:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1018:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/cube/cubeparse.c:1021:16: branch_true: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1030:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/cube/cubeparse.c:1042:17: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1049:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:1052:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1062:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1069:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:933:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:997:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/contrib/cube/cubeparse.c:1000:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.c:1082:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/cube/cubeparse.c:1084:3: branch_false: ...to here
postgresql-18.3/contrib/cube/cubeparse.y:162:17: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
postgresql-18.3/contrib/cube/cubescan.c:1621:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/contrib/cube/cubescan.c:1500:10: enter_function: entry to ‘cube_yyrestart’
postgresql-18.3/contrib/cube/cubescan.c:1505:16: call_function: calling ‘cube_yyensure_buffer_stack’ from ‘cube_yyrestart’
postgresql-18.3/contrib/cube/cubescan.c:1505:16: return_function: returning to ‘cube_yyrestart’ from ‘cube_yyensure_buffer_stack’
postgresql-18.3/contrib/cube/cubescan.c:1507:27: call_function: calling ‘cube_yy_create_buffer’ from ‘cube_yyrestart’
postgresql-18.3/contrib/cube/cubescan.c:1507:27: return_function: returning to ‘cube_yyrestart’ from ‘cube_yy_create_buffer’
postgresql-18.3/contrib/cube/cubescan.c:1510:2: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/cube/cubescan.c:1510:2: branch_false: ...to here
postgresql-18.3/contrib/cube/cubescan.c:1510:2: call_function: calling ‘cube_yy_init_buffer’ from ‘cube_yyrestart’
Error: CPPCHECK_WARNING (CWE-457): [#def90]
postgresql-18.3/contrib/dblink/dblink.c:700: error[legacyUninitvar]: Uninitialized variable: conn
Error: CPPCHECK_WARNING (CWE-457): [#def91]
postgresql-18.3/contrib/dblink/dblink.c:700: error[legacyUninitvar]: Uninitialized variable: sql
Error: CPPCHECK_WARNING (CWE-768): [#def92]
postgresql-18.3/contrib/hstore/hstore_io.c:470: error[unknownEvaluationOrder]: Expression '(entry)++->entry' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-457): [#def93]
postgresql-18.3/contrib/hstore/hstore_io.c:470: warning[uninitvar]: Uninitialized variable: pairs.val
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
postgresql-18.3/contrib/hstore/hstore_op.c:341:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/contrib/hstore/hstore_op.c:292:1: enter_function: entry to ‘hstore_delete_array’
postgresql-18.3/contrib/hstore/hstore_op.c:307:33: call_function: calling ‘hstoreArrayToPairs’ from ‘hstore_delete_array’
postgresql-18.3/contrib/hstore/hstore_op.c:307:33: return_function: returning to ‘hstore_delete_array’ from ‘hstoreArrayToPairs’
postgresql-18.3/contrib/hstore/hstore_op.c:317:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/hstore/hstore_op.c:317:12: branch_false: ...to here
postgresql-18.3/contrib/hstore/hstore_op.c:331:25: branch_true: following ‘true’ branch (when ‘i < hs_count’)...
postgresql-18.3/contrib/hstore/hstore_op.c:335:21: branch_true: ...to here
postgresql-18.3/contrib/hstore/hstore_op.c:335:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/hstore/hstore_op.c:339:59: branch_false: ...to here
postgresql-18.3/contrib/hstore/hstore_op.c:341:40: danger: dereference of NULL ‘hstoreArrayToPairs(pg_detoast_datum((char *)*fcinfo.args[1].value), &nkeys) + (long unsigned int)j * 40’
Error: CPPCHECK_WARNING (CWE-457): [#def95]
postgresql-18.3/contrib/hstore_plpython/hstore_plpython.c:192: warning[uninitvar]: Uninitialized variables: out.vl_len_, out.size_
Error: CPPCHECK_WARNING (CWE-476): [#def96]
postgresql-18.3/contrib/intarray/_intbig_gist.c:173: warning[nullPointer]: Possible null pointer dereference: ptr
Error: CPPCHECK_WARNING (CWE-682): [#def97]
postgresql-18.3/contrib/intarray/_intbig_gist.c:174: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def98]
postgresql-18.3/contrib/ltree/ltree_gist.c:76:17: warning[-Wanalyzer-null-argument]: use of NULL ‘left’ where non-null expected
postgresql-18.3/contrib/ltree/ltree_gist.c:192:1: enter_function: entry to ‘ltree_union’
postgresql-18.3/contrib/ltree/ltree_gist.c:207:21: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/ltree/ltree_gist.c:240:12: branch_false: ...to here
postgresql-18.3/contrib/ltree/ltree_gist.c:240:12: branch_false: following ‘false’ branch (when ‘isalltrue == 0’)...
postgresql-18.3/contrib/ltree/ltree_gist.c:240:12: branch_false: ...to here
postgresql-18.3/contrib/ltree/ltree_gist.c:253:18: call_function: calling ‘ltree_gist_alloc’ from ‘ltree_union’
Error: CPPCHECK_WARNING (CWE-457): [#def99]
postgresql-18.3/contrib/pg_prewarm/autoprewarm.c:859: warning[uninitvar]: Uninitialized variable: num_blocks
Error: CPPCHECK_WARNING (CWE-476): [#def100]
postgresql-18.3/contrib/pg_trgm/trgm_gin.c:144: warning[nullPointer]: Possible null pointer dereference: (union varattrib_4b*)(trg)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def101]
postgresql-18.3/contrib/pg_trgm/trgm_regexp.c:2004:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/contrib/pg_trgm/trgm_regexp.c:1974:16: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/pg_trgm/trgm_regexp.c:1974:16: branch_true: ...to here
postgresql-18.3/contrib/pg_trgm/trgm_regexp.c:1990:28: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/pg_trgm/trgm_regexp.c:1994:59: branch_true: ...to here
postgresql-18.3/contrib/pg_trgm/trgm_regexp.c:2004:60: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def102]
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:449:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*x’
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:582:1: enter_function: entry to ‘_crypt_blowfish_rn’
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:605:12: branch_false: following ‘false’ branch (when ‘size > 60’)...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:614:13: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:614:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:620:17: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:621:18: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:622:17: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:623:17: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:624:17: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:634:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/pgcrypto/crypt-blowfish.c:641:9: call_function: calling ‘BF_swap’ from ‘_crypt_blowfish_rn’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def103]
postgresql-18.3/contrib/pgcrypto/crypt-des.c:409:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((const uint32 *)key)[1]’
postgresql-18.3/contrib/pgcrypto/crypt-des.c:651:1: enter_function: entry to ‘px_crypt_des’
postgresql-18.3/contrib/pgcrypto/crypt-des.c:679:13: call_function: calling ‘des_setkey’ from ‘px_crypt_des’
Error: CPPCHECK_WARNING (CWE-457): [#def104]
postgresql-18.3/contrib/pgcrypto/pgp-pgsql.c:403: error[uninitvar]: Uninitialized variable: tmp
Error: CPPCHECK_WARNING (CWE-457): [#def105]
postgresql-18.3/contrib/pgcrypto/pgp-pgsql.c:482: error[uninitvar]: Uninitialized variable: tmp
Error: CPPCHECK_WARNING (CWE-909): [#def106]
postgresql-18.3/contrib/postgres_fdw/deparse.c:1922: error[uninitStructMember]: Uninitialized struct member: join_sql_o.len
Error: CPPCHECK_WARNING (CWE-476): [#def107]
postgresql-18.3/contrib/postgres_fdw/postgres_fdw.c:7633: warning[nullPointer]: Possible null pointer dereference: fsstate
Error: GCC_ANALYZER_WARNING (CWE-457): [#def108]
postgresql-18.3/contrib/seg/segparse.c:970:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/seg/segparse.c:934:28: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:957:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/contrib/seg/segparse.c:959:7: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:968:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:970:9: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:970:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def109]
postgresql-18.3/contrib/seg/segparse.y:66:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:66:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def110]
postgresql-18.3/contrib/seg/segparse.y:67:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:67:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def111]
postgresql-18.3/contrib/seg/segparse.y:69:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:69:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def112]
postgresql-18.3/contrib/seg/segparse.y:71:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:71:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def113]
postgresql-18.3/contrib/seg/segparse.y:80:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:80:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def114]
postgresql-18.3/contrib/seg/segparse.y:90:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:82:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.y:90:34: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:90:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def115]
postgresql-18.3/contrib/seg/segparse.y:92:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:82:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.y:90:34: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:92:57: danger: out-of-bounds read at byte -4 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def116]
postgresql-18.3/contrib/seg/segparse.y:98:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].bnd.val’
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:98:33: danger: use of uninitialized value ‘yyvsp[2305843009213693951].bnd.val’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def117]
postgresql-18.3/contrib/seg/segparse.y:144:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].text’
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1007:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1013:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/contrib/seg/segparse.c:1016:16: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.c:1025:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/contrib/seg/segparse.c:1037:17: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1044:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:1047:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1057:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/contrib/seg/segparse.c:1064:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:928:6: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:992:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/contrib/seg/segparse.c:995:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.c:1077:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/contrib/seg/segparse.c:1079:3: branch_false: ...to here
postgresql-18.3/contrib/seg/segparse.y:141:20: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/seg/segparse.y:144:35: branch_true: ...to here
postgresql-18.3/contrib/seg/segparse.y:144:35: danger: use of uninitialized value ‘yyvsp[2305843009213693951].text’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def118]
postgresql-18.3/contrib/seg/segscan.c:1604:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/contrib/seg/segscan.c:1483:10: enter_function: entry to ‘seg_yyrestart’
postgresql-18.3/contrib/seg/segscan.c:1488:16: call_function: calling ‘seg_yyensure_buffer_stack’ from ‘seg_yyrestart’
postgresql-18.3/contrib/seg/segscan.c:1488:16: return_function: returning to ‘seg_yyrestart’ from ‘seg_yyensure_buffer_stack’
postgresql-18.3/contrib/seg/segscan.c:1490:27: call_function: calling ‘seg_yy_create_buffer’ from ‘seg_yyrestart’
postgresql-18.3/contrib/seg/segscan.c:1490:27: return_function: returning to ‘seg_yyrestart’ from ‘seg_yy_create_buffer’
postgresql-18.3/contrib/seg/segscan.c:1493:2: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/seg/segscan.c:1493:2: branch_false: ...to here
postgresql-18.3/contrib/seg/segscan.c:1493:2: call_function: calling ‘seg_yy_init_buffer’ from ‘seg_yyrestart’
Error: CPPCHECK_WARNING (CWE-457): [#def119]
postgresql-18.3/contrib/sepgsql/label.c:605: warning[uninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def120]
postgresql-18.3/contrib/sepgsql/label.c:643: warning[uninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def121]
postgresql-18.3/contrib/sepgsql/selinux.c:887: warning[uninitvar]: Uninitialized variable: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def122]
postgresql-18.3/contrib/spi/refint.c:165:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argtypes’
postgresql-18.3/contrib/spi/refint.c:78:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:83:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:87:14: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:87:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:92:13: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:108:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:112:9: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:134:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:138:9: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:138:21: branch_true: following ‘true’ branch (when ‘i < nkeys’)...
postgresql-18.3/contrib/spi/refint.c:141:76: branch_true: ...to here
postgresql-18.3/contrib/spi/refint.c:144:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:151:22: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:158:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:164:21: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:164:20: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/spi/refint.c:165:33: branch_true: ...to here
postgresql-18.3/contrib/spi/refint.c:165:25: danger: dereference of NULL ‘argtypes + (long unsigned int)i * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def123]
postgresql-18.3/contrib/spi/refint.c:414:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argtypes’
postgresql-18.3/contrib/spi/refint.c:280:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:285:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:290:13: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:290:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:294:14: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:294:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:299:9: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:306:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:311:9: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:315:12: branch_false: following ‘false’ branch (when ‘nargs > 4’)...
postgresql-18.3/contrib/spi/refint.c:320:17: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:321:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:324:18: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:331:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:352:9: branch_false: following ‘false’ branch (when ‘is_update == 0’)...
postgresql-18.3/contrib/spi/refint.c:352:9: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:356:12: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:362:17: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:362:17: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:368:9: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:368:21: branch_true: following ‘true’ branch (when ‘i < nkeys’)...
postgresql-18.3/contrib/spi/refint.c:371:76: branch_true: ...to here
postgresql-18.3/contrib/spi/refint.c:374:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:381:22: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:388:20: branch_false: following ‘false’ branch...
postgresql-18.3/contrib/spi/refint.c:399:20: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:399:20: branch_false: following ‘false’ branch (when ‘newtuple’ is NULL)...
postgresql-18.3/contrib/spi/refint.c:399:20: branch_false: ...to here
postgresql-18.3/contrib/spi/refint.c:413:20: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/spi/refint.c:414:33: branch_true: ...to here
postgresql-18.3/contrib/spi/refint.c:414:25: danger: dereference of NULL ‘argtypes + (long unsigned int)i * 4’
Error: CPPCHECK_WARNING (CWE-476): [#def124]
postgresql-18.3/contrib/unaccent/unaccent.c:257: warning[nullPointer]: Possible null pointer dereference: trg
Error: GCC_ANALYZER_WARNING (CWE-688): [#def125]
postgresql-18.3/contrib/unaccent/unaccent.c:257:41: warning[-Wanalyzer-null-argument]: use of NULL ‘trg’ where non-null expected
postgresql-18.3/contrib/unaccent/unaccent.c:338:1: enter_function: entry to ‘unaccent_init’
postgresql-18.3/contrib/unaccent/unaccent.c:345:9: branch_true: following ‘true’ branch...
postgresql-18.3/contrib/unaccent/unaccent.c:349:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/contrib/unaccent/unaccent.c:351:28: branch_true: ...to here
postgresql-18.3/contrib/unaccent/unaccent.c:351:28: branch_false: following ‘false’ branch (when ‘fileloaded == 0’)...
postgresql-18.3/contrib/unaccent/unaccent.c:355:45: branch_false: ...to here
postgresql-18.3/contrib/unaccent/unaccent.c:355:36: call_function: calling ‘initTrie’ from ‘unaccent_init’
Error: CPPCHECK_WARNING (CWE-457): [#def126]
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:153: warning[uninitvar]: Uninitialized variable: notFullPage
Error: GCC_ANALYZER_WARNING (CWE-457): [#def127]
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:153:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘¬FullPage’
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:58:40: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:64:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:123:20: branch_false: following ‘false’ branch (when ‘itup == itupPtr’)...
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:136:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/bloom/blvacuum.c:153:9: danger: use of uninitialized value ‘¬FullPage’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def128]
postgresql-18.3/postgresql-16.11/contrib/btree_gist/btree_utils_num.c:90:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘leaf’
postgresql-18.3/postgresql-16.11/contrib/btree_gist/btree_utils_num.c:18:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/btree_gist/btree_utils_num.c:34:56: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/btree_gist/btree_utils_num.c:90:17: danger: use of uninitialized value ‘leaf’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def129]
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:971:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:935:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:958:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:960:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:969:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:971:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:971:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def130]
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:50:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -4’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:50:23: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def131]
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:51:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951]’
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:863:1: enter_function: entry to ‘cube_yyparse’
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -4’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:50:23: call_function: inlined call to ‘item_count’ from ‘cube_yyparse’
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:51:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:51:21: danger: use of uninitialized value ‘yyvsp[2305843009213693951]’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def132]
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:78:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -4’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubeparse.y:78:23: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1583:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1570:21: enter_function: entry to ‘cube_yy_create_buffer’
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1574:31: call_function: inlined call to ‘cube_yyalloc’ from ‘cube_yy_create_buffer’
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1575:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1578:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1583:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def134]
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1624: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def135]
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1625: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1838:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1822:17: enter_function: entry to ‘cube_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1831:24: call_function: inlined call to ‘cube_yyalloc’ from ‘cube_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1832:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1832:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/cube/cubescan.c:1840:13: call_function: calling ‘cube_yy_scan_buffer’ from ‘cube_yy_scan_bytes’
Error: CPPCHECK_WARNING (CWE-457): [#def137]
postgresql-18.3/postgresql-16.11/contrib/dblink/dblink.c:676: error[legacyUninitvar]: Uninitialized variable: conn
Error: CPPCHECK_WARNING (CWE-457): [#def138]
postgresql-18.3/postgresql-16.11/contrib/dblink/dblink.c:676: error[legacyUninitvar]: Uninitialized variable: sql
Error: CPPCHECK_WARNING (CWE-768): [#def139]
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_io.c:466: error[unknownEvaluationOrder]: Expression '(entry)++->entry' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-457): [#def140]
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_io.c:466: warning[uninitvar]: Uninitialized variable: pairs.val
Error: GCC_ANALYZER_WARNING (CWE-476): [#def141]
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:341:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:292:1: enter_function: entry to ‘hstore_delete_array’
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:307:33: call_function: calling ‘hstoreArrayToPairs’ from ‘hstore_delete_array’
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:307:33: return_function: returning to ‘hstore_delete_array’ from ‘hstoreArrayToPairs’
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:317:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:317:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:331:25: branch_true: following ‘true’ branch (when ‘i < hs_count’)...
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:335:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:335:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:339:59: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/hstore/hstore_op.c:341:40: danger: dereference of NULL ‘hstoreArrayToPairs(pg_detoast_datum((char *)*fcinfo.args[1].value), &nkeys) + (long unsigned int)j * 40’
Error: CPPCHECK_WARNING (CWE-476): [#def142]
postgresql-18.3/postgresql-16.11/contrib/intarray/_intbig_gist.c:172: warning[nullPointer]: Possible null pointer dereference: ptr
Error: CPPCHECK_WARNING (CWE-682): [#def143]
postgresql-18.3/postgresql-16.11/contrib/intarray/_intbig_gist.c:173: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def144]
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:76:17: warning[-Wanalyzer-null-argument]: use of NULL ‘left’ where non-null expected
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:192:1: enter_function: entry to ‘ltree_union’
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:207:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:240:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:240:12: branch_false: following ‘false’ branch (when ‘isalltrue == 0’)...
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:240:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/ltree/ltree_gist.c:253:18: call_function: calling ‘ltree_gist_alloc’ from ‘ltree_union’
Error: CPPCHECK_WARNING (CWE-476): [#def145]
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_gin.c:144: warning[nullPointer]: Possible null pointer dereference: (union varattrib_4b*)(trg)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_regexp.c:1999:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_regexp.c:1969:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_regexp.c:1969:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_regexp.c:1985:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_regexp.c:1989:59: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/pg_trgm/trgm_regexp.c:1999:60: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def147]
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:449:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*x’
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:582:1: enter_function: entry to ‘_crypt_blowfish_rn’
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:605:12: branch_false: following ‘false’ branch (when ‘size > 60’)...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:614:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:614:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:620:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:621:18: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:622:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:623:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:624:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:634:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-blowfish.c:641:9: call_function: calling ‘BF_swap’ from ‘_crypt_blowfish_rn’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def148]
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-des.c:409:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((const uint32 *)key)[1]’
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-des.c:651:1: enter_function: entry to ‘px_crypt_des’
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/crypt-des.c:679:13: call_function: calling ‘des_setkey’ from ‘px_crypt_des’
Error: CPPCHECK_WARNING (CWE-457): [#def149]
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/pgp-pgsql.c:403: error[uninitvar]: Uninitialized variable: tmp
Error: CPPCHECK_WARNING (CWE-457): [#def150]
postgresql-18.3/postgresql-16.11/contrib/pgcrypto/pgp-pgsql.c:482: error[uninitvar]: Uninitialized variable: tmp
Error: GCC_ANALYZER_WARNING (CWE-457): [#def151]
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:3416:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aggcosts.transCost.per_tuple’
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6903:1: enter_function: entry to ‘add_foreign_final_paths’
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6924:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6931:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6935:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6939:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6956:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7030:13: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7063:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7077:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7077:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7084:56: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7084:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7085:60: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7084:13: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7089:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7109:12: branch_false: following ‘false’ branch (when ‘has_final_sort == 0’)...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7111:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7114:9: call_function: calling ‘estimate_path_cost_size’ from ‘add_foreign_final_paths’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def152]
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:3417:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aggcosts.finalCost.startup’
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6770:1: enter_function: entry to ‘add_foreign_ordered_paths’
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6789:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6793:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6811:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6833:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:6871:9: call_function: calling ‘estimate_path_cost_size’ from ‘add_foreign_ordered_paths’
Error: CPPCHECK_WARNING (CWE-476): [#def153]
postgresql-18.3/postgresql-16.11/contrib/postgres_fdw/postgres_fdw.c:7489: warning[nullPointer]: Possible null pointer dereference: fsstate
Error: GCC_ANALYZER_WARNING (CWE-457): [#def154]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:971:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:935:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:958:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:960:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:969:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:971:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:971:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def155]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:68:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:68:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def156]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:69:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:69:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def157]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:71:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:71:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def158]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:73:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:73:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def159]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:80:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:80:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def160]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:90:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:82:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:90:34: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:90:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def161]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:92:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:82:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:90:34: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:92:57: danger: out-of-bounds read at byte -4 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def162]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:98:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].bnd.val’
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:98:33: danger: use of uninitialized value ‘yyvsp[2305843009213693951].bnd.val’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def163]
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:144:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].text’
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:141:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:144:35: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segparse.y:144:35: danger: use of uninitialized value ‘yyvsp[2305843009213693951].text’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1565:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1552:21: enter_function: entry to ‘seg_yy_create_buffer’
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1556:31: call_function: inlined call to ‘seg_yyalloc’ from ‘seg_yy_create_buffer’
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1557:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1560:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1565:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def165]
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1606: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def166]
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1607: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1820:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1804:17: enter_function: entry to ‘seg_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1813:24: call_function: inlined call to ‘seg_yyalloc’ from ‘seg_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1814:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1814:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/seg/segscan.c:1822:13: call_function: calling ‘seg_yy_scan_buffer’ from ‘seg_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:160:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argtypes’
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:75:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:80:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:85:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:101:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:105:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:111:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:119:27: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:129:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:133:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:133:21: branch_true: following ‘true’ branch (when ‘i < nkeys’)...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:136:76: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:139:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:146:22: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:153:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:159:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:159:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:160:33: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:160:25: danger: dereference of NULL ‘argtypes + (long unsigned int)i * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:407:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argtypes’
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:275:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:280:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:285:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:285:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:290:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:297:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:302:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:306:12: branch_false: following ‘false’ branch (when ‘nargs > 4’)...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:311:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:312:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:315:18: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:322:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:331:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:339:27: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:349:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:355:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:355:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:361:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:361:21: branch_true: following ‘true’ branch (when ‘i < nkeys’)...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:364:76: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:367:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:374:22: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:381:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:392:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:392:20: branch_false: following ‘false’ branch (when ‘newtuple’ is NULL)...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:392:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:406:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:407:33: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/spi/refint.c:407:25: danger: dereference of NULL ‘argtypes + (long unsigned int)i * 4’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def170]
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:78:25: warning[-Wanalyzer-null-argument]: use of NULL ‘replaceTo’ where non-null expected
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:271:1: enter_function: entry to ‘unaccent_init’
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:278:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:282:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:284:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:284:28: branch_false: following ‘false’ branch (when ‘fileloaded == 0’)...
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:288:45: branch_false: ...to here
postgresql-18.3/postgresql-16.11/contrib/unaccent/unaccent.c:288:36: call_function: calling ‘initTrie’ from ‘unaccent_init’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def171]
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:814:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2990:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:3016:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def172]
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:823:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2990:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:3016:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def173]
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:833:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2990:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:3016:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:1518:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘distances’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2730:1: enter_function: entry to ‘brin_minmax_multi_union’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2818:21: call_function: calling ‘build_distances’ from ‘brin_minmax_multi_union’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2818:21: return_function: returning to ‘brin_minmax_multi_union’ from ‘build_distances’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_minmax_multi.c:2831:20: call_function: calling ‘reduce_expanded_ranges’ from ‘brin_minmax_multi_union’
Error: CPPCHECK_WARNING (CWE-476): [#def175]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:971: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def176]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:972: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def177]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:973: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def178]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:974: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def179]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:976: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def180]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:980: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def181]
postgresql-18.3/postgresql-16.11/src/backend/access/common/heaptuple.c:981: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: GCC_ANALYZER_WARNING (CWE-457): [#def182]
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:97:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:576:1: enter_function: entry to ‘index_truncate_tuple’
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:587:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:591:28: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:596:9: call_function: calling ‘index_deform_tuple’ from ‘index_truncate_tuple’
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:596:9: return_function: returning to ‘index_truncate_tuple’ from ‘index_deform_tuple’
postgresql-18.3/postgresql-16.11/src/backend/access/common/indextuple.c:597:21: call_function: inlined call to ‘index_form_tuple’ from ‘index_truncate_tuple’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def183]
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:579:25: warning[-Wanalyzer-null-argument]: use of NULL ‘newrootpg’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:811:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:817:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:818:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:818:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: CPPCHECK_WARNING (CWE-457): [#def184]
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginentrypage.c:628: error[legacyUninitvar]: Uninitialized variable: tupstore
Error: GCC_ANALYZER_WARNING (CWE-688): [#def185]
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1531:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1516:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1521:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1529:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1530:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1531:24: release_memory: using NULL here
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1531:17: danger: argument 1 (‘*rel.rd_amcache’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def186]
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1531:17: warning[-Wanalyzer-null-argument]: use of NULL ‘*rel.rd_amcache’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1559:1: enter_function: entry to ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1573:17: call_function: calling ‘_hash_getcachedmetap’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1573:17: return_function: returning to ‘_hash_getbucketbuf_from_hashkey’ from ‘_hash_getcachedmetap’
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1592:23: call_function: calling ‘_hash_getbuf’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1592:23: return_function: returning to ‘_hash_getbucketbuf_from_hashkey’ from ‘_hash_getbuf’
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1601:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1605:17: call_function: inlined call to ‘_hash_relbuf’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-16.11/src/backend/access/hash/hashpage.c:1606:25: call_function: calling ‘_hash_getcachedmetap’ from ‘_hash_getbucketbuf_from_hashkey’
Error: CPPCHECK_WARNING (CWE-457): [#def187]
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:5712: error[legacyUninitvar]: Uninitialized variable: status
Error: CPPCHECK_WARNING (CWE-457): [#def188]
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:6253: error[legacyUninitvar]: Uninitialized variable: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10157:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10031:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10072:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10103:12: branch_true: following ‘true’ branch (when ‘newaction == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10110:27: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10116:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10119:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10119:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10122:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10125:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10132:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10146:20: branch_true: following ‘true’ branch (when ‘prefixlen != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10151:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam.c:10157:63: danger: dereference of NULL ‘oldtup.t_data’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:1168:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘split’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:939:1: enter_function: entry to ‘_bt_strategy’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:959:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:966:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:966:9: call_function: calling ‘_bt_interval_edges’ from ‘_bt_strategy’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:966:9: return_function: returning to ‘_bt_strategy’ from ‘_bt_interval_edges’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:967:20: release_memory: ‘leftinterval’ is NULL
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:967:20: call_function: calling ‘_bt_split_lastleft’ from ‘_bt_strategy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:1184:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘split’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:939:1: enter_function: entry to ‘_bt_strategy’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:959:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:966:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:966:9: call_function: calling ‘_bt_interval_edges’ from ‘_bt_strategy’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:966:9: return_function: returning to ‘_bt_strategy’ from ‘_bt_interval_edges’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:968:21: release_memory: ‘rightinterval’ is NULL
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtsplitloc.c:968:21: call_function: calling ‘_bt_split_firstright’ from ‘_bt_strategy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def192]
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtxlog.c:389:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nposting’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtxlog.c:1016:1: enter_function: entry to ‘btree_redo’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtxlog.c:1034:25: call_function: calling ‘btree_xlog_split’ from ‘btree_redo’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def193]
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgscan.c:123:17: warning[-Wanalyzer-null-argument]: use of NULL ‘distances’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgscan.c:943:1: enter_function: entry to ‘spggetbitmap’
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgscan.c:953:9: call_function: calling ‘spgWalk’ from ‘spggetbitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:793:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:992:1: enter_function: entry to ‘spgFormInnerTuple’
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1035:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1035:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1035:13: branch_false: following ‘false’ branch (when ‘nNodes <= 8191’)...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1041:34: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1047:12: branch_true: following ‘true’ branch (when ‘hasPrefix != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1048:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1048:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1048:17: call_function: inlined call to ‘memcpyInnerDatum’ from ‘spgFormInnerTuple’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def195]
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:798:17: warning[-Wanalyzer-null-argument]: use of NULL ‘target’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:992:1: enter_function: entry to ‘spgFormInnerTuple’
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1035:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1035:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1035:13: branch_false: following ‘false’ branch (when ‘nNodes <= 8191’)...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1041:34: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1047:12: branch_true: following ‘true’ branch (when ‘hasPrefix != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1048:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1048:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/spgist/spgutils.c:1048:17: call_function: inlined call to ‘memcpyInnerDatum’ from ‘spgFormInnerTuple’
Error: CPPCHECK_WARNING (CWE-476): [#def196]
postgresql-18.3/postgresql-16.11/src/backend/access/transam/twophase.c:1031: error[ctunullpointer]: Null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-688): [#def197]
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xact.c:5936:76: warning[-Wanalyzer-null-argument]: use of NULL ‘twophase_gid’ where non-null expected
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xact.c:5058:1: enter_function: entry to ‘AbortSubTransaction’
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xact.c:5151:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xact.c:5153:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xact.c:5163:24: call_function: calling ‘RecordTransactionAbort’ from ‘AbortSubTransaction’
Error: CPPCHECK_WARNING (CWE-682): [#def198]
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xlog.c:1557: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def199]
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xloginsert.c:233:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xloginsert.c:1225:1: enter_function: entry to ‘log_newpage_buffer’
postgresql-18.3/postgresql-16.11/src/backend/access/transam/xloginsert.c:1237:16: call_function: calling ‘log_newpage’ from ‘log_newpage_buffer’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def200]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1142:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1106:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1129:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1131:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1140:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1142:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1142:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def201]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:155:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:155:41: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:155:41: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:155:41: danger: out-of-bounds read from byte -24 till byte -21 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def202]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:175:59: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:175:59: danger: out-of-bounds read from byte -40 till byte -37 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def203]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:186:60: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:186:60: danger: out-of-bounds read from byte -48 till byte -45 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def204]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:199:64: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:188:44: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:193:53: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:199:64: danger: out-of-bounds read from byte -56 till byte -53 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def205]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:199:76: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:188:44: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:193:53: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:199:76: danger: out-of-bounds read from byte -64 till byte -57 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def206]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:220:54: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:188:44: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:220:54: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:220:54: danger: out-of-bounds read from byte -32 till byte -29 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def207]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:220:79: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:188:44: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:220:54: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:220:79: danger: out-of-bounds read from byte -64 till byte -57 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def208]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:272:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:272:41: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:272:41: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:272:41: danger: out-of-bounds read from byte -56 till byte -49 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def209]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:325:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:325:41: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:325:41: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:325:41: danger: out-of-bounds read from byte -56 till byte -49 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def210]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:379:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootparse.y:379:41: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1779:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1766:21: enter_function: entry to ‘boot_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1770:31: call_function: inlined call to ‘boot_yyalloc’ from ‘boot_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1771:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1774:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1779:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def212]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1820: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def213]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:1821: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:2034:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:2018:17: enter_function: entry to ‘boot_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:2027:24: call_function: inlined call to ‘boot_yyalloc’ from ‘boot_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:2028:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:2028:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/bootstrap/bootscanner.c:2036:13: call_function: calling ‘boot_yy_scan_buffer’ from ‘boot_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def215]
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:287:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partexprs_item’
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:254:1: enter_function: entry to ‘has_partition_attrs’
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:262:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:269:26: call_function: inlined call to ‘list_head’ from ‘has_partition_attrs’
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:270:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:270:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:272:45: call_function: inlined call to ‘get_partition_col_attnum’ from ‘has_partition_attrs’
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:274:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:287:37: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/catalog/partition.c:287:37: danger: dereference of NULL ‘partexprs_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def216]
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1103:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1057:1: enter_function: entry to ‘pg_get_publication_tables’
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1064:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1075:27: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1089:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1095:57: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1095:36: call_function: calling ‘GetPublicationByName’ from ‘pg_get_publication_tables’
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1095:36: return_function: returning to ‘pg_get_publication_tables’ from ‘GetPublicationByName’
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_publication.c:1103:29: danger: dereference of NULL ‘GetPublicationByName(text_to_cstring((char *)*<unknown>), 0)’
Error: COMPILER_WARNING (CWE-704): [#def217]
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_type.c: scope_hint: In function ‘makeMultirangeTypeName’
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_type.c:936:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def218]
postgresql-18.3/postgresql-16.11/src/backend/catalog/pg_type.c:936:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:610:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘thisdata’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:291:1: enter_function: entry to ‘do_analyze_rel’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:411:29: branch_false: following ‘false’ branch (when ‘i > attr_cnt’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:429:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:450:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:21: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:504:23: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:520:19: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:529:9: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:529:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:532:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:537:27: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:547:12: branch_true: following ‘true’ branch (when ‘numrows > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:552:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:560:29: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:589:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:589:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:595:17: call_function: inlined call to ‘MemoryContextSwitchTo’ from ‘do_analyze_rel’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:603:17: call_function: inlined call to ‘update_attstats’ from ‘do_analyze_rel’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:606:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:606:31: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:608:60: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:610:25: danger: dereference of NULL ‘thisdata’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:660:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘thisdata’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:411:29: branch_false: following ‘false’ branch (when ‘i > attr_cnt’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:429:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:450:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:21: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:504:23: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:520:19: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:529:9: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:529:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:532:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:537:27: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:633:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:637:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:655:31: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:657:60: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:660:47: danger: dereference of NULL ‘thisdata’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:855:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘thisdata’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:291:1: enter_function: entry to ‘do_analyze_rel’
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:411:29: branch_false: following ‘false’ branch (when ‘i > attr_cnt’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:429:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:450:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:21: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:499:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:504:23: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:520:19: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:529:9: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:529:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:532:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:537:27: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:547:12: branch_true: following ‘true’ branch (when ‘numrows > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:552:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:560:29: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:589:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:589:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:590:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/analyze.c:590:25: call_function: calling ‘compute_index_stats’ from ‘do_analyze_rel’
Error: CPPCHECK_WARNING (CWE-457): [#def222]
postgresql-18.3/postgresql-16.11/src/backend/commands/conversioncmds.c:117: error[uninitvar]: Uninitialized variable: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:345:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:324:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:329:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:338:12: branch_true: following ‘true’ branch (when ‘is_from != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:345:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:345:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:345:38: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/commands/copy.c:345:38: danger: dereference of NULL ‘rel’
Error: CPPCHECK_WARNING (CWE-476): [#def224]
postgresql-18.3/postgresql-16.11/src/backend/commands/extension.c:314: error[ctunullpointer]: Null pointer dereference: versionname
Error: CPPCHECK_WARNING (CWE-476): [#def225]
postgresql-18.3/postgresql-16.11/src/backend/commands/extension.c:314: warning[nullPointer]: Possible null pointer dereference: versionname
Error: CPPCHECK_WARNING (CWE-476): [#def226]
postgresql-18.3/postgresql-16.11/src/backend/commands/extension.c:3099: warning[nullPointer]: Possible null pointer dereference: versionName
Error: CPPCHECK_WARNING (CWE-457): [#def227]
postgresql-18.3/postgresql-16.11/src/backend/commands/policy.c:131: error[legacyUninitvar]: Uninitialized variable: polcmd
Error: CPPCHECK_WARNING (CWE-786): [#def228]
postgresql-18.3/postgresql-16.11/src/backend/commands/tablecmds.c:4988: error[negativeIndex]: Array 'tab->subcmds[11]' accessed at index -1, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-457): [#def229]
postgresql-18.3/postgresql-16.11/src/backend/commands/tablecmds.c:12295: error[legacyUninitvar]: Uninitialized variable: contype
Error: GCC_ANALYZER_WARNING (CWE-476): [#def230]
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:176:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:137:1: enter_function: entry to ‘ExecInitJunkFilterConversion’
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:166:12: branch_true: following ‘true’ branch (when ‘cleanLength > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:168:43: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:169:21: call_function: inlined call to ‘list_head’ from ‘ExecInitJunkFilterConversion’
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:170:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:170:29: branch_true: following ‘true’ branch (when ‘i < cleanLength’)...
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:172:29: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/execJunk.c:176:46: danger: dereference of NULL ‘t’
Error: CPPCHECK_WARNING (CWE-476): [#def231]
postgresql-18.3/postgresql-16.11/src/backend/executor/execProcnode.c:391: warning[nullPointer]: Possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def232]
postgresql-18.3/postgresql-16.11/src/backend/executor/execProcnode.c:407: warning[nullPointer]: Possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def233]
postgresql-18.3/postgresql-16.11/src/backend/executor/execProcnode.c:433: error[ctunullpointer]: Null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-476): [#def234]
postgresql-18.3/postgresql-16.11/src/backend/executor/execProcnode.c:433: warning[nullPointer]: Possible null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-476): [#def235]
postgresql-18.3/postgresql-16.11/src/backend/executor/execProcnode.c:434: warning[nullPointer]: Possible null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-457): [#def236]
postgresql-18.3/postgresql-16.11/src/backend/executor/execScan.c:346: error[legacyUninitvar]: Uninitialized variable: relids
Error: GCC_ANALYZER_WARNING (CWE-457): [#def237]
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2286:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘isnull’
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2304:1: enter_function: entry to ‘do_text_output_multiline’
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2309:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2314:23: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2315:20: branch_true: following ‘true’ branch (when ‘eol’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2317:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/execTuples.c:2327:17: call_function: calling ‘do_tup_output’ from ‘do_text_output_multiline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:1350:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:3547:1: enter_function: entry to ‘ExecParallelHashTuplePrealloc’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:3560:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:3565:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:3566:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:3567:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeHash.c:3567:25: call_function: calling ‘ExecParallelHashIncreaseNumBatches’ from ‘ExecParallelHashTuplePrealloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1227:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1208:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1214:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1227:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1259:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1152:1: enter_function: entry to ‘ExecIndexBuildScanKeys’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1208:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1214:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1220:43: call_function: inlined call to ‘get_leftop’ from ‘ExecIndexBuildScanKeys’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1222:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1222:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1227:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1228:35: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1227:29: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1231:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1232:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1259:29: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1344:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1323:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1344:39: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1383:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1323:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1339:36: branch_true: following ‘true’ branch (when ‘leftop’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1339:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1344:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1345:43: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1344:37: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1348:33: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1354:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1354:37: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1357:44: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1364:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1367:44: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1371:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1378:36: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1383:37: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def243]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1468:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1305:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1445:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1445:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1455:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1463:28: branch_false: following ‘false’ branch (when ‘leftop’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1468:31: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1468:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1501:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1305:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1445:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1445:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1455:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1463:28: branch_true: following ‘true’ branch (when ‘leftop’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1463:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1468:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1469:35: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1468:29: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1472:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1473:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1492:28: branch_false: following ‘false’ branch (when ‘rightop’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1497:29: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1497:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1501:37: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1501:37: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1582:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1192:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1305:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1445:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1445:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1564:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1564:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1575:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1577:28: branch_false: following ‘false’ branch (when ‘leftop’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1582:31: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/executor/nodeIndexscan.c:1582:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def246]
postgresql-18.3/postgresql-16.11/src/backend/lib/pairingheap.c:275:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pairs’
postgresql-18.3/postgresql-16.11/src/backend/lib/pairingheap.c:251:20: branch_true: following ‘true’ branch (when ‘next’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/lib/pairingheap.c:275:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/lib/pairingheap.c:275:9: danger: dereference of NULL ‘pairs’
Error: CPPCHECK_WARNING (CWE-457): [#def247]
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth-scram.c:1181: warning[uninitvar]: Uninitialized variable: ClientKey
Error: GCC_ANALYZER_WARNING (CWE-457): [#def248]
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2858:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2958:1: enter_function: entry to ‘PerformRadiusTransaction’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2998:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:3012:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:3019:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:3036:21: branch_false: following ‘false’ branch (when ‘i >= encryptedpasswordlen’)...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:3067:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:3069:9: call_function: calling ‘radius_add_attribute’ from ‘PerformRadiusTransaction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2913:100: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘secrets’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2863:1: enter_function: entry to ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2875:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2882:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2882:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2890:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2890:9: call_function: calling ‘sendAuthRequest’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2890:9: return_function: returning to ‘CheckRADIUSAuth’ from ‘sendAuthRequest’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2892:18: call_function: calling ‘recv_password_packet’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2892:18: return_function: returning to ‘CheckRADIUSAuth’ from ‘recv_password_packet’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2893:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2896:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2896:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2907:29: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2907:19: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2908:33: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2908:23: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2909:23: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2910:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2910:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2912:47: branch_false: following ‘false’ branch (when ‘identifiers’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2912:47: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2912:47: branch_true: following ‘true’ branch (when ‘radiusports’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2912:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:2913:100: danger: dereference of NULL ‘secrets’
Error: CPPCHECK_WARNING (CWE-457): [#def250]
postgresql-18.3/postgresql-16.11/src/backend/libpq/auth.c:3069: warning[uninitvar]: Uninitialized variable: encryptedpassword
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:1352:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2600:1: enter_function: entry to ‘load_hba’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2610:16: call_function: calling ‘open_auth_file’ from ‘load_hba’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2610:16: return_function: returning to ‘load_hba’ from ‘open_auth_file’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2611:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2617:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2617:9: call_function: calling ‘tokenize_auth_file’ from ‘load_hba’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2617:9: return_function: returning to ‘load_hba’ from ‘tokenize_auth_file’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2625:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2637:32: call_function: calling ‘parse_hba_line’ from ‘load_hba’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2723:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2706:1: enter_function: entry to ‘parse_ident_line’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2717:17: call_function: inlined call to ‘list_head’ from ‘parse_ident_line’
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2719:22: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/libpq/hba.c:2723:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:197:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(get_user_name_or_exit(progname))’
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:148:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:153:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:186:12: branch_true: following ‘true’ branch (when ‘argc > 1’)...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:186:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:186:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:188:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:188:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:194:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:194:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:196:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:196:18: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:198:60: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:198:60: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/backend/main/main.c:197:17: danger: ‘strdup(get_user_name_or_exit(progname))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def254]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:631:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:620:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:629:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:631:41: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:631:41: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def255]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:647:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:620:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:640:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:640:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:644:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:647:41: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:647:41: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def256]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:654:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:620:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:625:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:640:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:654:25: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def257]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:901:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*clauses.indexclauses[indexcol]’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:601:1: enter_function: entry to ‘get_join_index_paths’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:620:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:665:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/indxpath.c:665:9: call_function: calling ‘get_index_paths’ from ‘get_join_index_paths’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def258]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1551:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lcr1’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1479:1: enter_function: entry to ‘try_partitionwise_join’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1495:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1505:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1523:9: call_function: calling ‘compute_partition_bounds’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1523:9: return_function: returning to ‘try_partitionwise_join’ from ‘compute_partition_bounds’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1537:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1549:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1549:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1551:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1551:25: danger: dereference of NULL ‘lcr1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1552:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lcr2’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1479:1: enter_function: entry to ‘try_partitionwise_join’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1495:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1505:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1523:9: call_function: calling ‘compute_partition_bounds’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1523:9: return_function: returning to ‘try_partitionwise_join’ from ‘compute_partition_bounds’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1526:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1528:24: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1528:24: call_function: inlined call to ‘list_head’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1529:24: call_function: inlined call to ‘list_head’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1537:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1537:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1549:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1549:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1551:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/joinrels.c:1552:25: danger: dereference of NULL ‘lcr2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def260]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/pathkeys.c:159:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_pathkey’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/pathkeys.c:1168:1: enter_function: entry to ‘make_pathkeys_for_sortclauses_extended’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/pathkeys.c:1178:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/pathkeys.c:1190:27: call_function: calling ‘make_pathkey_from_sortop’ from ‘make_pathkeys_for_sortclauses_extended’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/pathkeys.c:1190:27: return_function: returning to ‘make_pathkeys_for_sortclauses_extended’ from ‘make_pathkey_from_sortop’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/path/pathkeys.c:1198:22: call_function: calling ‘pathkey_is_redundant’ from ‘make_pathkeys_for_sortclauses_extended’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/analyzejoins.c:1100:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/analyzejoins.c:849:1: enter_function: entry to ‘rel_is_distinct_for’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/analyzejoins.c:927:21: call_function: calling ‘query_is_distinct_for’ from ‘rel_is_distinct_for’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def262]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5062:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5051:1: enter_function: entry to ‘fix_indexqual_clause’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5060:18: call_function: inlined call to ‘replace_nestloop_params’ from ‘fix_indexqual_clause’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5060:18: call_function: inlined call to ‘replace_nestloop_params’ from ‘fix_indexqual_clause’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5062:13: danger: dereference of NULL ‘replace_nestloop_params_mutator(clause, root)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def263]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5131:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:4981:1: enter_function: entry to ‘fix_indexqual_references’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:4991:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:4997:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:4997:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5003:34: call_function: calling ‘fix_indexqual_clause’ from ‘fix_indexqual_references’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5003:34: return_function: returning to ‘fix_indexqual_references’ from ‘fix_indexqual_clause’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/createplan.c:5003:34: call_function: calling ‘fix_indexqual_clause’ from ‘fix_indexqual_references’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def264]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/initsplan.c:2550:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sjinfo’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/initsplan.c:1273:1: enter_function: entry to ‘process_security_barrier_quals’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/initsplan.c:1286:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/initsplan.c:1296:17: call_function: calling ‘distribute_quals_to_rels’ from ‘process_security_barrier_quals’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/planner.c:4082:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partially_grouped_rel’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/planner.c:7801:1: enter_function: entry to ‘create_partitionwise_grouping_paths’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/planner.c:7822:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/planner.c:7824:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/planner.c:7881:17: call_function: calling ‘create_ordinary_grouping_paths’ from ‘create_partitionwise_grouping_paths’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def266]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/setrefs.c:2013:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*root.grouping_map’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/setrefs.c:3519:1: enter_function: entry to ‘extract_query_dependencies’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/setrefs.c:3535:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/setrefs.c:3536:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/setrefs.c:3539:16: call_function: calling ‘extract_query_dependencies_walker’ from ‘extract_query_dependencies’
Error: CPPCHECK_WARNING (CWE-476): [#def267]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/plan/setrefs.c:2109: warning[nullPointer]: Possible null pointer dereference: bestplan
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:121:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘target_rte’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:80:12: branch_false: following ‘false’ branch (when ‘result_relation == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:105:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:106:12: branch_false: following ‘false’ branch (when ‘command_type != 3’)...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:108:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:108:17: branch_false: following ‘false’ branch (when ‘command_type != 2’)...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:119:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:121:18: danger: dereference of NULL ‘target_rte’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def269]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:374:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:64:1: enter_function: entry to ‘preprocess_targetlist’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:80:12: branch_false: following ‘false’ branch (when ‘result_relation == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:105:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:106:12: branch_true: following ‘true’ branch (when ‘command_type == 3’)...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:107:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/preptlist.c:107:25: call_function: calling ‘expand_insert_targetlist’ from ‘preprocess_targetlist’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def270]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1316:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘curColType’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1302:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1309:17: branch_true: following ‘true’ branch (when ‘subtlist’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1309:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1316:64: danger: dereference of NULL ‘curColType’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1430:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1406:1: enter_function: entry to ‘generate_setop_grouplist’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1412:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_grouplist’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1413:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1413:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1418:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1430:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/prep/prepunion.c:1430:17: danger: dereference of NULL ‘lg’
Error: COMPILER_WARNING (CWE-457): [#def272]
postgresql-18.3/postgresql-16.11/src/backend/optimizer/util/clauses.c: scope_hint: In function ‘recheck_cast_function_args.isra.0’
postgresql-18.3/postgresql-16.11/src/backend/optimizer/util/clauses.c:4384:19: warning[-Wmaybe-uninitialized]: ‘actual_arg_types’ may be used uninitialized
postgresql-18.3/postgresql-16.11/src/backend/optimizer/util/clauses.c:45: included_from: Included from here.
postgresql-18.3/postgresql-16.11/src/include/parser/parse_coerce.h:85:17: note: by argument 1 of type ‘const Oid *’ to ‘enforce_generic_type_consistency’ declared here
postgresql-18.3/postgresql-16.11/src/backend/optimizer/util/clauses.c:4370:33: note: ‘actual_arg_types’ declared here
Error: CPPCHECK_WARNING (CWE-457): [#def273]
postgresql-18.3/postgresql-16.11/src/backend/parser/gram.y:16795: error[legacyUninitvar]: Uninitialized variable: n
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:972:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h_cell’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:955:1: enter_function: entry to ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:958:30: call_function: inlined call to ‘list_head’ from ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:959:40: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:959:30: call_function: inlined call to ‘list_head’ from ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:964:34: call_function: inlined call to ‘list_length’ from ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:970:16: branch_true: following ‘true’ branch (when ‘extra_args > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:972:58: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_collate.c:972:58: danger: dereference of NULL ‘h_cell’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def275]
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_cte.c:1128:74: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_cte.c:1213:1: enter_function: entry to ‘checkWellFormedSelectStmt’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_cte.c:1237:33: call_function: calling ‘checkWellFormedRecursionWalker’ from ‘checkWellFormedSelectStmt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2013:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lc’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2007:21: branch_true: following ‘true’ branch (when ‘i < nargs’)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2009:20: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2009:20: branch_false: following ‘false’ branch (when ‘i == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2011:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2007:21: branch_true: following ‘true’ branch (when ‘i < nargs’)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2009:20: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2013:70: danger: dereference of NULL ‘lc’
Error: CPPCHECK_WARNING (CWE-457): [#def277]
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_func.c:2270: warning[uninitvar]: Uninitialized variable: argoids
Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2972:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aliasp_item’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2665:1: enter_function: entry to ‘expandRTE’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2671:12: branch_true: following ‘true’ branch (when ‘colnames’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2672:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2673:12: branch_false: following ‘false’ branch (when ‘colvars’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2676:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2951:59: call_function: inlined call to ‘list_head’ from ‘expandRTE’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2957:33: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2957:33: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2967:44: branch_true: following ‘true’ branch (when ‘colnames’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2970:52: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2970:52: branch_true: following ‘true’ branch (when ‘coltype != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2972:77: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_relation.c:2972:77: danger: dereference of NULL ‘aliasp_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10859:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10738:10: enter_function: entry to ‘core_yyrestart’
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10743:9: call_function: calling ‘core_yyensure_buffer_stack’ from ‘core_yyrestart’
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10743:9: return_function: returning to ‘core_yyrestart’ from ‘core_yyensure_buffer_stack’
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10745:13: call_function: calling ‘core_yy_create_buffer’ from ‘core_yyrestart’
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10745:13: return_function: returning to ‘core_yyrestart’ from ‘core_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10748:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10748:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/scan.c:10748:9: call_function: calling ‘core_yy_init_buffer’ from ‘core_yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4040:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partexprs_item’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:3984:1: enter_function: entry to ‘get_qual_for_hash’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4021:26: call_function: inlined call to ‘list_head’ from ‘get_qual_for_hash’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4024:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4024:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4029:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4029:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4040:43: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4040:43: danger: dereference of NULL ‘partexprs_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2505:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘start’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2485:1: enter_function: entry to ‘get_steps_using_prefix_recurse’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2509:12: branch_true: following ‘true’ branch (when ‘cur_keyno < final_keyno’)...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2519:17: call_function: inlined call to ‘for_each_cell_setup’ from ‘get_steps_using_prefix_recurse’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2523:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2519:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2535:17: call_function: inlined call to ‘for_each_cell_setup’ from ‘get_steps_using_prefix_recurse’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2535:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2535:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2542:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2545:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:2559:37: call_function: calling ‘get_steps_using_prefix_recurse’ from ‘get_steps_using_prefix_recurse’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3477:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lc2’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3405:1: enter_function: entry to ‘perform_pruning_base_step’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3422:15: call_function: inlined call to ‘list_head’ from ‘perform_pruning_base_step’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3423:15: call_function: inlined call to ‘list_head’ from ‘perform_pruning_base_step’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3429:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3429:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3436:42: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3443:20: branch_false: following ‘false’ branch (when ‘keyno <= nvalues’)...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3446:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3446:20: branch_true: following ‘true’ branch (when ‘lc1’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3453:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3464:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3477:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3477:25: danger: dereference of NULL ‘lc2’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def283]
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partprune.c:3521:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘values[0]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:946:1: warning[-Wanalyzer-malloc-leak]: leak of ‘rw’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:895:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:898:13: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:898:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:913:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:913:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:929:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:929:14: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:930:12: branch_false: following ‘false’ branch (when ‘rw’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:938:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/bgworker.c:946:1: danger: ‘rw’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:2292:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:4279:1: enter_function: entry to ‘BackendInitialize’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:4405:18: call_function: calling ‘ProcessStartupPacket’ from ‘BackendInitialize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5599:16: warning[-Wanalyzer-malloc-leak]: leak of ‘bn’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5084:1: enter_function: entry to ‘process_pm_pmsignal’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5187:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5188:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5187:13: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5188:46: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5187:13: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5191:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/postmaster.c:5191:17: call_function: calling ‘StartAutovacuumWorker’ from ‘process_pm_pmsignal’
Error: GCC_ANALYZER_WARNING: [#def287]
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:212:32: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:567:1: enter_function: entry to ‘SysLogger_Start’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:572:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:593:13: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:635:20: call_function: calling ‘logfile_getname’ from ‘SysLogger_Start’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:635:20: return_function: returning to ‘SysLogger_Start’ from ‘logfile_getname’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:693:25: call_function: calling ‘SysLoggerMain’ from ‘SysLogger_Start’
Error: GCC_ANALYZER_WARNING: [#def288]
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:213:32: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:567:1: enter_function: entry to ‘SysLogger_Start’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:572:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:593:13: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:635:20: call_function: calling ‘logfile_getname’ from ‘SysLogger_Start’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:635:20: return_function: returning to ‘SysLogger_Start’ from ‘logfile_getname’
postgresql-18.3/postgresql-16.11/src/backend/postmaster/syslogger.c:693:25: call_function: calling ‘SysLoggerMain’ from ‘SysLogger_Start’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:1021:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:985:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:990:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:1002:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:1004:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:1006:20: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:1009:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/regex/rege_dfa.c:1021:25: danger: dereference of NULL ‘lastap.ss’
Error: CPPCHECK_WARNING (CWE-457): [#def290]
postgresql-18.3/postgresql-16.11/src/backend/replication/logical/reorderbuffer.c:4835: error[legacyUninitvar]: Uninitialized variable: chunksize
Error: GCC_ANALYZER_WARNING (CWE-457): [#def291]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1094:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1058:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1081:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1083:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1092:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1094:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1094:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def292]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:99:68: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].node’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:99:68: danger: use of uninitialized value ‘yyvsp[2305843009213693951].node’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def293]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:154:77: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:154:77: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def294]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:181:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:181:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def295]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:182:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:182:58: danger: out-of-bounds read at bit -64 but ‘yyvsa’ starts at bit 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def296]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:192:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:192:57: danger: out-of-bounds read from byte -24 till byte -17 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def297]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:193:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:193:58: danger: out-of-bounds read at bit -128 but ‘yyvsa’ starts at bit 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def298]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:201:129: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:201:129: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def299]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:207:78: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:207:78: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def300]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:270:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:270:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def301]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:284:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:284:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def302]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:341:117: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:341:117: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def303]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:352:56: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:352:56: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def304]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:359:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:359:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def305]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:370:78: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:370:78: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def306]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:382:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:382:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def307]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:386:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:386:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def308]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:390:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_false: following ‘false’ branch (when ‘yyn != -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1137:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1140:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1149:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1161:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1168:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1171:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1188:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1052:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1116:6: branch_false: following ‘false’ branch (when ‘yystate != 29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1119:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1131:6: branch_true: following ‘true’ branch (when ‘yyn == -29’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1132:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1201:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.c:1203:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_gram.y:390:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_scanner.c:1970:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_scanner.l:294:1: enter_function: entry to ‘replication_scanner_is_replication_command’
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_scanner.l:296:22: call_function: calling ‘replication_yylex’ from ‘replication_scanner_is_replication_command’
Error: CPPCHECK_WARNING (CWE-476): [#def310]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_scanner.c:2011: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def311]
postgresql-18.3/postgresql-16.11/src/backend/replication/repl_scanner.c:2012: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-457): [#def312]
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:980:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:938:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:944:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:967:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:969:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:978:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:980:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:980:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def313]
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.y:62:102: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:938:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1002:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1002:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1005:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1017:6: branch_false: following ‘false’ branch (when ‘yyn != -10’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1023:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1023:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1026:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1035:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1047:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1054:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1057:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1067:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1067:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1074:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:938:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1002:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1002:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1005:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1017:6: branch_true: following ‘true’ branch (when ‘yyn == -10’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1018:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1087:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.c:1089:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_gram.y:62:102: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1645:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1632:21: enter_function: entry to ‘syncrep_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1636:31: call_function: inlined call to ‘syncrep_yyalloc’ from ‘syncrep_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1637:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1640:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1645:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def315]
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1686: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def316]
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1687: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1900:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1884:17: enter_function: entry to ‘syncrep_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1893:24: call_function: inlined call to ‘syncrep_yyalloc’ from ‘syncrep_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1894:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1894:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/replication/syncrep_scanner.c:1902:13: call_function: calling ‘syncrep_yy_scan_buffer’ from ‘syncrep_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:797:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1372:1: enter_function: entry to ‘dependencies_clauselist_selectivity’
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1399:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1403:82: call_function: inlined call to ‘list_length’ from ‘dependencies_clauselist_selectivity’
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1431:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1435:29: release_memory: ‘expr’ is NULL
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1440:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1447:29: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1447:29: call_function: calling ‘dependency_is_compatible_clause’ from ‘dependencies_clauselist_selectivity’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def319]
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1225:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1170:1: enter_function: entry to ‘dependency_is_compatible_expression’
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1176:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1181:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1181:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1185:36: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1185:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1188:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1191:13: call_function: inlined call to ‘is_opclause’ from ‘dependency_is_compatible_expression’
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1225:18: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/statistics/dependencies.c:1225:18: danger: dereference of NULL ‘clause’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
postgresql-18.3/postgresql-16.11/src/backend/statistics/mcv.c:1714:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/postgresql-16.11/src/backend/statistics/mcv.c:2130:1: enter_function: entry to ‘mcv_clause_selectivity_or’
postgresql-18.3/postgresql-16.11/src/backend/statistics/mcv.c:2144:23: call_function: calling ‘mcv_get_match_bitmap’ from ‘mcv_clause_selectivity_or’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
postgresql-18.3/postgresql-16.11/src/backend/statistics/mvdistinct.c:366:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/statistics/mvdistinct.c:356:1: enter_function: entry to ‘pg_ndistinct_out’
postgresql-18.3/postgresql-16.11/src/backend/statistics/mvdistinct.c:359:30: call_function: calling ‘statext_ndistinct_deserialize’ from ‘pg_ndistinct_out’
postgresql-18.3/postgresql-16.11/src/backend/statistics/mvdistinct.c:359:30: return_function: returning to ‘pg_ndistinct_out’ from ‘statext_ndistinct_deserialize’
postgresql-18.3/postgresql-16.11/src/backend/statistics/mvdistinct.c:366:25: danger: dereference of NULL ‘statext_ndistinct_deserialize(pg_detoast_datum_packed((char *)*fcinfo.args[0].value))’
Error: CPPCHECK_WARNING (CWE-909): [#def322]
postgresql-18.3/postgresql-16.11/src/backend/storage/lmgr/lmgr.c:728: error[uninitStructMember]: Uninitialized struct member: callback.previous
Error: GCC_ANALYZER_WARNING (CWE-457): [#def323]
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:524:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*itemidptr.itemoff’
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:699:1: enter_function: entry to ‘PageRepairFragmentation’
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:723:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:725:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:723:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:727:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:723:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:736:17: call_function: inlined call to ‘PageGetMaxOffsetNumber’ from ‘PageRepairFragmentation’
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:736:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:740:37: branch_false: following ‘false’ branch (when ‘i > nline’)...
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:777:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:778:12: branch_false: following ‘false’ branch (when ‘nstorage != 0’)...
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:786:39: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:786:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:792:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/page/bufpage.c:792:17: call_function: calling ‘compactify_tuples’ from ‘PageRepairFragmentation’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:497:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1402:1: enter_function: entry to ‘_mdfd_getseg’
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1417:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1424:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1424:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1434:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1444:18: branch_true: following ‘true’ branch (when ‘nextsegno <= targetseg’)...
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1446:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1446:39: call_function: calling ‘_mdnblocks’ from ‘_mdfd_getseg’
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1446:39: return_function: returning to ‘_mdfd_getseg’ from ‘_mdnblocks’
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1451:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1454:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/storage/smgr/md.c:1476:33: call_function: calling ‘mdextend’ from ‘_mdfd_getseg’
Error: CPPCHECK_WARNING (CWE-457): [#def325]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/dict_synonym.c:230: error[uninitvar]: Uninitialized variables: &key.outlen, &key.flags
Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/ts_parse.c:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
postgresql-18.3/postgresql-16.11/src/backend/tsearch/ts_parse.c:540:1: enter_function: entry to ‘hlparsetext’
postgresql-18.3/postgresql-16.11/src/backend/tsearch/ts_parse.c:590:38: call_function: calling ‘LexizeExec’ from ‘hlparsetext’
Error: CPPCHECK_WARNING (CWE-476): [#def327]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser.c:198: error[nullPointer]: Null pointer dereference
Error: CPPCHECK_WARNING (CWE-476): [#def328]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser.c:198: error[nullPointer]: Null pointer dereference: lex
Error: CPPCHECK_WARNING (CWE-476): [#def329]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:453: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def330]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:453: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def331]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:454: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def332]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:454: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def333]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:455: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def334]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:455: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def335]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:456: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def336]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:456: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def337]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:457: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def338]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:457: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def339]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:458: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def340]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:458: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def341]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:459: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def342]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:459: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def343]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:460: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def344]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:460: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def345]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:461: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def346]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:461: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def347]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:469: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def348]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:469: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def349]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:476: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def350]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:476: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def351]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:482: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def352]
postgresql-18.3/postgresql-16.11/src/backend/tsearch/wparser_def.c:488: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-457): [#def353]
postgresql-18.3/postgresql-16.11/src/backend/utils/activity/backend_status.c:1127: error[uninitvar]: Uninitialized variables: &key.backendStatus, &key.backend_xid, &key.backend_xmin, &key.backend_subxact_count, &key.backend_subxact_overflowed
Error: CPPCHECK_WARNING (CWE-457): [#def354]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:1376: warning[uninitvar]: Uninitialized variable: dim
Error: CPPCHECK_WARNING (CWE-457): [#def355]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:1377: warning[uninitvar]: Uninitialized variable: lBound
Error: CPPCHECK_WARNING (CWE-457): [#def356]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:1733: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def357]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:2938: warning[uninitvar]: Uninitialized variable: dim
Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3808:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bitmap’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3803:18: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3803:18: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3806:16: branch_true: following ‘true’ branch (when ‘nelems > 7’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3808:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3808:21: danger: dereference of NULL ‘bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def359]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3818:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bitmap’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3803:18: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3803:18: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3806:16: branch_false: following ‘false’ branch (when ‘nelems <= 7’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3806:16: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3816:16: branch_true: following ‘true’ branch (when ‘nelems > 0’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3818:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:3818:22: danger: dereference of NULL ‘bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5004:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘destbitmap’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5721:1: enter_function: entry to ‘makeArrayResultArr’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5731:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5742:54: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5768:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5769:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5769:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5769:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/arrayfuncs.c:5769:25: call_function: calling ‘array_bitmap_copy’ from ‘makeArrayResultArr’
Error: CPPCHECK_WARNING (CWE-457): [#def361]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/dbsize.c:608: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def362]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/inet_cidr_ntop.c:285: warning[uninitvar]: Uninitialized variable: outbuf
Error: CPPCHECK_WARNING (CWE-457): [#def363]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonb.c:127: error[legacyUninitvar]: Uninitialized variable: nbytes
Error: CPPCHECK_WARNING (CWE-457): [#def364]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonb.c:127: error[legacyUninitvar]: Uninitialized variable: str
Error: CPPCHECK_WARNING (CWE-457): [#def365]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonbsubs.c:155: error[legacyUninitvar]: Uninitialized variable: subExpr
Error: CPPCHECK_WARNING (CWE-476): [#def366]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonfuncs.c:5538: warning[nullPointer]: Possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-457): [#def367]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath.c:125: error[legacyUninitvar]: Uninitialized variable: nbytes
Error: CPPCHECK_WARNING (CWE-457): [#def368]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath.c:125: error[legacyUninitvar]: Uninitialized variable: str
Error: GCC_ANALYZER_WARNING (CWE-457): [#def369]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1196:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1154:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1160:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1183:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1194:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1196:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1196:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def370]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1323:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1154:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1218:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1218:6: branch_false: following ‘false’ branch (when ‘yystate != 5’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1221:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1233:6: branch_false: following ‘false’ branch (when ‘yyn != -44’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1239:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1239:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1242:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1273:6: branch_true: following ‘true’ branch (when ‘yyn <= 0’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1277:7: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_gram.c:1323:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: CPPCHECK_WARNING (CWE-476): [#def371]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5370: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-476): [#def372]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5370:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5254:10: enter_function: entry to ‘jsonpath_yyrestart’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5258:9: call_function: calling ‘jsonpath_yyensure_buffer_stack’ from ‘jsonpath_yyrestart’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5258:9: return_function: returning to ‘jsonpath_yyrestart’ from ‘jsonpath_yyensure_buffer_stack’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5260:13: call_function: calling ‘jsonpath_yy_create_buffer’ from ‘jsonpath_yyrestart’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5260:13: return_function: returning to ‘jsonpath_yyrestart’ from ‘jsonpath_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5263:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5263:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5263:9: call_function: calling ‘jsonpath_yy_init_buffer’ from ‘jsonpath_yyrestart’
Error: CPPCHECK_WARNING (CWE-476): [#def373]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/jsonpath_scan.c:5371: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def374]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:510: warning[nullPointer]: Possible null pointer dereference: blocked_instance
Error: GCC_ANALYZER_WARNING (CWE-476): [#def375]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:510:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘blocked_instance’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:483:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:485:43: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:497:29: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:509:58: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/lockfuncs.c:510:61: danger: dereference of NULL ‘blocked_instance’
Error: CPPCHECK_WARNING (CWE-457): [#def376]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/pg_locale.c:2048: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def377]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/pg_locale.c:2084: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-476): [#def378]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/rangetypes.c:2487: error[ctunullpointer]: Null pointer dereference: value
Error: CPPCHECK_WARNING (CWE-190): [#def379]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/tsgistidx.c:193: error[integerOverflow]: Signed integer underflow for expression '*(int32*)&c'.
Error: CPPCHECK_WARNING (CWE-476): [#def380]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/varlena.c:461: warning[nullPointer]: Possible null pointer dereference: rp
Error: COMPILER_WARNING (CWE-704): [#def381]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/xid8funcs.c: scope_hint: In function ‘is_visible_fxid’
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/xid8funcs.c:237:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def382]
postgresql-18.3/postgresql-16.11/src/backend/utils/adt/xid8funcs.c:237:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-476): [#def383]
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/catcache.c:2222: warning[nullPointer]: Possible null pointer dereference: srckeys
Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:2383:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5452:1: enter_function: entry to ‘RelationGetIdentityKeyBitmap’
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5461:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5465:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5465:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5471:23: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5474:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5478:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/relcache.c:5478:21: call_function: calling ‘RelationIdGetRelation’ from ‘RelationGetIdentityKeyBitmap’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def385]
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:503:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&mapdicts’
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:424:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:427:43: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:432:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:435:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:485:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:487:80: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:490:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:492:28: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:492:28: branch_false: following ‘false’ branch (when ‘maxtokentype <= toktype’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:494:28: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:494:28: branch_true: following ‘true’ branch (when ‘maxtokentype < toktype’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:497:36: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:497:36: branch_false: following ‘false’ branch (when ‘ndicts <= 0’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:507:47: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:485:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:487:80: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:490:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:492:28: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:492:28: branch_false: following ‘false’ branch (when ‘maxtokentype <= toktype’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:494:28: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:494:28: branch_true: following ‘true’ branch (when ‘maxtokentype < toktype’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:497:36: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/ts_cache.c:503:41: danger: use of uninitialized value ‘&mapdicts’ here
Error: CPPCHECK_WARNING (CWE-457): [#def386]
postgresql-18.3/postgresql-16.11/src/backend/utils/cache/typcache.c:2711: warning[uninitvar]: Uninitialized variable: &srch.sort_order
Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
postgresql-18.3/postgresql-16.11/src/backend/utils/init/postinit.c:1300:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/utils/init/postinit.c:1249:1: enter_function: entry to ‘process_startup_options’
postgresql-18.3/postgresql-16.11/src/backend/utils/init/postinit.c:1291:19: call_function: inlined call to ‘list_head’ from ‘process_startup_options’
postgresql-18.3/postgresql-16.11/src/backend/utils/init/postinit.c:1292:16: branch_true: following ‘true’ branch (when ‘gucopts’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/utils/init/postinit.c:1297:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/init/postinit.c:1300:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.c:1630:54: warning[-Wanalyzer-malloc-leak]: leak of ‘GUC_yy_create_buffer(fp, 16384)’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:573:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:586:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:586:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:593:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:595:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:595:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.c:1630:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:573:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:586:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:586:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:593:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:595:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:595:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: CPPCHECK_WARNING (CWE-476): [#def390]
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.c:1671: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def391]
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.c:1672: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:384:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:573:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:586:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:586:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:593:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:595:47: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc-file.l:595:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6522:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘eqsgn’
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6494:12: branch_false: following ‘false’ branch (when ‘array’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6498:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6498:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6502:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6504:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6511:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/misc/guc.c:6522:17: danger: dereference of NULL ‘eqsgn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:699:1: enter_function: entry to ‘AllocSetAlloc’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:714:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:790:16: call_function: inlined call to ‘AllocSetFreeIndex’ from ‘AllocSetAlloc’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:792:12: branch_false: following ‘false’ branch (when ‘chunk’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:830:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:930:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:932:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:933:28: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:930:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:932:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:933:28: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: danger: ‘block’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:991:1: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:699:1: enter_function: entry to ‘AllocSetAlloc’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:714:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:790:16: call_function: inlined call to ‘AllocSetFreeIndex’ from ‘AllocSetAlloc’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:792:12: branch_false: following ‘false’ branch (when ‘chunk’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:830:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:930:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:932:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:933:28: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:935:46: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:930:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:932:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:938:20: branch_true: following ‘true’ branch (when ‘block’ is NULL)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:938:20: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:991:1: danger: ‘block’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-401): [#def396]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/aset.c:1159: error[memleakOnRealloc]: Common realloc mistake: 'block' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:852:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1821:1: enter_function: entry to ‘destroy_superblock’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1823:31: call_function: calling ‘dsa_get_address’ from ‘destroy_superblock’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1823:31: return_function: returning to ‘destroy_superblock’ from ‘dsa_get_address’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1872:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1873:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1885:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1886:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1886:17: call_function: calling ‘dsa_free’ from ‘destroy_superblock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def398]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1824:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1821:1: enter_function: entry to ‘destroy_superblock’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1823:31: call_function: calling ‘dsa_get_address’ from ‘destroy_superblock’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1823:31: return_function: returning to ‘destroy_superblock’ from ‘dsa_get_address’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1824:46: danger: dereference of NULL ‘dsa_get_address(area, span_pointer)’
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def399]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:2013:33: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘64’)
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1994:1: enter_function: entry to ‘get_best_segment’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1999:9: call_function: calling ‘check_for_freed_segments_locked’ from ‘get_best_segment’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:1999:9: return_function: returning to ‘get_best_segment’ from ‘check_for_freed_segments_locked’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:2005:20: call_function: inlined call to ‘contiguous_pages_to_segment_bin’ from ‘get_best_segment’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:2006:18: branch_true: following ‘true’ branch (when ‘bin != 16’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:2013:59: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/dsa.c:2013:33: danger: shift by count ‘4294967295’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def400]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1441:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result.index’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1476:1: enter_function: entry to ‘FreePageManagerPutInternal’
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1489:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1491:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1491:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1499:26: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1499:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1509:26: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1509:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1525:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1525:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1527:33: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1527:33: branch_false: following ‘false’ branch (when ‘soft == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1529:34: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1529:34: call_function: calling ‘FreePageManagerGetInternal’ from ‘FreePageManagerPutInternal’
Error: CPPCHECK_WARNING (CWE-457): [#def401]
postgresql-18.3/postgresql-16.11/src/backend/utils/mmgr/freepage.c:1538: error[legacyUninitvar]: Uninitialized variable: root
Error: GCC_ANALYZER_WARNING (CWE-457): [#def402]
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:546:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘read_page’
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:505:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:509:22: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:516:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:524:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:584:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:586:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:505:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:509:22: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:516:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:524:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/utils/sort/sharedtuplestore.c:546:29: danger: use of uninitialized value ‘read_page’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:363:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "wb")’
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:358:16: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:359:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:363:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:363:12: danger: ‘fopen(filename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:363:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "wb")’
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:358:16: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:359:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:363:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_basebackup/bbstreamer_file.c:363:12: danger: ‘fopen(filename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2157:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(psprintf("\"%s\" -C data_directory %s%s", my_exec_path, <unknown>, <unknown>), "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2193:1: enter_function: entry to ‘main’
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2232:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2237:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2248:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2259:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2272:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2272:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2274:24: branch_false: following ‘false’ branch (when ‘c == -1’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2366:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2368:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2375:40: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2375:28: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2377:33: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2422:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2430:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_ctl/pg_ctl.c:2439:9: call_function: calling ‘adjust_data_dir’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def406]
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/parallel.c:504: warning[nullPointer]: Possible null pointer dereference: slot
Error: CPPCHECK_WARNING (CWE-476): [#def407]
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_backup_archiver.c:2183: warning[nullPointer]: Possible null pointer dereference: fh
Error: CPPCHECK_WARNING (CWE-457): [#def408]
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:1399: error[legacyUninitvar]: Uninitialized variable: archiveFormat
Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12103:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘probin’
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:11984:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:11987:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:11992:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12062:43: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12067:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12077:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12099:12: branch_false: following ‘false’ branch (when ‘prosqlbody’ is NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12103:18: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:12103:18: danger: dereference of NULL ‘probin’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def410]
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13575:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘collcollate’
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13499:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13502:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13559:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13564:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13564:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13573:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13573:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13575:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13575:21: danger: dereference of NULL ‘collcollate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def411]
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13577:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘collctype’
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13499:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13502:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13559:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13560:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13564:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13573:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13573:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13575:21: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13575:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13575:20: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_dump/pg_dump.c:13577:21: danger: dereference of NULL ‘collctype’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def412]
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:524:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:23: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:524:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:524:22: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:524:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:23: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:524:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:524:22: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def414]
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:533:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:23: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:531:16: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:533:12: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:533:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:23: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:517:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:522:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:531:16: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_resetwal/pg_resetwal.c:533:12: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def416]
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:312:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:312:31: danger: infinite loop here
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:312:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:312:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:314:42: branch_false: when ‘writes >= writes_per_op’: always following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:312:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def417]
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:415:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:415:31: danger: infinite loop here
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:415:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:415:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:417:42: branch_false: when ‘writes >= writes_per_op’: always following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:415:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def418]
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:480:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:480:31: danger: infinite loop here
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:480:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:480:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:482:42: branch_false: if it ever follows ‘false’ branch, it will always do so...
postgresql-18.3/postgresql-16.11/src/bin/pg_test_fsync/pg_test_fsync.c:480:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:36: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:31: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:133:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:135:34: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:135:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:137:37: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:36: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:37: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:31: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:133:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:135:34: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:135:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:137:37: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:36: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:50: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:37: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:153:40: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:31: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:128:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:133:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:135:34: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:135:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:137:37: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:139:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:153:40: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:155:37: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:153:40: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:203:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:121:12: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:121:13: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:121:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:188:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:192:9: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:192:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:198:23: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:198:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:203:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:203:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:203:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:210:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:213:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:216:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:218:29: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/controldata.c:203:13: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(25)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:45:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:385:1: enter_function: entry to ‘check_bin_dir’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:397:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:397:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:398:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:398:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:399:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:399:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/exec.c:406:9: call_function: calling ‘get_bin_version’ from ‘check_bin_dir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:211:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:40:1: enter_function: entry to ‘gen_db_file_maps’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:60:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:63:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:69:20: branch_true: following ‘true’ branch (when ‘new_rel’ is NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:75:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/info.c:75:25: call_function: calling ‘report_unmatched_relation’ from ‘gen_db_file_maps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:428:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:400:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:402:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:406:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:414:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:428:23: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:428:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:429:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:428:13: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def426]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:483:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:459:12: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:467:32: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:475:27: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:475:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:475:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:480:26: branch_true: following ‘true’ branch (when ‘lineno != 6’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:483:29: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:483:28: danger: ‘fopen(&filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:483:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, "r")’
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:459:12: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:467:32: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:475:27: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:475:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:475:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:480:26: branch_true: following ‘true’ branch (when ‘lineno != 6’)...
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:483:29: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_upgrade/option.c:483:28: danger: ‘fopen(&filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-704): [#def428]
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c: scope_hint: In function ‘split_path’
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:166:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def429]
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:166:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def430]
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:530:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, "w")’
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:490:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:501:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:504:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:510:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:510:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:513:24: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:516:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:517:50: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:526:24: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:527:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:530:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:530:20: danger: ‘fopen(&filename, "w")’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:530:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, "w")’
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:490:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:501:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:504:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:510:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:510:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:513:24: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:516:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:517:50: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:526:24: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:527:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:530:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pg_waldump/pg_waldump.c:530:20: danger: ‘fopen(&filename, "w")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1113:11: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1120:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1120:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1133:10: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: danger: ‘yyptr’ leaks here; was allocated at [(33)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def433]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def434]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1118:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvs’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1118:9: danger: use of uninitialized value ‘yyvs’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def435]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1244:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.ival’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1194:6: branch_true: following ‘true’ branch (when ‘yyn <= 0’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1196:10: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1196:10: branch_false: following ‘false’ branch (when ‘yyn != -1’)...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1198:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprparse.c:1244:3: danger: use of uninitialized value ‘*<unknown>.ival’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.c:2000:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:343:14: call_function: calling ‘expr_yylex’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def437]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.c:2043:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:343:14: call_function: calling ‘expr_yylex’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.c:2163:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:334:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:335:56: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:335:10: call_function: calling ‘expr_yy_switch_to_buffer’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.c:2184:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:334:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:335:56: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/pgbench/exprscan.l:335:10: call_function: calling ‘expr_yy_switch_to_buffer’ from ‘expr_lex_one_word’
Error: CPPCHECK_WARNING (CWE-457): [#def440]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/pgbench.c:1617: warning[uninitvar]: Uninitialized variables: &key.svalue, &key.value
Error: COMPILER_WARNING (CWE-704): [#def441]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/pgbench.c: scope_hint: In function ‘parseScriptWeight’
postgresql-18.3/postgresql-16.11/src/bin/pgbench/pgbench.c:6155:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def442]
postgresql-18.3/postgresql-16.11/src/bin/pgbench/pgbench.c:6155:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def443]
postgresql-18.3/postgresql-16.11/src/bin/psql/crosstabview.c:362: error[uninitvar]: Uninitialized variables: &elt.sort_value, &elt.rank
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.c:2485:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:670:1: enter_function: entry to ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:680:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:680:10: return_function: returning to ‘psql_scan_slash_command_end’ from ‘slash_yy_switch_to_buffer’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:688:2: call_function: calling ‘slash_yylex’ from ‘psql_scan_slash_command_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def445]
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.c:2528:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:670:1: enter_function: entry to ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:680:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:680:10: return_function: returning to ‘psql_scan_slash_command_end’ from ‘slash_yy_switch_to_buffer’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:688:2: call_function: calling ‘slash_yylex’ from ‘psql_scan_slash_command_end’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.c:2648:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:547:8: enter_function: entry to ‘psql_scan_slash_option’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:576:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:577:10: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:577:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_option’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.c:2669:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:547:8: enter_function: entry to ‘psql_scan_slash_option’
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:576:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:577:10: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:577:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_option’
Error: CPPCHECK_WARNING (CWE-562): [#def448]
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:499: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def449]
postgresql-18.3/postgresql-16.11/src/bin/psql/psqlscanslash.l:573: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def450]
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:873:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cell’
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:499:26: release_memory: ‘dbtables.head’ is NULL
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:499:26: release_memory: ‘dbtables.head’ is NULL
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:783:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:794:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:795:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:808:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:843:9: release_memory: ‘cell’ is NULL
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:849:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:855:29: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:856:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:862:62: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/bin/scripts/vacuumdb.c:873:17: danger: dereference of NULL ‘cell’
Error: COMPILER_WARNING (CWE-704): [#def451]
postgresql-18.3/postgresql-16.11/src/common/compression.c: scope_hint: In function ‘parse_compress_options’
postgresql-18.3/postgresql-16.11/src/common/compression.c:458:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def452]
postgresql-18.3/postgresql-16.11/src/common/compression.c:458:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def453]
postgresql-18.3/postgresql-16.11/src/common/encnames.c:541: warning[uninitvar]: Uninitialized variable: newkey
Error: GCC_ANALYZER_WARNING (CWE-457): [#def454]
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:521:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iov’
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:541:1: enter_function: entry to ‘pg_pwrite_zeros’
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:550:16: branch_true: following ‘true’ branch (when ‘remaining_size != 0’)...
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:550:16: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:555:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:559:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:555:24: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:570:27: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/common/file_utils.c:570:27: call_function: calling ‘pg_pwritev_with_retry’ from ‘pg_pwrite_zeros’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def455]
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:180:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘termout’
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:96:19: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:119:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:174:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:180:16: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:180:16: danger: ‘termout’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:180:16: warning[-Wanalyzer-malloc-leak]: leak of ‘termout’
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:96:19: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:119:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:174:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:180:16: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/common/sprompt.c:180:16: danger: ‘termout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:909:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘width_header’
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3535:1: enter_function: entry to ‘printQuery’
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3543:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3547:55: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3553:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3553:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3587:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3595:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3595:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def458]
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:1040:17: warning[-Wanalyzer-null-argument]: use of NULL ‘bytes_output’ where non-null expected
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3535:1: enter_function: entry to ‘printQuery’
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3543:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3547:55: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3553:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3553:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3587:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3595:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3595:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3418:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fout’
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3535:1: enter_function: entry to ‘printQuery’
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3543:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3547:55: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3553:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3553:21: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3587:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3595:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/print.c:3595:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.c:4585:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1127:8: enter_function: entry to ‘psql_scan’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1142:10: call_function: calling ‘psql_yy_switch_to_buffer’ from ‘psql_scan’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1142:10: return_function: returning to ‘psql_scan’ from ‘psql_yy_switch_to_buffer’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1147:14: call_function: calling ‘psql_yylex’ from ‘psql_scan’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def461]
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.c:4628:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1127:8: enter_function: entry to ‘psql_scan’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1142:10: call_function: calling ‘psql_yy_switch_to_buffer’ from ‘psql_scan’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1142:10: return_function: returning to ‘psql_scan’ from ‘psql_yy_switch_to_buffer’
postgresql-18.3/postgresql-16.11/src/fe_utils/psqlscan.l:1147:14: call_function: calling ‘psql_yylex’ from ‘psql_scan’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def462]
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:123:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, <unknown>)’
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:119:14: acquire_resource: opened here
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:120:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:123:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:123:13: danger: ‘fopen(&filename, <unknown>)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:123:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, <unknown>)’
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:119:14: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:120:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:123:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/fe_utils/recovery_gen.c:123:13: danger: ‘fopen(&filename, <unknown>)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
postgresql-18.3/postgresql-16.11/src/include/access/tableam.h:1058:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sscan’
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam_handler.c:691:1: enter_function: entry to ‘heapam_relation_copy_for_cluster’
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam_handler.c:735:12: branch_false: following ‘false’ branch (when ‘use_sort == 0’)...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam_handler.c:747:13: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam_handler.c:747:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam_handler.c:749:33: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/heap/heapam_handler.c:808:30: call_function: calling ‘table_scan_getnextslot’ from ‘heapam_relation_copy_for_cluster’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def465]
postgresql-18.3/postgresql-16.11/src/include/access/tupmacs.h:28:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:553:1: enter_function: entry to ‘brin_deform_tuple’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:565:16: branch_true: following ‘true’ branch (when ‘dMemtuple’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:565:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:565:28: call_function: calling ‘brin_memtuple_initialize’ from ‘brin_deform_tuple’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:565:28: return_function: returning to ‘brin_deform_tuple’ from ‘brin_memtuple_initialize’
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:568:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:572:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:583:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:587:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/brin/brin_tuple.c:587:9: call_function: calling ‘brin_deconstruct_tuple’ from ‘brin_deform_tuple’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def466]
postgresql-18.3/postgresql-16.11/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elemops’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:3869:1: enter_function: entry to ‘make_partition_op_expr’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:3877:19: call_function: calling ‘get_partition_operator’ from ‘make_partition_op_expr’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:3877:19: return_function: returning to ‘make_partition_op_expr’ from ‘get_partition_operator’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:3952:50: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:3952:100: call_function: inlined call to ‘list_nth_cell’ from ‘make_partition_op_expr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def467]
postgresql-18.3/postgresql-16.11/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘expanded_groups’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_agg.c:1826:1: enter_function: entry to ‘expand_grouping_sets’
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_agg.c:1833:12: branch_false: following ‘false’ branch (when ‘groupingSets’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_agg.c:1833:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_agg.c:1836:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/parser/parse_agg.c:1859:9: call_function: inlined call to ‘list_nth_cell’ from ‘expand_grouping_sets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def468]
postgresql-18.3/postgresql-16.11/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘or_expr_args’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4276:1: enter_function: entry to ‘get_qual_for_range’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4301:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4304:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4309:29: branch_true: following ‘true’ branch (when ‘k < nparts’)...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4311:67: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4317:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4320:33: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4324:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4327:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4327:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4331:45: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4331:45: call_function: calling ‘get_qual_for_range’ from ‘get_qual_for_range’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4331:45: return_function: returning to ‘get_qual_for_range’ from ‘get_qual_for_range’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4337:70: call_function: inlined call to ‘list_length’ from ‘get_qual_for_range’
postgresql-18.3/postgresql-16.11/src/backend/partitioning/partbounds.c:4339:78: call_function: inlined call to ‘list_nth_cell’ from ‘get_qual_for_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
postgresql-18.3/postgresql-16.11/src/include/storage/block.h:105:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:648:1: enter_function: entry to ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:657:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:659:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:665:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:690:57: call_function: inlined call to ‘BTreeTupleGetNPosting’ from ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:696:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:709:42: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:709:42: call_function: calling ‘BTreeTupleGetHeapTID’ from ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:709:42: return_function: returning to ‘_bt_bottomupdel_finish_pending’ from ‘BTreeTupleGetHeapTID’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtdedup.c:712:48: call_function: inlined call to ‘ItemPointerGetBlockNumber’ from ‘_bt_bottomupdel_finish_pending’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
postgresql-18.3/postgresql-16.11/src/include/storage/bufpage.h:340:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘childpage’
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:811:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:817:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:818:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/gin/ginbtree.c:818:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
postgresql-18.3/postgresql-16.11/src/include/storage/itemptr.h:116:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2651:1: enter_function: entry to ‘_bt_check_third_page’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2660:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2668:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2676:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2680:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2680:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2680:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2680:9: call_function: calling ‘BTreeTupleGetHeapTID’ from ‘_bt_check_third_page’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2680:9: return_function: returning to ‘_bt_check_third_page’ from ‘BTreeTupleGetHeapTID’
postgresql-18.3/postgresql-16.11/src/backend/access/nbtree/nbtutils.c:2680:9: call_function: inlined call to ‘ItemPointerGetOffsetNumber’ from ‘_bt_check_third_page’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:184:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:176:1: enter_function: entry to ‘ECPGsetcommit’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:178:34: call_function: calling ‘ecpg_get_connection’ from ‘ECPGsetcommit’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:178:34: return_function: returning to ‘ECPGsetcommit’ from ‘ecpg_get_connection’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:181:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:184:9: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/connect.c:184:9: danger: dereference of NULL ‘ecpg_get_connection(connection_name)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def473]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/execute.c:1132:83: warning[-Wanalyzer-null-argument]: use of NULL ‘tobeinserted’ where non-null expected
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/execute.c:2294:1: enter_function: entry to ‘ECPGdo_descriptor’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/execute.c:2297:16: call_function: calling ‘ECPGdo’ from ‘ECPGdo_descriptor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:21:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ecpg_alloc(16, lineno)’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:124:1: enter_function: entry to ‘ecpg_add_mem’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:126:51: call_function: calling ‘ecpg_alloc’ from ‘ecpg_add_mem’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:126:51: return_function: returning to ‘ecpg_add_mem’ from ‘ecpg_alloc’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:128:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:131:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/memory.c:21:36: danger: ‘ecpg_alloc(16, lineno)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/misc.c:148:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ECPGget_sqlca()’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/misc.c:275:1: enter_function: entry to ‘ecpg_log’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/misc.c:278:33: call_function: calling ‘ECPGget_sqlca’ from ‘ecpg_log’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/misc.c:278:33: return_function: returning to ‘ecpg_log’ from ‘ECPGget_sqlca’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/ecpglib/misc.c:148:17: danger: ‘ECPGget_sqlca()’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: COMPILER_WARNING (CWE-704): [#def476]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c: scope_hint: In function ‘PGTYPESdate_defmt_asc’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c:357:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def477]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c:357:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def478]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c:358:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def479]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c:358:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def480]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c:359:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def481]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/datetime.c:359:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-457): [#def482]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/timestamp.c:759:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘replace_val’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/timestamp.c:782:1: enter_function: entry to ‘PGTYPEStimestamp_fmt_asc’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/pgtypeslib/timestamp.c:793:16: call_function: calling ‘dttofmtasc_replace’ from ‘PGTYPEStimestamp_fmt_asc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4603:54: warning[-Wanalyzer-malloc-leak]: leak of ‘base_yy_create_buffer(base_yyin, 16384)’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1653:1: enter_function: entry to ‘parse_include’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1740:19: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1743:26: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_create_buffer’ from ‘parse_include’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1744:9: return_function: returning to ‘parse_include’ from ‘base_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_switch_to_buffer’ from ‘parse_include’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4603:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4590:21: enter_function: entry to ‘base_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4594:31: call_function: inlined call to ‘base_yyalloc’ from ‘base_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4595:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4598:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4603:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4611:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1653:1: enter_function: entry to ‘parse_include’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1740:19: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1743:26: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_create_buffer’ from ‘parse_include’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1744:9: return_function: returning to ‘parse_include’ from ‘base_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_switch_to_buffer’ from ‘parse_include’
Error: CPPCHECK_WARNING (CWE-476): [#def486]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4644: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def487]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4645: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4832:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1771:1: enter_function: entry to ‘isdefine’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1776:29: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1779:43: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1788:39: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1788:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1802:25: call_function: calling ‘base_yy_scan_string’ from ‘isdefine’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4858:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4842:17: enter_function: entry to ‘base_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4851:24: call_function: inlined call to ‘base_yyalloc’ from ‘base_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4852:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4852:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.c:4860:13: call_function: calling ‘base_yy_scan_buffer’ from ‘base_yy_scan_bytes’
Error: CPPCHECK_WARNING (CWE-401): [#def490]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1607: error[memleakOnRealloc]: Common realloc mistake: 'literalbuf' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def491]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1622: error[memleakOnRealloc]: Common realloc mistake: 'literalbuf' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1802:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1771:1: enter_function: entry to ‘isdefine’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1776:29: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1779:43: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1788:39: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1788:39: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1802:25: call_function: calling ‘base_yy_scan_string’ from ‘isdefine’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1802:25: danger: ‘<return-value>’ leaks here; was allocated at [(23)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1838:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1815:1: enter_function: entry to ‘isinformixdefine’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1832:31: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1832:31: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1838:17: call_function: calling ‘base_yy_scan_string’ from ‘isinformixdefine’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/pgc.l:1838:17: danger: ‘<return-value>’ leaks here; was allocated at [(21)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def494]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37585:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37540:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37546:34: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37572:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37574:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37583:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37583:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37585:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def495]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37716:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37540:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37609:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37609:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37612:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37624:6: branch_true: following ‘true’ branch (when ‘yyn == -6177’)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37625:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37696:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37698:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/preproc.c:37716:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def496]
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:590:50: warning[-Wanalyzer-null-argument]: use of NULL ‘ind_name’ where non-null expected
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:581:1: enter_function: entry to ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:589:37: call_function: calling ‘mm_alloc’ from ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:589:37: return_function: returning to ‘ECPGdump_a_struct’ from ‘mm_alloc’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:590:41: call_function: calling ‘mm_alloc’ from ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:590:41: return_function: returning to ‘ECPGdump_a_struct’ from ‘mm_alloc’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:599:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:601:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:601:17: branch_true: following ‘true’ branch (when ‘ind_type’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:603:21: call_function: inlined call to ‘atoi’ from ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:603:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:604:25: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:612:35: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:614:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:614:17: branch_true: following ‘true’ branch (when ‘ind_p’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:614:17: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/ecpg/preproc/type.c:614:17: call_function: calling ‘ECPGdump_a_type’ from ‘ECPGdump_a_struct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6985:18: warning[-Wanalyzer-malloc-leak]: leak of ‘value_copy’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6963:1: enter_function: entry to ‘conninfo_storeval’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6985:18: call_function: calling ‘conninfo_find’ from ‘conninfo_storeval’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6985:18: return_function: returning to ‘conninfo_storeval’ from ‘conninfo_find’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6986:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6995:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6995:12: branch_false: following ‘false’ branch (when ‘uri_decode == 0’)...
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:7004:30: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:7004:30: acquire_memory: allocated here
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:7005:20: branch_false: following ‘false’ branch (when ‘value_copy’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:7012:14: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-connect.c:6985:18: danger: ‘value_copy’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-exec.c:739:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-exec.c:2310:1: enter_function: entry to ‘PQexecStart’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-exec.c:2335:26: call_function: calling ‘PQgetResult’ from ‘PQexecStart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def499]
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-secure.c:453:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘spinfo.sigpipe_pending’
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-secure.c:453:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/interfaces/libpq/fe-secure.c:453:9: danger: use of uninitialized value ‘spinfo.sigpipe_pending’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def500]
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1298:45: warning[-Wanalyzer-null-argument]: use of NULL ‘colname’ where non-null expected
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1175:1: enter_function: entry to ‘resolve_column_ref’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1206:17: call_function: inlined call to ‘list_length’ from ‘resolve_column_ref’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1272:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1275:17: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1282:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1284:28: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1284:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1287:68: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1292:40: branch_true: following ‘true’ branch (when ‘i >= 0’)...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1294:100: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_comp.c:1298:45: danger: argument 2 (‘colname’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:5129:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7429:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7434:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7545:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7547:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7547:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def502]
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:8576:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7429:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7434:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7545:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7547:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_exec.c:7547:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def503]
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1865:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1820:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1826:34: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1852:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1854:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1863:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1863:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1865:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def504]
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1996:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1820:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1889:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1889:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1892:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1904:6: branch_true: following ‘true’ branch (when ‘yyn == -249’)...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1905:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1976:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1978:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/pl/plpgsql/src/pl_gram.c:1996:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: COMPILER_WARNING: [#def505]
postgresql-18.3/postgresql-16.11/src/port/pg_crc32c_sse42.c:38:32: note[note]: called from here
Error: COMPILER_WARNING: [#def506]
postgresql-18.3/postgresql-16.11/src/port/pg_crc32c_sse42.c:45:23: note[note]: called from here
Error: COMPILER_WARNING: [#def507]
postgresql-18.3/postgresql-16.11/src/port/pg_crc32c_sse42.c:64:23: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def508]
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1403:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1282:1: enter_function: entry to ‘pg_strfromd’
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1312:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1321:20: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1329:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1331:25: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/port/snprintf.c:1364:9: call_function: calling ‘dostr’ from ‘pg_strfromd’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def509]
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1002:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:960:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:966:28: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:989:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:991:7: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1000:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1002:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1002:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def510]
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1129:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:960:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1024:6: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1024:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1027:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1039:6: branch_true: following ‘true’ branch (when ‘yyn == -14’)...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1040:5: branch_true: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1109:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1111:3: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specparse.c:1129:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1728:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1715:21: enter_function: entry to ‘spec_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1719:31: call_function: inlined call to ‘spec_yyalloc’ from ‘spec_yy_create_buffer’
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1720:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1723:9: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1728:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def512]
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1769: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def513]
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1770: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1983:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1967:17: enter_function: entry to ‘spec_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1976:24: call_function: inlined call to ‘spec_yyalloc’ from ‘spec_yy_scan_bytes’
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1977:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1977:12: branch_false: ...to here
postgresql-18.3/postgresql-16.11/src/test/isolation/specscanner.c:1985:13: call_function: calling ‘spec_yy_scan_buffer’ from ‘spec_yy_scan_bytes’
Error: COMPILER_WARNING (CWE-704): [#def515]
postgresql-18.3/postgresql-16.11/src/test/regress/pg_regress.c: scope_hint: In function ‘get_expectfile’
postgresql-18.3/postgresql-16.11/src/test/regress/pg_regress.c:682:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def516]
postgresql-18.3/postgresql-16.11/src/test/regress/pg_regress.c:682:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def517]
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:153: warning[uninitvar]: Uninitialized variable: notFullPage
Error: GCC_ANALYZER_WARNING (CWE-457): [#def518]
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:153:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘¬FullPage’
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:58:40: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:64:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:123:20: branch_false: following ‘false’ branch (when ‘itup == itupPtr’)...
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:136:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/bloom/blvacuum.c:153:9: danger: use of uninitialized value ‘¬FullPage’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def519]
postgresql-18.3/postgresql-17.9/contrib/btree_gist/btree_utils_num.c:90:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘leaf’
postgresql-18.3/postgresql-17.9/contrib/btree_gist/btree_utils_num.c:18:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/btree_gist/btree_utils_num.c:34:56: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/btree_gist/btree_utils_num.c:90:17: danger: use of uninitialized value ‘leaf’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def520]
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:971:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:935:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:958:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:960:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:969:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:971:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:971:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def521]
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:50:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -4’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:50:23: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def522]
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:51:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951]’
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:863:1: enter_function: entry to ‘cube_yyparse’
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -4’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:50:23: call_function: inlined call to ‘item_count’ from ‘cube_yyparse’
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:51:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:51:21: danger: use of uninitialized value ‘yyvsp[2305843009213693951]’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def523]
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:78:23: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -4’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 10’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -4’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubeparse.y:78:23: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1582:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1569:21: enter_function: entry to ‘cube_yy_create_buffer’
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1573:24: call_function: inlined call to ‘cube_yyalloc’ from ‘cube_yy_create_buffer’
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1574:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1577:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1582:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def525]
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1623: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def526]
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1624: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1837:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1821:17: enter_function: entry to ‘cube_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1830:24: call_function: inlined call to ‘cube_yyalloc’ from ‘cube_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1831:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1831:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/cube/cubescan.c:1839:6: call_function: calling ‘cube_yy_scan_buffer’ from ‘cube_yy_scan_bytes’
Error: CPPCHECK_WARNING (CWE-457): [#def528]
postgresql-18.3/postgresql-17.9/contrib/dblink/dblink.c:692: error[legacyUninitvar]: Uninitialized variable: conn
Error: CPPCHECK_WARNING (CWE-457): [#def529]
postgresql-18.3/postgresql-17.9/contrib/dblink/dblink.c:692: error[legacyUninitvar]: Uninitialized variable: sql
Error: CPPCHECK_WARNING (CWE-768): [#def530]
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_io.c:467: error[unknownEvaluationOrder]: Expression '(entry)++->entry' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-457): [#def531]
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_io.c:467: warning[uninitvar]: Uninitialized variable: pairs.val
Error: GCC_ANALYZER_WARNING (CWE-476): [#def532]
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:341:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:292:1: enter_function: entry to ‘hstore_delete_array’
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:307:33: call_function: calling ‘hstoreArrayToPairs’ from ‘hstore_delete_array’
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:307:33: return_function: returning to ‘hstore_delete_array’ from ‘hstoreArrayToPairs’
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:317:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:317:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:331:25: branch_true: following ‘true’ branch (when ‘i < hs_count’)...
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:335:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:335:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:339:59: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/hstore/hstore_op.c:341:40: danger: dereference of NULL ‘hstoreArrayToPairs(pg_detoast_datum((char *)*fcinfo.args[1].value), &nkeys) + (long unsigned int)j * 40’
Error: CPPCHECK_WARNING (CWE-476): [#def533]
postgresql-18.3/postgresql-17.9/contrib/intarray/_intbig_gist.c:173: warning[nullPointer]: Possible null pointer dereference: ptr
Error: CPPCHECK_WARNING (CWE-682): [#def534]
postgresql-18.3/postgresql-17.9/contrib/intarray/_intbig_gist.c:174: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def535]
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:76:17: warning[-Wanalyzer-null-argument]: use of NULL ‘left’ where non-null expected
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:192:1: enter_function: entry to ‘ltree_union’
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:207:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:240:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:240:12: branch_false: following ‘false’ branch (when ‘isalltrue == 0’)...
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:240:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/ltree/ltree_gist.c:253:18: call_function: calling ‘ltree_gist_alloc’ from ‘ltree_union’
Error: CPPCHECK_WARNING (CWE-476): [#def536]
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_gin.c:144: warning[nullPointer]: Possible null pointer dereference: (union varattrib_4b*)(trg)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def537]
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_regexp.c:2002:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_regexp.c:1972:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_regexp.c:1972:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_regexp.c:1988:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_regexp.c:1992:59: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/pg_trgm/trgm_regexp.c:2002:60: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def538]
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:449:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*x’
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:582:1: enter_function: entry to ‘_crypt_blowfish_rn’
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:605:12: branch_false: following ‘false’ branch (when ‘size > 60’)...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:614:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:614:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:620:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:621:18: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:622:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:623:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:624:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:619:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:634:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-blowfish.c:641:9: call_function: calling ‘BF_swap’ from ‘_crypt_blowfish_rn’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def539]
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-des.c:409:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((const uint32 *)key)[1]’
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-des.c:651:1: enter_function: entry to ‘px_crypt_des’
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/crypt-des.c:679:13: call_function: calling ‘des_setkey’ from ‘px_crypt_des’
Error: CPPCHECK_WARNING (CWE-457): [#def540]
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/pgp-pgsql.c:403: error[uninitvar]: Uninitialized variable: tmp
Error: CPPCHECK_WARNING (CWE-457): [#def541]
postgresql-18.3/postgresql-17.9/contrib/pgcrypto/pgp-pgsql.c:482: error[uninitvar]: Uninitialized variable: tmp
Error: CPPCHECK_WARNING (CWE-909): [#def542]
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/deparse.c:1924: error[uninitStructMember]: Uninitialized struct member: join_sql_o.len
Error: GCC_ANALYZER_WARNING (CWE-457): [#def543]
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:3419:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aggcosts.transCost.per_tuple’
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7012:1: enter_function: entry to ‘add_foreign_final_paths’
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7033:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7040:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7044:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7048:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7065:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7141:13: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7174:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7188:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7188:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7195:56: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7195:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7196:60: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7195:13: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7200:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7220:12: branch_false: following ‘false’ branch (when ‘has_final_sort == 0’)...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7222:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7225:9: call_function: calling ‘estimate_path_cost_size’ from ‘add_foreign_final_paths’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def544]
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:3420:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘aggcosts.finalCost.startup’
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:6877:1: enter_function: entry to ‘add_foreign_ordered_paths’
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:6896:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:6900:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:6918:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:6940:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:6978:9: call_function: calling ‘estimate_path_cost_size’ from ‘add_foreign_ordered_paths’
Error: CPPCHECK_WARNING (CWE-476): [#def545]
postgresql-18.3/postgresql-17.9/contrib/postgres_fdw/postgres_fdw.c:7601: warning[nullPointer]: Possible null pointer dereference: fsstate
Error: GCC_ANALYZER_WARNING (CWE-457): [#def546]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:971:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:935:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:958:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:960:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:969:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:971:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:971:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def547]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:68:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:68:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def548]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:69:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:69:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def549]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:71:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:71:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def550]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:73:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:73:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def551]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:80:33: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:80:33: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def552]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:90:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:82:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:90:34: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:90:34: danger: out-of-bounds read at byte -3 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def553]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:92:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:82:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:90:34: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:92:57: danger: out-of-bounds read at byte -4 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def554]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:98:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].bnd.val’
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:98:33: danger: use of uninitialized value ‘yyvsp[2305843009213693951].bnd.val’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def555]
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:144:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].text’
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_false: following ‘false’ branch (when ‘yyn != -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1014:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1017:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1026:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1038:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1045:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1048:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1058:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1065:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:929:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:993:6: branch_false: following ‘false’ branch (when ‘yystate != 8’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:996:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1008:6: branch_true: following ‘true’ branch (when ‘yyn == -3’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1009:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1078:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.c:1080:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:141:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:144:35: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segparse.y:144:35: danger: use of uninitialized value ‘yyvsp[2305843009213693951].text’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def556]
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1564:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1551:21: enter_function: entry to ‘seg_yy_create_buffer’
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1555:24: call_function: inlined call to ‘seg_yyalloc’ from ‘seg_yy_create_buffer’
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1556:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1559:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1564:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def557]
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1605: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def558]
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1606: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1819:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1803:17: enter_function: entry to ‘seg_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1812:24: call_function: inlined call to ‘seg_yyalloc’ from ‘seg_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1813:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1813:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/seg/segscan.c:1821:6: call_function: calling ‘seg_yy_scan_buffer’ from ‘seg_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:160:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argtypes’
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:75:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:80:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:85:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:101:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:105:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:111:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:119:27: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:129:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:133:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:133:21: branch_true: following ‘true’ branch (when ‘i < nkeys’)...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:136:76: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:139:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:146:22: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:153:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:159:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:159:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:160:33: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:160:25: danger: dereference of NULL ‘argtypes + (long unsigned int)i * 4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def561]
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:407:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘argtypes’
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:275:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:280:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:285:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:285:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:290:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:297:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:302:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:306:12: branch_false: following ‘false’ branch (when ‘nargs > 4’)...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:311:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:312:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:315:18: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:322:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:331:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:339:27: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:349:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:355:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:355:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:361:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:361:21: branch_true: following ‘true’ branch (when ‘i < nkeys’)...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:364:76: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:367:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:374:22: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:381:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:392:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:392:20: branch_false: following ‘false’ branch (when ‘newtuple’ is NULL)...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:392:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:406:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:407:33: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/spi/refint.c:407:25: danger: dereference of NULL ‘argtypes + (long unsigned int)i * 4’
Error: CPPCHECK_WARNING (CWE-476): [#def562]
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:256: warning[nullPointer]: Possible null pointer dereference: trg
Error: GCC_ANALYZER_WARNING (CWE-688): [#def563]
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:256:41: warning[-Wanalyzer-null-argument]: use of NULL ‘trg’ where non-null expected
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:337:1: enter_function: entry to ‘unaccent_init’
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:344:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:348:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:350:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:350:28: branch_false: following ‘false’ branch (when ‘fileloaded == 0’)...
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:354:45: branch_false: ...to here
postgresql-18.3/postgresql-17.9/contrib/unaccent/unaccent.c:354:36: call_function: calling ‘initTrie’ from ‘unaccent_init’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def564]
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:813:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2998:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:3024:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def565]
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:822:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2998:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:3024:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def566]
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:832:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2998:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:3024:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def567]
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:1517:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘distances’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2735:1: enter_function: entry to ‘brin_minmax_multi_union’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2823:21: call_function: calling ‘build_distances’ from ‘brin_minmax_multi_union’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2823:21: return_function: returning to ‘brin_minmax_multi_union’ from ‘build_distances’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_minmax_multi.c:2836:20: call_function: calling ‘reduce_expanded_ranges’ from ‘brin_minmax_multi_union’
Error: CPPCHECK_WARNING (CWE-476): [#def568]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:970: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def569]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:971: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def570]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:972: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def571]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:973: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def572]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:975: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def573]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:979: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def574]
postgresql-18.3/postgresql-17.9/src/backend/access/common/heaptuple.c:980: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: GCC_ANALYZER_WARNING (CWE-457): [#def575]
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:97:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:576:1: enter_function: entry to ‘index_truncate_tuple’
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:587:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:591:28: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:596:9: call_function: calling ‘index_deform_tuple’ from ‘index_truncate_tuple’
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:596:9: return_function: returning to ‘index_truncate_tuple’ from ‘index_deform_tuple’
postgresql-18.3/postgresql-17.9/src/backend/access/common/indextuple.c:597:21: call_function: inlined call to ‘index_form_tuple’ from ‘index_truncate_tuple’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def576]
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:576:25: warning[-Wanalyzer-null-argument]: use of NULL ‘newrootpg’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:816:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:822:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:823:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:823:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: CPPCHECK_WARNING (CWE-457): [#def577]
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginentrypage.c:630: error[legacyUninitvar]: Uninitialized variable: tupstore
Error: GCC_ANALYZER_WARNING (CWE-688): [#def578]
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1531:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1516:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1521:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1529:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1530:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1531:24: release_memory: using NULL here
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1531:17: danger: argument 1 (‘*rel.rd_amcache’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def579]
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1531:17: warning[-Wanalyzer-null-argument]: use of NULL ‘*rel.rd_amcache’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1559:1: enter_function: entry to ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1573:17: call_function: calling ‘_hash_getcachedmetap’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1573:17: return_function: returning to ‘_hash_getbucketbuf_from_hashkey’ from ‘_hash_getcachedmetap’
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1592:23: call_function: calling ‘_hash_getbuf’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1592:23: return_function: returning to ‘_hash_getbucketbuf_from_hashkey’ from ‘_hash_getbuf’
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1601:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1605:17: call_function: inlined call to ‘_hash_relbuf’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/postgresql-17.9/src/backend/access/hash/hashpage.c:1606:25: call_function: calling ‘_hash_getcachedmetap’ from ‘_hash_getbucketbuf_from_hashkey’
Error: CPPCHECK_WARNING (CWE-457): [#def580]
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:5877: error[legacyUninitvar]: Uninitialized variable: status
Error: CPPCHECK_WARNING (CWE-457): [#def581]
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:6446: error[legacyUninitvar]: Uninitialized variable: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def582]
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10146:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10020:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10061:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10092:12: branch_true: following ‘true’ branch (when ‘newaction == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10099:27: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10105:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10108:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10108:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10111:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10114:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10121:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10135:20: branch_true: following ‘true’ branch (when ‘prefixlen != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10140:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/heap/heapam.c:10146:63: danger: dereference of NULL ‘oldtup.t_data’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def583]
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:1163:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘split’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:934:1: enter_function: entry to ‘_bt_strategy’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:954:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:961:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:961:9: call_function: calling ‘_bt_interval_edges’ from ‘_bt_strategy’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:961:9: return_function: returning to ‘_bt_strategy’ from ‘_bt_interval_edges’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:962:20: release_memory: ‘leftinterval’ is NULL
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:962:20: call_function: calling ‘_bt_split_lastleft’ from ‘_bt_strategy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def584]
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:1179:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘split’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:934:1: enter_function: entry to ‘_bt_strategy’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:954:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:961:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:961:9: call_function: calling ‘_bt_interval_edges’ from ‘_bt_strategy’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:961:9: return_function: returning to ‘_bt_strategy’ from ‘_bt_interval_edges’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:963:21: release_memory: ‘rightinterval’ is NULL
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtsplitloc.c:963:21: call_function: calling ‘_bt_split_firstright’ from ‘_bt_strategy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def585]
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtxlog.c:387:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nposting’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtxlog.c:1014:1: enter_function: entry to ‘btree_redo’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtxlog.c:1032:25: call_function: calling ‘btree_xlog_split’ from ‘btree_redo’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def586]
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgscan.c:123:17: warning[-Wanalyzer-null-argument]: use of NULL ‘distances’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgscan.c:942:1: enter_function: entry to ‘spggetbitmap’
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgscan.c:952:9: call_function: calling ‘spgWalk’ from ‘spggetbitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def587]
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:795:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:994:1: enter_function: entry to ‘spgFormInnerTuple’
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1037:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1037:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1037:13: branch_false: following ‘false’ branch (when ‘nNodes <= 8191’)...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1043:34: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1049:12: branch_true: following ‘true’ branch (when ‘hasPrefix != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1050:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1050:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1050:17: call_function: inlined call to ‘memcpyInnerDatum’ from ‘spgFormInnerTuple’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def588]
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:800:17: warning[-Wanalyzer-null-argument]: use of NULL ‘target’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:994:1: enter_function: entry to ‘spgFormInnerTuple’
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1037:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1037:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1037:13: branch_false: following ‘false’ branch (when ‘nNodes <= 8191’)...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1043:34: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1049:12: branch_true: following ‘true’ branch (when ‘hasPrefix != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1050:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1050:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/spgist/spgutils.c:1050:17: call_function: inlined call to ‘memcpyInnerDatum’ from ‘spgFormInnerTuple’
Error: CPPCHECK_WARNING (CWE-457): [#def589]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/commit_ts.c:452: warning[uninitvar]: Uninitialized variable: values
Error: CPPCHECK_WARNING (CWE-457): [#def590]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/commit_ts.c:493: warning[uninitvar]: Uninitialized variable: values
Error: CPPCHECK_WARNING (CWE-476): [#def591]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/twophase.c:1037: error[ctunullpointer]: Null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-688): [#def592]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xact.c:6061:76: warning[-Wanalyzer-null-argument]: use of NULL ‘twophase_gid’ where non-null expected
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xact.c:5172:1: enter_function: entry to ‘AbortSubTransaction’
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xact.c:5265:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xact.c:5267:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xact.c:5277:24: call_function: calling ‘RecordTransactionAbort’ from ‘AbortSubTransaction’
Error: CPPCHECK_WARNING (CWE-682): [#def593]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlog.c:1649: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def594]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xloginsert.c:232:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xloginsert.c:1237:1: enter_function: entry to ‘log_newpage_buffer’
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xloginsert.c:1249:16: call_function: calling ‘log_newpage’ from ‘log_newpage_buffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def595]
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1724:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1662:1: enter_function: entry to ‘PerformWalRecovery’
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1712:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1715:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1717:26: call_function: calling ‘ReadRecord’ from ‘PerformWalRecovery’
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1717:26: return_function: returning to ‘PerformWalRecovery’ from ‘ReadRecord’
postgresql-18.3/postgresql-17.9/src/backend/access/transam/xlogrecovery.c:1724:21: danger: dereference of NULL ‘ReadRecord(xlogprefetcher, 23, 0, RedoStartTLI)’
Error: CPPCHECK_WARNING (CWE-457): [#def596]
postgresql-18.3/postgresql-17.9/src/backend/backup/basebackup_copy.c:418: warning[uninitvar]: Uninitialized variable: values
Error: GCC_ANALYZER_WARNING (CWE-457): [#def597]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1142:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1106:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1129:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1131:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1140:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1142:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1142:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def598]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:155:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:155:41: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:155:41: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:155:41: danger: out-of-bounds read from byte -24 till byte -21 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def599]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:175:59: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:175:59: danger: out-of-bounds read from byte -40 till byte -37 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def600]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:186:60: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:186:60: danger: out-of-bounds read from byte -48 till byte -45 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def601]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:199:64: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:188:44: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:193:53: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:199:64: danger: out-of-bounds read from byte -56 till byte -53 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def602]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:199:76: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:188:44: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:193:53: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:199:76: danger: out-of-bounds read from byte -64 till byte -57 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def603]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:220:54: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:188:44: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:220:54: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:220:54: danger: out-of-bounds read from byte -32 till byte -29 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def604]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:220:79: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:188:44: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:220:54: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:220:79: danger: out-of-bounds read from byte -64 till byte -57 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def605]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:272:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1034:1: enter_function: entry to ‘boot_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:269:60: call_function: inlined call to ‘newNode’ from ‘boot_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:272:41: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:272:41: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:272:41: danger: out-of-bounds read from byte -56 till byte -49 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def606]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:325:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1034:1: enter_function: entry to ‘boot_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:322:60: call_function: inlined call to ‘newNode’ from ‘boot_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:325:41: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:325:41: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:325:41: danger: out-of-bounds read from byte -56 till byte -49 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def607]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:379:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1185:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1188:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1197:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1209:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1216:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1219:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1229:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1236:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1100:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1164:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1167:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1179:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1180:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1249:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.c:1251:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootparse.y:379:41: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1778:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1765:21: enter_function: entry to ‘boot_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1769:24: call_function: inlined call to ‘boot_yyalloc’ from ‘boot_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1770:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1773:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1778:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def609]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1819: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def610]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:1820: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:2033:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:2017:17: enter_function: entry to ‘boot_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:2026:24: call_function: inlined call to ‘boot_yyalloc’ from ‘boot_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:2027:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:2027:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/bootstrap/bootscanner.c:2035:6: call_function: calling ‘boot_yy_scan_buffer’ from ‘boot_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def612]
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:288:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partexprs_item’
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:255:1: enter_function: entry to ‘has_partition_attrs’
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:263:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:270:26: call_function: inlined call to ‘list_head’ from ‘has_partition_attrs’
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:271:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:271:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:273:45: call_function: inlined call to ‘get_partition_col_attnum’ from ‘has_partition_attrs’
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:275:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:288:37: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/catalog/partition.c:288:37: danger: dereference of NULL ‘partexprs_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def613]
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1098:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1052:1: enter_function: entry to ‘pg_get_publication_tables’
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1059:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1070:27: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1084:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1090:57: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1090:36: call_function: calling ‘GetPublicationByName’ from ‘pg_get_publication_tables’
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1090:36: return_function: returning to ‘pg_get_publication_tables’ from ‘GetPublicationByName’
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_publication.c:1098:29: danger: dereference of NULL ‘GetPublicationByName(text_to_cstring((char *)*<unknown>), 0)’
Error: COMPILER_WARNING (CWE-704): [#def614]
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_type.c: scope_hint: In function ‘makeMultirangeTypeName’
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_type.c:959:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def615]
postgresql-18.3/postgresql-17.9/src/backend/catalog/pg_type.c:959:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:600:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘thisdata’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:280:1: enter_function: entry to ‘do_analyze_rel’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:401:29: branch_false: following ‘false’ branch (when ‘i > attr_cnt’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:419:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:440:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:21: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:494:23: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:510:19: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:519:9: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:519:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:522:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:527:27: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:537:12: branch_true: following ‘true’ branch (when ‘numrows > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:542:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:550:29: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:579:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:579:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:585:17: call_function: inlined call to ‘MemoryContextSwitchTo’ from ‘do_analyze_rel’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:593:17: call_function: inlined call to ‘update_attstats’ from ‘do_analyze_rel’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:596:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:596:31: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:598:60: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:600:25: danger: dereference of NULL ‘thisdata’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:653:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘thisdata’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:401:29: branch_false: following ‘false’ branch (when ‘i > attr_cnt’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:419:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:440:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:21: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:494:23: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:510:19: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:519:9: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:519:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:522:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:527:27: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:623:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:627:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:648:31: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:650:60: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:653:47: danger: dereference of NULL ‘thisdata’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def618]
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:848:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘thisdata’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:280:1: enter_function: entry to ‘do_analyze_rel’
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:401:29: branch_false: following ‘false’ branch (when ‘i > attr_cnt’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:419:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:440:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:21: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:489:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:494:23: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:510:19: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:519:9: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:519:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:522:12: branch_false: following ‘false’ branch (when ‘inh == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:527:27: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:537:12: branch_true: following ‘true’ branch (when ‘numrows > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:542:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:550:29: branch_false: following ‘false’ branch (when ‘attr_cnt <= i’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:579:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:579:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:580:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/analyze.c:580:25: call_function: calling ‘compute_index_stats’ from ‘do_analyze_rel’
Error: CPPCHECK_WARNING (CWE-457): [#def619]
postgresql-18.3/postgresql-17.9/src/backend/commands/conversioncmds.c:110: error[uninitvar]: Uninitialized variable: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def620]
postgresql-18.3/postgresql-17.9/src/backend/commands/copy.c:337:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/postgresql-17.9/src/backend/commands/copy.c:330:12: branch_true: following ‘true’ branch (when ‘is_from != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/commands/copy.c:337:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/copy.c:337:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/commands/copy.c:337:38: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/commands/copy.c:337:38: danger: dereference of NULL ‘rel’
Error: CPPCHECK_WARNING (CWE-476): [#def621]
postgresql-18.3/postgresql-17.9/src/backend/commands/extension.c:445: error[ctunullpointer]: Null pointer dereference: versionname
Error: CPPCHECK_WARNING (CWE-476): [#def622]
postgresql-18.3/postgresql-17.9/src/backend/commands/extension.c:445: warning[nullPointer]: Possible null pointer dereference: versionname
Error: CPPCHECK_WARNING (CWE-476): [#def623]
postgresql-18.3/postgresql-17.9/src/backend/commands/extension.c:3227: warning[nullPointer]: Possible null pointer dereference: versionName
Error: CPPCHECK_WARNING (CWE-457): [#def624]
postgresql-18.3/postgresql-17.9/src/backend/commands/policy.c:128: error[legacyUninitvar]: Uninitialized variable: polcmd
Error: CPPCHECK_WARNING (CWE-457): [#def625]
postgresql-18.3/postgresql-17.9/src/backend/commands/tablecmds.c:8723: warning[uninitvar]: Uninitialized variable: repl_val
Error: CPPCHECK_WARNING (CWE-457): [#def626]
postgresql-18.3/postgresql-17.9/src/backend/commands/tablecmds.c:8797: warning[uninitvar]: Uninitialized variable: repl_val
Error: CPPCHECK_WARNING (CWE-457): [#def627]
postgresql-18.3/postgresql-17.9/src/backend/commands/tablecmds.c:12667: error[legacyUninitvar]: Uninitialized variable: contype
Error: CPPCHECK_WARNING (CWE-457): [#def628]
postgresql-18.3/postgresql-17.9/src/backend/commands/tablespace.c:1068: warning[uninitvar]: Uninitialized variable: repl_val
Error: CPPCHECK_WARNING (CWE-476): [#def629]
postgresql-18.3/postgresql-17.9/src/backend/commands/trigger.c:4913: error[ctunullpointer]: Null pointer dereference: table
Error: CPPCHECK_WARNING (CWE-476): [#def630]
postgresql-18.3/postgresql-17.9/src/backend/commands/trigger.c:4913: warning[nullPointer]: Possible null pointer dereference: table
Error: CPPCHECK_WARNING (CWE-476): [#def631]
postgresql-18.3/postgresql-17.9/src/backend/commands/trigger.c:4929: warning[nullPointer]: Possible null pointer dereference: table
Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:176:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:137:1: enter_function: entry to ‘ExecInitJunkFilterConversion’
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:166:12: branch_true: following ‘true’ branch (when ‘cleanLength > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:168:43: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:169:21: call_function: inlined call to ‘list_head’ from ‘ExecInitJunkFilterConversion’
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:170:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:170:29: branch_true: following ‘true’ branch (when ‘i < cleanLength’)...
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:172:29: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/execJunk.c:176:46: danger: dereference of NULL ‘t’
Error: CPPCHECK_WARNING (CWE-476): [#def633]
postgresql-18.3/postgresql-17.9/src/backend/executor/execProcnode.c:391: warning[nullPointer]: Possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def634]
postgresql-18.3/postgresql-17.9/src/backend/executor/execProcnode.c:407: warning[nullPointer]: Possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def635]
postgresql-18.3/postgresql-17.9/src/backend/executor/execProcnode.c:433: error[ctunullpointer]: Null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-476): [#def636]
postgresql-18.3/postgresql-17.9/src/backend/executor/execProcnode.c:433: warning[nullPointer]: Possible null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-476): [#def637]
postgresql-18.3/postgresql-17.9/src/backend/executor/execProcnode.c:434: warning[nullPointer]: Possible null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-457): [#def638]
postgresql-18.3/postgresql-17.9/src/backend/executor/execScan.c:345: error[legacyUninitvar]: Uninitialized variable: relids
Error: GCC_ANALYZER_WARNING (CWE-457): [#def639]
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2372:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘isnull’
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2390:1: enter_function: entry to ‘do_text_output_multiline’
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2395:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2400:23: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2401:20: branch_true: following ‘true’ branch (when ‘eol’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2403:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/execTuples.c:2413:17: call_function: calling ‘do_tup_output’ from ‘do_text_output_multiline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def640]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:1344:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:3541:1: enter_function: entry to ‘ExecParallelHashTuplePrealloc’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:3554:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:3559:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:3560:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:3561:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeHash.c:3561:25: call_function: calling ‘ExecParallelHashIncreaseNumBatches’ from ‘ExecParallelHashTuplePrealloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def641]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1210:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1191:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1197:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1210:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def642]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1242:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1135:1: enter_function: entry to ‘ExecIndexBuildScanKeys’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1191:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1197:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1203:43: call_function: inlined call to ‘get_leftop’ from ‘ExecIndexBuildScanKeys’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1205:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1205:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1210:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1211:35: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1210:29: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1214:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1215:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1242:29: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def643]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1327:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1306:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1327:39: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def644]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1366:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1306:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1322:36: branch_true: following ‘true’ branch (when ‘leftop’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1322:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1327:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1328:43: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1327:37: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1331:33: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1337:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1337:37: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1340:44: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1347:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1350:44: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1354:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1361:36: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1366:37: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def645]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1451:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1288:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1428:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1428:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1438:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1446:28: branch_false: following ‘false’ branch (when ‘leftop’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1451:31: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1451:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def646]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1484:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1288:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1428:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1428:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1438:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1446:28: branch_true: following ‘true’ branch (when ‘leftop’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1446:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1451:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1452:35: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1451:29: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1455:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1456:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1475:28: branch_false: following ‘false’ branch (when ‘rightop’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1480:29: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1480:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1484:37: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1484:37: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def647]
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1565:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1175:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1288:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1428:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1428:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1547:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1547:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1558:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1560:28: branch_false: following ‘false’ branch (when ‘leftop’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1565:31: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/executor/nodeIndexscan.c:1565:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def648]
postgresql-18.3/postgresql-17.9/src/backend/lib/pairingheap.c:275:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pairs’
postgresql-18.3/postgresql-17.9/src/backend/lib/pairingheap.c:251:20: branch_true: following ‘true’ branch (when ‘next’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/lib/pairingheap.c:275:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/lib/pairingheap.c:275:9: danger: dereference of NULL ‘pairs’
Error: CPPCHECK_WARNING (CWE-457): [#def649]
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth-scram.c:1174: warning[uninitvar]: Uninitialized variable: ClientKey
Error: GCC_ANALYZER_WARNING (CWE-457): [#def650]
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2842:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2942:1: enter_function: entry to ‘PerformRadiusTransaction’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2982:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2996:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:3003:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:3020:21: branch_false: following ‘false’ branch (when ‘i >= encryptedpasswordlen’)...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:3051:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:3053:9: call_function: calling ‘radius_add_attribute’ from ‘PerformRadiusTransaction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def651]
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2897:100: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘secrets’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2847:1: enter_function: entry to ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2859:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2866:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2866:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2874:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2874:9: call_function: calling ‘sendAuthRequest’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2874:9: return_function: returning to ‘CheckRADIUSAuth’ from ‘sendAuthRequest’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2876:18: call_function: calling ‘recv_password_packet’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2876:18: return_function: returning to ‘CheckRADIUSAuth’ from ‘recv_password_packet’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2877:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2880:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2880:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2891:29: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2891:19: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2892:33: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2892:23: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2893:23: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2894:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2894:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2896:47: branch_false: following ‘false’ branch (when ‘identifiers’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2896:47: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2896:47: branch_true: following ‘true’ branch (when ‘radiusports’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2896:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:2897:100: danger: dereference of NULL ‘secrets’
Error: CPPCHECK_WARNING (CWE-457): [#def652]
postgresql-18.3/postgresql-17.9/src/backend/libpq/auth.c:3053: warning[uninitvar]: Uninitialized variable: encryptedpassword
Error: GCC_ANALYZER_WARNING (CWE-476): [#def653]
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:1347:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2583:1: enter_function: entry to ‘load_hba’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2593:16: call_function: calling ‘open_auth_file’ from ‘load_hba’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2593:16: return_function: returning to ‘load_hba’ from ‘open_auth_file’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2594:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2600:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2600:9: call_function: calling ‘tokenize_auth_file’ from ‘load_hba’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2600:9: return_function: returning to ‘load_hba’ from ‘tokenize_auth_file’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2608:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2620:32: call_function: calling ‘parse_hba_line’ from ‘load_hba’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def654]
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2706:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2689:1: enter_function: entry to ‘parse_ident_line’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2700:17: call_function: inlined call to ‘list_head’ from ‘parse_ident_line’
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2702:22: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/libpq/hba.c:2706:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def655]
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:196:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(get_user_name_or_exit(progname))’
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:147:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:152:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:185:12: branch_true: following ‘true’ branch (when ‘argc > 1’)...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:185:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:185:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:187:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:187:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:193:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:193:18: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:195:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:195:18: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:197:60: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:197:60: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/backend/main/main.c:196:17: danger: ‘strdup(get_user_name_or_exit(progname))’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def656]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:630:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:619:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:628:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:630:41: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:630:41: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def657]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:646:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:619:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:639:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:639:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:643:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:646:41: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:646:41: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def658]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:653:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:619:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:624:17: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:639:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:653:25: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def659]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:862:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*clauses.indexclauses[indexcol]’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:600:1: enter_function: entry to ‘get_join_index_paths’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:619:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:664:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/indxpath.c:664:9: call_function: calling ‘get_index_paths’ from ‘get_join_index_paths’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def660]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1551:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lcr1’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1479:1: enter_function: entry to ‘try_partitionwise_join’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1495:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1505:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1523:9: call_function: calling ‘compute_partition_bounds’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1523:9: return_function: returning to ‘try_partitionwise_join’ from ‘compute_partition_bounds’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1537:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1549:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1549:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1551:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1551:25: danger: dereference of NULL ‘lcr1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1552:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lcr2’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1479:1: enter_function: entry to ‘try_partitionwise_join’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1495:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1505:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1523:9: call_function: calling ‘compute_partition_bounds’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1523:9: return_function: returning to ‘try_partitionwise_join’ from ‘compute_partition_bounds’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1526:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1528:24: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1528:24: call_function: inlined call to ‘list_head’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1529:24: call_function: inlined call to ‘list_head’ from ‘try_partitionwise_join’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1537:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1537:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1549:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1549:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1551:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/joinrels.c:1552:25: danger: dereference of NULL ‘lcr2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def662]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/pathkeys.c:1400:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/pathkeys.c:1371:1: enter_function: entry to ‘make_pathkeys_for_sortclauses_extended’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/pathkeys.c:1382:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/pathkeys.c:1394:27: call_function: calling ‘make_pathkey_from_sortop’ from ‘make_pathkeys_for_sortclauses_extended’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/pathkeys.c:1394:27: return_function: returning to ‘make_pathkeys_for_sortclauses_extended’ from ‘make_pathkey_from_sortop’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/path/pathkeys.c:1400:21: danger: dereference of NULL ‘make_pathkey_from_sortop(root, get_sortgroupclause_expr(sortcl, tlist), *sortcl.sortop, *sortcl.nulls_first, *sortcl.tleSortGroupRef, 1)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def663]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/analyzejoins.c:1112:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/analyzejoins.c:861:1: enter_function: entry to ‘rel_is_distinct_for’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/analyzejoins.c:939:21: call_function: calling ‘query_is_distinct_for’ from ‘rel_is_distinct_for’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5104:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5093:1: enter_function: entry to ‘fix_indexqual_clause’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5102:18: call_function: inlined call to ‘replace_nestloop_params’ from ‘fix_indexqual_clause’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5102:18: call_function: inlined call to ‘replace_nestloop_params’ from ‘fix_indexqual_clause’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5104:13: danger: dereference of NULL ‘replace_nestloop_params_mutator(clause, root)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5173:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5023:1: enter_function: entry to ‘fix_indexqual_references’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5033:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5039:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5039:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5045:34: call_function: calling ‘fix_indexqual_clause’ from ‘fix_indexqual_references’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5045:34: return_function: returning to ‘fix_indexqual_references’ from ‘fix_indexqual_clause’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/createplan.c:5045:34: call_function: calling ‘fix_indexqual_clause’ from ‘fix_indexqual_references’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:4154:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partially_grouped_rel’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:7975:1: enter_function: entry to ‘create_partitionwise_grouping_paths’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:7996:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:7998:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8055:17: call_function: calling ‘create_ordinary_grouping_paths’ from ‘create_partitionwise_grouping_paths’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def667]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8231:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8206:1: enter_function: entry to ‘generate_setop_child_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8213:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8214:24: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8214:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8215:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8215:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8222:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8231:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8231:17: danger: dereference of NULL ‘lg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8232:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ct’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8206:1: enter_function: entry to ‘generate_setop_child_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8213:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8214:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8215:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8215:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8222:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8231:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/planner.c:8232:17: danger: dereference of NULL ‘ct’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def669]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/setrefs.c:2040:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*root.grouping_map’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/setrefs.c:3553:1: enter_function: entry to ‘extract_query_dependencies’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/setrefs.c:3569:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/setrefs.c:3570:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/setrefs.c:3573:16: call_function: calling ‘extract_query_dependencies_walker’ from ‘extract_query_dependencies’
Error: CPPCHECK_WARNING (CWE-476): [#def670]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/plan/setrefs.c:2136: warning[nullPointer]: Possible null pointer dereference: bestplan
Error: GCC_ANALYZER_WARNING (CWE-476): [#def671]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:121:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘target_rte’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:80:12: branch_false: following ‘false’ branch (when ‘result_relation == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:105:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:106:12: branch_false: following ‘false’ branch (when ‘command_type != 3’)...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:108:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:108:17: branch_false: following ‘false’ branch (when ‘command_type != 2’)...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:119:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:121:18: danger: dereference of NULL ‘target_rte’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def672]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:398:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:64:1: enter_function: entry to ‘preprocess_targetlist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:80:12: branch_false: following ‘false’ branch (when ‘result_relation == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:105:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:106:12: branch_true: following ‘true’ branch (when ‘command_type == 3’)...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:107:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/preptlist.c:107:25: call_function: calling ‘expand_insert_targetlist’ from ‘preprocess_targetlist’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1584:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘curColType’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1570:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1577:17: branch_true: following ‘true’ branch (when ‘subtlist’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1577:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1584:64: danger: dereference of NULL ‘curColType’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def674]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1698:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1674:1: enter_function: entry to ‘generate_setop_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1680:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_grouplist’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1681:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1681:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1686:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1698:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/prep/prepunion.c:1698:17: danger: dereference of NULL ‘lg’
Error: COMPILER_WARNING (CWE-457): [#def675]
postgresql-18.3/postgresql-17.9/src/backend/optimizer/util/clauses.c: scope_hint: In function ‘recheck_cast_function_args.isra.0’
postgresql-18.3/postgresql-17.9/src/backend/optimizer/util/clauses.c:4399:19: warning[-Wmaybe-uninitialized]: ‘actual_arg_types’ may be used uninitialized
postgresql-18.3/postgresql-17.9/src/backend/optimizer/util/clauses.c:42: included_from: Included from here.
postgresql-18.3/postgresql-17.9/src/include/parser/parse_coerce.h:85:17: note: by argument 1 of type ‘const Oid *’ to ‘enforce_generic_type_consistency’ declared here
postgresql-18.3/postgresql-17.9/src/backend/optimizer/util/clauses.c:4385:33: note: ‘actual_arg_types’ declared here
Error: CPPCHECK_WARNING (CWE-457): [#def676]
postgresql-18.3/postgresql-17.9/src/backend/parser/gram.y:16928: error[legacyUninitvar]: Uninitialized variable: encoding
Error: CPPCHECK_WARNING (CWE-457): [#def677]
postgresql-18.3/postgresql-17.9/src/backend/parser/gram.y:17372: error[legacyUninitvar]: Uninitialized variable: n
Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:972:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h_cell’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:955:1: enter_function: entry to ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:958:30: call_function: inlined call to ‘list_head’ from ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:959:40: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:959:30: call_function: inlined call to ‘list_head’ from ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:964:34: call_function: inlined call to ‘list_length’ from ‘assign_hypothetical_collations’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:970:16: branch_true: following ‘true’ branch (when ‘extra_args > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:972:58: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_collate.c:972:58: danger: dereference of NULL ‘h_cell’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def679]
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_cte.c:1122:74: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_cte.c:1207:1: enter_function: entry to ‘checkWellFormedSelectStmt’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_cte.c:1231:33: call_function: calling ‘checkWellFormedRecursionWalker’ from ‘checkWellFormedSelectStmt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2014:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lc’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2008:21: branch_true: following ‘true’ branch (when ‘i < nargs’)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2010:20: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2010:20: branch_false: following ‘false’ branch (when ‘i == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2012:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2008:21: branch_true: following ‘true’ branch (when ‘i < nargs’)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2010:20: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2014:70: danger: dereference of NULL ‘lc’
Error: CPPCHECK_WARNING (CWE-457): [#def681]
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_func.c:2271: warning[uninitvar]: Uninitialized variable: argoids
Error: GCC_ANALYZER_WARNING (CWE-476): [#def682]
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2966:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aliasp_item’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2659:1: enter_function: entry to ‘expandRTE’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2665:12: branch_true: following ‘true’ branch (when ‘colnames’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2666:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2667:12: branch_false: following ‘false’ branch (when ‘colvars’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2670:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2945:59: call_function: inlined call to ‘list_head’ from ‘expandRTE’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2951:33: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2951:33: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2961:44: branch_true: following ‘true’ branch (when ‘colnames’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2964:52: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2964:52: branch_true: following ‘true’ branch (when ‘coltype != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2966:77: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_relation.c:2966:77: danger: dereference of NULL ‘aliasp_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def683]
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10861:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10740:10: enter_function: entry to ‘core_yyrestart’
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10745:16: call_function: calling ‘core_yyensure_buffer_stack’ from ‘core_yyrestart’
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10745:16: return_function: returning to ‘core_yyrestart’ from ‘core_yyensure_buffer_stack’
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10747:27: call_function: calling ‘core_yy_create_buffer’ from ‘core_yyrestart’
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10747:27: return_function: returning to ‘core_yyrestart’ from ‘core_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10750:2: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10750:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/scan.c:10750:2: call_function: calling ‘core_yy_init_buffer’ from ‘core_yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def684]
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4039:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partexprs_item’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:3983:1: enter_function: entry to ‘get_qual_for_hash’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4020:26: call_function: inlined call to ‘list_head’ from ‘get_qual_for_hash’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4023:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4023:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4028:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4028:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4039:43: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4039:43: danger: dereference of NULL ‘partexprs_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def685]
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2516:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘start’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2496:1: enter_function: entry to ‘get_steps_using_prefix_recurse’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2520:12: branch_true: following ‘true’ branch (when ‘cur_keyno < final_keyno’)...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2530:17: call_function: inlined call to ‘for_each_cell_setup’ from ‘get_steps_using_prefix_recurse’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2534:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2530:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2546:17: call_function: inlined call to ‘for_each_cell_setup’ from ‘get_steps_using_prefix_recurse’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2546:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2546:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2553:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2556:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2570:37: call_function: calling ‘get_steps_using_prefix_recurse’ from ‘get_steps_using_prefix_recurse’
Error: CPPCHECK_WARNING (CWE-457): [#def686]
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:2696: warning[uninitvar]: Uninitialized variable: isnull
Error: GCC_ANALYZER_WARNING (CWE-476): [#def687]
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3488:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lc2’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3416:1: enter_function: entry to ‘perform_pruning_base_step’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3433:15: call_function: inlined call to ‘list_head’ from ‘perform_pruning_base_step’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3434:15: call_function: inlined call to ‘list_head’ from ‘perform_pruning_base_step’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3440:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3440:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3447:42: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3454:20: branch_false: following ‘false’ branch (when ‘keyno <= nvalues’)...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3457:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3457:20: branch_true: following ‘true’ branch (when ‘lc1’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3464:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3475:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3488:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3488:25: danger: dereference of NULL ‘lc2’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def688]
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partprune.c:3532:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘values[0]’
Error: GCC_ANALYZER_WARNING: [#def689]
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:240:32: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:221:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:223:46: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:236:17: release_resource: closed here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:238:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:240:32: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:240:32: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def690]
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:241:32: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:221:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:223:46: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:237:17: release_resource: closed here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:238:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:240:32: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:241:32: danger: ‘2’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def691]
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:737:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(syslogPipe[1], 1)’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:595:1: enter_function: entry to ‘SysLogger_Start’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:603:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:624:13: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:666:20: call_function: calling ‘logfile_getname’ from ‘SysLogger_Start’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:666:20: return_function: returning to ‘SysLogger_Start’ from ‘logfile_getname’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:709:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:719:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:719:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:730:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:737:21: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:737:20: danger: ‘dup2(syslogPipe[1], 1)’ leaks here; was opened at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def692]
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:742:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(syslogPipe[1], 2)’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:595:1: enter_function: entry to ‘SysLogger_Start’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:603:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:624:13: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:666:20: call_function: calling ‘logfile_getname’ from ‘SysLogger_Start’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:666:20: return_function: returning to ‘SysLogger_Start’ from ‘logfile_getname’
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:709:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:719:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:719:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:730:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:737:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:741:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:742:21: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/backend/postmaster/syslogger.c:742:20: danger: ‘dup2(syslogPipe[1], 2)’ leaks here; was opened at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def693]
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:1021:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:985:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:990:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:1002:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:1004:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:1006:20: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:1009:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/regex/rege_dfa.c:1021:25: danger: dereference of NULL ‘lastap.ss’
Error: CPPCHECK_WARNING (CWE-457): [#def694]
postgresql-18.3/postgresql-17.9/src/backend/replication/logical/reorderbuffer.c:4894: error[legacyUninitvar]: Uninitialized variable: chunksize
Error: GCC_ANALYZER_WARNING (CWE-457): [#def695]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1107:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1071:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1094:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1096:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1105:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1107:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1107:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def696]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:102:68: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].node’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:102:68: danger: use of uninitialized value ‘yyvsp[2305843009213693951].node’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def697]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:159:77: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:159:77: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def698]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:186:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:184:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:186:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def699]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:187:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:184:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:187:58: danger: out-of-bounds read at bit -64 but ‘yyvsa’ starts at bit 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def700]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:197:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:195:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:197:57: danger: out-of-bounds read from byte -24 till byte -17 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def701]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:198:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:195:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:198:58: danger: out-of-bounds read at bit -128 but ‘yyvsa’ starts at bit 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def702]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:206:129: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:206:129: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def703]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:212:78: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:212:78: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def704]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:271:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:270:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:271:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def705]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:287:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:285:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:287:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def706]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:301:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:999:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:299:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:301:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def707]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:367:117: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:367:117: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def708]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:378:56: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:378:56: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def709]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:385:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:385:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def710]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:396:78: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:396:78: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def711]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:408:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:408:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def712]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:412:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:412:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def713]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:416:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1150:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1153:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1162:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1174:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1181:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1184:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1194:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1201:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1065:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1129:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1132:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1144:6: branch_true: following ‘true’ branch (when ‘yyn == -36’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1145:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1214:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.c:1216:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_gram.y:416:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_scanner.c:2009:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_scanner.l:296:1: enter_function: entry to ‘replication_scanner_is_replication_command’
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_scanner.l:298:22: call_function: calling ‘replication_yylex’ from ‘replication_scanner_is_replication_command’
Error: CPPCHECK_WARNING (CWE-476): [#def715]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_scanner.c:2050: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def716]
postgresql-18.3/postgresql-17.9/src/backend/replication/repl_scanner.c:2051: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-457): [#def717]
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:980:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:938:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:944:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:967:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:969:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:978:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:980:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:980:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def718]
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.y:62:102: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:938:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1002:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1002:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1005:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1017:6: branch_false: following ‘false’ branch (when ‘yyn != -10’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1023:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1023:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1026:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1035:11: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1047:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1054:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1057:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1067:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1067:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1074:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:938:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1002:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1002:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1005:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1017:6: branch_true: following ‘true’ branch (when ‘yyn == -10’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1018:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1087:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.c:1089:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_gram.y:62:102: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1644:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1631:21: enter_function: entry to ‘syncrep_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1635:24: call_function: inlined call to ‘syncrep_yyalloc’ from ‘syncrep_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1636:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1639:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1644:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def720]
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1685: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def721]
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1686: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1899:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1883:17: enter_function: entry to ‘syncrep_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1892:24: call_function: inlined call to ‘syncrep_yyalloc’ from ‘syncrep_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1893:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1893:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/replication/syncrep_scanner.c:1901:6: call_function: calling ‘syncrep_yy_scan_buffer’ from ‘syncrep_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def723]
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:795:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1370:1: enter_function: entry to ‘dependencies_clauselist_selectivity’
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1397:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1401:82: call_function: inlined call to ‘list_length’ from ‘dependencies_clauselist_selectivity’
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1429:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1433:29: release_memory: ‘expr’ is NULL
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1438:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1445:29: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1445:29: call_function: calling ‘dependency_is_compatible_clause’ from ‘dependencies_clauselist_selectivity’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def724]
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1223:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1168:1: enter_function: entry to ‘dependency_is_compatible_expression’
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1174:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1179:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1179:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1183:36: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1183:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1186:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1189:13: call_function: inlined call to ‘is_opclause’ from ‘dependency_is_compatible_expression’
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1223:18: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/statistics/dependencies.c:1223:18: danger: dereference of NULL ‘clause’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def725]
postgresql-18.3/postgresql-17.9/src/backend/statistics/mcv.c:1710:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/postgresql-17.9/src/backend/statistics/mcv.c:2126:1: enter_function: entry to ‘mcv_clause_selectivity_or’
postgresql-18.3/postgresql-17.9/src/backend/statistics/mcv.c:2140:23: call_function: calling ‘mcv_get_match_bitmap’ from ‘mcv_clause_selectivity_or’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def726]
postgresql-18.3/postgresql-17.9/src/backend/statistics/mvdistinct.c:365:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/statistics/mvdistinct.c:355:1: enter_function: entry to ‘pg_ndistinct_out’
postgresql-18.3/postgresql-17.9/src/backend/statistics/mvdistinct.c:358:30: call_function: calling ‘statext_ndistinct_deserialize’ from ‘pg_ndistinct_out’
postgresql-18.3/postgresql-17.9/src/backend/statistics/mvdistinct.c:358:30: return_function: returning to ‘pg_ndistinct_out’ from ‘statext_ndistinct_deserialize’
postgresql-18.3/postgresql-17.9/src/backend/statistics/mvdistinct.c:365:25: danger: dereference of NULL ‘statext_ndistinct_deserialize(pg_detoast_datum_packed((char *)*fcinfo.args[0].value))’
Error: CPPCHECK_WARNING (CWE-909): [#def727]
postgresql-18.3/postgresql-17.9/src/backend/storage/lmgr/lmgr.c:723: error[uninitStructMember]: Uninitialized struct member: callback.previous
Error: GCC_ANALYZER_WARNING (CWE-457): [#def728]
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:524:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*itemidptr.itemoff’
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:699:1: enter_function: entry to ‘PageRepairFragmentation’
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:723:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:725:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:723:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:727:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:723:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:736:17: call_function: inlined call to ‘PageGetMaxOffsetNumber’ from ‘PageRepairFragmentation’
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:736:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:740:37: branch_false: following ‘false’ branch (when ‘i > nline’)...
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:777:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:778:12: branch_false: following ‘false’ branch (when ‘nstorage != 0’)...
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:786:39: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:786:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:792:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/page/bufpage.c:792:17: call_function: calling ‘compactify_tuples’ from ‘PageRepairFragmentation’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def729]
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:495:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1610:1: enter_function: entry to ‘_mdfd_getseg’
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1625:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1632:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1632:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1642:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1652:18: branch_true: following ‘true’ branch (when ‘nextsegno <= targetseg’)...
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1654:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1654:39: call_function: calling ‘_mdnblocks’ from ‘_mdfd_getseg’
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1654:39: return_function: returning to ‘_mdfd_getseg’ from ‘_mdnblocks’
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1659:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1662:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/storage/smgr/md.c:1684:33: call_function: calling ‘mdextend’ from ‘_mdfd_getseg’
Error: CPPCHECK_WARNING (CWE-457): [#def730]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/dict_synonym.c:230: error[uninitvar]: Uninitialized variables: &key.outlen, &key.flags
Error: GCC_ANALYZER_WARNING (CWE-476): [#def731]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/ts_parse.c:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
postgresql-18.3/postgresql-17.9/src/backend/tsearch/ts_parse.c:540:1: enter_function: entry to ‘hlparsetext’
postgresql-18.3/postgresql-17.9/src/backend/tsearch/ts_parse.c:590:38: call_function: calling ‘LexizeExec’ from ‘hlparsetext’
Error: CPPCHECK_WARNING (CWE-476): [#def732]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser.c:196: error[nullPointer]: Null pointer dereference
Error: CPPCHECK_WARNING (CWE-476): [#def733]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser.c:196: error[nullPointer]: Null pointer dereference: lex
Error: CPPCHECK_WARNING (CWE-476): [#def734]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:454: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def735]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:454: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def736]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:455: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def737]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:455: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def738]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:456: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def739]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:456: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def740]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:457: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def741]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:457: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def742]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:458: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def743]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:458: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def744]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:459: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def745]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:459: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def746]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:460: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def747]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:460: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def748]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:461: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def749]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:461: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def750]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:462: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def751]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:462: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def752]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:470: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def753]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:470: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def754]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:477: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def755]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:477: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def756]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:483: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def757]
postgresql-18.3/postgresql-17.9/src/backend/tsearch/wparser_def.c:489: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-457): [#def758]
postgresql-18.3/postgresql-17.9/src/backend/utils/activity/backend_status.c:1108: error[uninitvar]: Uninitialized variables: &key.backendStatus, &key.backend_xid, &key.backend_xmin, &key.backend_subxact_count, &key.backend_subxact_overflowed
Error: CPPCHECK_WARNING (CWE-457): [#def759]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:1351: warning[uninitvar]: Uninitialized variable: dim
Error: CPPCHECK_WARNING (CWE-457): [#def760]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:1352: warning[uninitvar]: Uninitialized variable: lBound
Error: CPPCHECK_WARNING (CWE-457): [#def761]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:1697: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def762]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:2902: warning[uninitvar]: Uninitialized variable: dim
Error: GCC_ANALYZER_WARNING (CWE-476): [#def763]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3778:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bitmap’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3773:18: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3773:18: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3776:16: branch_true: following ‘true’ branch (when ‘nelems > 7’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3778:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3778:21: danger: dereference of NULL ‘bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def764]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3788:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bitmap’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3773:18: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3773:18: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3776:16: branch_false: following ‘false’ branch (when ‘nelems <= 7’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3776:16: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3786:16: branch_true: following ‘true’ branch (when ‘nelems > 0’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3788:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:3788:22: danger: dereference of NULL ‘bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def765]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:4974:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘destbitmap’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5697:1: enter_function: entry to ‘makeArrayResultArr’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5707:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5718:54: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5744:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5745:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5745:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5745:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/arrayfuncs.c:5745:25: call_function: calling ‘array_bitmap_copy’ from ‘makeArrayResultArr’
Error: CPPCHECK_WARNING (CWE-457): [#def766]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/dbsize.c:607: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def767]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/inet_cidr_ntop.c:285: warning[uninitvar]: Uninitialized variable: outbuf
Error: CPPCHECK_WARNING (CWE-457): [#def768]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonb.c:101: error[legacyUninitvar]: Uninitialized variable: nbytes
Error: CPPCHECK_WARNING (CWE-457): [#def769]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonb.c:101: error[legacyUninitvar]: Uninitialized variable: str
Error: CPPCHECK_WARNING (CWE-457): [#def770]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonbsubs.c:152: error[legacyUninitvar]: Uninitialized variable: subExpr
Error: CPPCHECK_WARNING (CWE-476): [#def771]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonfuncs.c:5815: warning[nullPointer]: Possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-457): [#def772]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath.c:127: error[legacyUninitvar]: Uninitialized variable: nbytes
Error: CPPCHECK_WARNING (CWE-457): [#def773]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath.c:127: error[legacyUninitvar]: Uninitialized variable: str
Error: CPPCHECK_WARNING (CWE-457): [#def774]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_exec.c:1318: error[legacyUninitvar]: Uninitialized variable: datum
Error: CPPCHECK_WARNING (CWE-457): [#def775]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_exec.c:1391: error[legacyUninitvar]: Uninitialized variable: bval
Error: CPPCHECK_WARNING (CWE-457): [#def776]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_exec.c:1598: error[legacyUninitvar]: Uninitialized variable: datum
Error: GCC_ANALYZER_WARNING (CWE-457): [#def777]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1234:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1192:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1198:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1221:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1223:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1232:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1234:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1234:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def778]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1361:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1192:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1256:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1256:6: branch_false: following ‘false’ branch (when ‘yystate != 5’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1259:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1271:6: branch_false: following ‘false’ branch (when ‘yyn != -47’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1277:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1277:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1280:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1311:6: branch_true: following ‘true’ branch (when ‘yyn <= 0’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1315:7: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_gram.c:1361:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: CPPCHECK_WARNING (CWE-476): [#def779]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5369: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-476): [#def780]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5369:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5253:10: enter_function: entry to ‘jsonpath_yyrestart’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5257:16: call_function: calling ‘jsonpath_yyensure_buffer_stack’ from ‘jsonpath_yyrestart’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5257:16: return_function: returning to ‘jsonpath_yyrestart’ from ‘jsonpath_yyensure_buffer_stack’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5259:27: call_function: calling ‘jsonpath_yy_create_buffer’ from ‘jsonpath_yyrestart’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5259:27: return_function: returning to ‘jsonpath_yyrestart’ from ‘jsonpath_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5262:2: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5262:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5262:2: call_function: calling ‘jsonpath_yy_init_buffer’ from ‘jsonpath_yyrestart’
Error: CPPCHECK_WARNING (CWE-476): [#def781]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/jsonpath_scan.c:5370: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def782]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:510: warning[nullPointer]: Possible null pointer dereference: blocked_instance
Error: GCC_ANALYZER_WARNING (CWE-476): [#def783]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:510:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘blocked_instance’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:483:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:485:43: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:497:29: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:509:58: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/lockfuncs.c:510:61: danger: dereference of NULL ‘blocked_instance’
Error: CPPCHECK_WARNING (CWE-457): [#def784]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/misc.c:760: warning[uninitvar]: Uninitialized variable: values
Error: CPPCHECK_WARNING (CWE-457): [#def785]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/pg_locale.c:1384: error[legacyUninitvar]: Uninitialized variable: localeptr
Error: CPPCHECK_WARNING (CWE-457): [#def786]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/pg_locale.c:1450: error[legacyUninitvar]: Uninitialized variable: localeptr
Error: CPPCHECK_WARNING (CWE-457): [#def787]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/pg_locale.c:2138: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def788]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/pg_locale.c:2174: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-476): [#def789]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/rangetypes.c:2546: error[ctunullpointer]: Null pointer dereference: value
Error: GCC_ANALYZER_WARNING (CWE-457): [#def790]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:2169:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vardata.statsTuple’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7649:1: enter_function: entry to ‘gincostestimate’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7655:34: call_function: calling ‘get_quals_from_indexclauses’ from ‘gincostestimate’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7655:34: return_function: returning to ‘gincostestimate’ from ‘get_quals_from_indexclauses’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7786:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7791:17: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7796:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7806:33: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7806:33: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7810:115: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/selfuncs.c:7808:49: call_function: calling ‘gincost_scalararrayopexpr’ from ‘gincostestimate’
Error: CPPCHECK_WARNING (CWE-457): [#def791]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/timestamp.c:3162: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def792]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/timestamp.c:3317: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-190): [#def793]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/tsgistidx.c:197: error[integerOverflow]: Signed integer underflow for expression '*(int32*)&c'.
Error: CPPCHECK_WARNING (CWE-476): [#def794]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/varlena.c:464: warning[nullPointer]: Possible null pointer dereference: rp
Error: COMPILER_WARNING (CWE-704): [#def795]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/xid8funcs.c: scope_hint: In function ‘is_visible_fxid’
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/xid8funcs.c:198:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def796]
postgresql-18.3/postgresql-17.9/src/backend/utils/adt/xid8funcs.c:198:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-476): [#def797]
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/catcache.c:2322: warning[nullPointer]: Possible null pointer dereference: srckeys
Error: GCC_ANALYZER_WARNING (CWE-476): [#def798]
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:2439:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5538:1: enter_function: entry to ‘RelationGetIdentityKeyBitmap’
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5547:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5551:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5551:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5557:23: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5560:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5564:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/relcache.c:5564:21: call_function: calling ‘RelationIdGetRelation’ from ‘RelationGetIdentityKeyBitmap’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def799]
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:503:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&mapdicts’
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:424:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:427:43: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:432:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:435:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:485:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:487:80: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:490:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:492:28: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:492:28: branch_false: following ‘false’ branch (when ‘maxtokentype <= toktype’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:494:28: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:494:28: branch_true: following ‘true’ branch (when ‘maxtokentype < toktype’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:497:36: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:497:36: branch_false: following ‘false’ branch (when ‘ndicts <= 0’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:507:47: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:485:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:487:80: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:490:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:492:28: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:492:28: branch_false: following ‘false’ branch (when ‘maxtokentype <= toktype’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:494:28: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:494:28: branch_true: following ‘true’ branch (when ‘maxtokentype < toktype’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:497:36: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/ts_cache.c:503:41: danger: use of uninitialized value ‘&mapdicts’ here
Error: CPPCHECK_WARNING (CWE-457): [#def800]
postgresql-18.3/postgresql-17.9/src/backend/utils/cache/typcache.c:2714: warning[uninitvar]: Uninitialized variable: &srch.sort_order
Error: GCC_ANALYZER_WARNING (CWE-476): [#def801]
postgresql-18.3/postgresql-17.9/src/backend/utils/init/postinit.c:1313:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/utils/init/postinit.c:1262:1: enter_function: entry to ‘process_startup_options’
postgresql-18.3/postgresql-17.9/src/backend/utils/init/postinit.c:1304:19: call_function: inlined call to ‘list_head’ from ‘process_startup_options’
postgresql-18.3/postgresql-17.9/src/backend/utils/init/postinit.c:1305:16: branch_true: following ‘true’ branch (when ‘gucopts’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/utils/init/postinit.c:1310:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/init/postinit.c:1313:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def802]
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.c:1629:54: warning[-Wanalyzer-malloc-leak]: leak of ‘GUC_yy_create_buffer(fp, 16384)’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:573:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:586:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:586:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:593:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:595:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:595:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.c:1629:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:573:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:586:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:586:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:593:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:595:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:595:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: CPPCHECK_WARNING (CWE-476): [#def804]
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.c:1670: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def805]
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.c:1671: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def806]
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:384:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:573:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:586:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:586:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:593:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:595:47: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc-file.l:595:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def807]
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6679:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘eqsgn’
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6651:12: branch_false: following ‘false’ branch (when ‘array’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6655:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6655:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6659:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6661:21: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6668:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/misc/guc.c:6679:17: danger: dereference of NULL ‘eqsgn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def808]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:917:20: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:917:20: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: danger: ‘block’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def809]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:923:24: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:917:20: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:919:38: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:922:12: branch_true: following ‘true’ branch (when ‘block’ is NULL)...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:923:24: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/aset.c:923:24: danger: ‘block’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def810]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:845:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1837:1: enter_function: entry to ‘destroy_superblock’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1839:31: call_function: calling ‘dsa_get_address’ from ‘destroy_superblock’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1839:31: return_function: returning to ‘destroy_superblock’ from ‘dsa_get_address’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1888:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1889:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1901:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1902:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1902:17: call_function: calling ‘dsa_free’ from ‘destroy_superblock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def811]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1840:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1837:1: enter_function: entry to ‘destroy_superblock’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1839:31: call_function: calling ‘dsa_get_address’ from ‘destroy_superblock’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1839:31: return_function: returning to ‘destroy_superblock’ from ‘dsa_get_address’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:1840:46: danger: dereference of NULL ‘dsa_get_address(area, span_pointer)’
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def812]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2029:33: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘64’)
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2010:1: enter_function: entry to ‘get_best_segment’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2015:9: call_function: calling ‘check_for_freed_segments_locked’ from ‘get_best_segment’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2015:9: return_function: returning to ‘get_best_segment’ from ‘check_for_freed_segments_locked’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2021:20: call_function: inlined call to ‘contiguous_pages_to_segment_bin’ from ‘get_best_segment’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2022:18: branch_true: following ‘true’ branch (when ‘bin != 16’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2029:59: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/dsa.c:2029:33: danger: shift by count ‘4294967295’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def813]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1441:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result.index’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1476:1: enter_function: entry to ‘FreePageManagerPutInternal’
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1489:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1491:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1491:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1499:26: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1499:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1509:26: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1509:25: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1525:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1525:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1527:33: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1527:33: branch_false: following ‘false’ branch (when ‘soft == 0’)...
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1529:34: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1529:34: call_function: calling ‘FreePageManagerGetInternal’ from ‘FreePageManagerPutInternal’
Error: CPPCHECK_WARNING (CWE-457): [#def814]
postgresql-18.3/postgresql-17.9/src/backend/utils/mmgr/freepage.c:1538: error[legacyUninitvar]: Uninitialized variable: root
Error: GCC_ANALYZER_WARNING (CWE-457): [#def815]
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:546:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘read_page’
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:505:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:509:22: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:516:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:524:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:584:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:586:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:505:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:509:22: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:516:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:524:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/utils/sort/sharedtuplestore.c:546:29: danger: use of uninitialized value ‘read_page’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def816]
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:364:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "wb")’
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:359:16: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:360:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:364:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:364:12: danger: ‘fopen(filename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def817]
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:364:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "wb")’
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:359:16: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:360:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:364:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_basebackup/bbstreamer_file.c:364:12: danger: ‘fopen(filename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def818]
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:119:17: warning[-Wanalyzer-jump-through-null]: jump through null pointer
branch_false: following ‘false’ branch (when ‘copy_method > 2’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:98:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:98:12: branch_false: following ‘false’ branch (when ‘dry_run == 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:109:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:109:20: branch_false: following ‘false’ branch (when ‘strategy_name’ is NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:112:26: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_combinebackup/copy_file.c:119:17: danger: jump through null pointer here
Error: CPPCHECK_WARNING (CWE-476): [#def819]
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/parallel.c:504: warning[nullPointer]: Possible null pointer dereference: slot
Error: CPPCHECK_WARNING (CWE-476): [#def820]
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_backup_archiver.c:2283: warning[nullPointer]: Possible null pointer dereference: fh
Error: CPPCHECK_WARNING (CWE-457): [#def821]
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:1441: error[legacyUninitvar]: Uninitialized variable: archiveFormat
Error: GCC_ANALYZER_WARNING (CWE-476): [#def822]
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12467:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘probin’
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12348:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12351:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12356:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12426:43: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12431:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12441:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12463:12: branch_false: following ‘false’ branch (when ‘prosqlbody’ is NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12467:18: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:12467:18: danger: dereference of NULL ‘probin’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def823]
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13942:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘collcollate’
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13863:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13866:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13926:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13931:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13931:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13940:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13940:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13942:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13942:21: danger: dereference of NULL ‘collcollate’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def824]
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13944:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘collctype’
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13863:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13866:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13926:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13927:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13931:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13940:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13940:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13942:21: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13942:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13942:20: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_dump/pg_dump.c:13944:21: danger: dereference of NULL ‘collctype’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def825]
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:536:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:23: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:536:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:536:22: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def826]
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:536:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:23: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:536:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:536:22: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def827]
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:545:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:23: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:543:16: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:545:12: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def828]
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:545:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("PG_VERSION", "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:23: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:529:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:534:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:543:16: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_resetwal/pg_resetwal.c:545:12: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def829]
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:318:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:318:31: danger: infinite loop here
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:318:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:318:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:320:42: branch_false: when ‘writes >= writes_per_op’: always following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:318:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def830]
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:421:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:421:31: danger: infinite loop here
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:421:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:421:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:423:42: branch_false: when ‘writes >= writes_per_op’: always following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:421:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def831]
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:486:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:486:31: danger: infinite loop here
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:486:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:486:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:488:42: branch_false: if it ever follows ‘false’ branch, it will always do so...
postgresql-18.3/postgresql-17.9/src/bin/pg_test_fsync/pg_test_fsync.c:486:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def832]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:36: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:31: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:132:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:134:34: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:134:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:136:37: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:36: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def833]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:37: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:31: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:132:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:134:34: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:134:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:136:37: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:36: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:50: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:37: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def834]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:153:40: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:31: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:128:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:132:24: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:134:34: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:134:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:136:37: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:138:36: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:153:40: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:155:37: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:153:40: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def835]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:202:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:84:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:86:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:103:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:121:12: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:121:13: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:121:13: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:188:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:192:9: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:192:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:198:23: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:198:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:202:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:202:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:202:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:209:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:212:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:215:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:217:29: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/controldata.c:202:13: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(25)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def836]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:45:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:383:1: enter_function: entry to ‘check_bin_dir’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:395:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:395:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:396:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:396:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:397:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:397:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/exec.c:404:9: call_function: calling ‘get_bin_version’ from ‘check_bin_dir’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def837]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:213:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:42:1: enter_function: entry to ‘gen_db_file_maps’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:62:16: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:65:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:71:20: branch_true: following ‘true’ branch (when ‘new_rel’ is NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:77:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/info.c:77:25: call_function: calling ‘report_unmatched_relation’ from ‘gen_db_file_maps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def838]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:446:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:418:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:420:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:424:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:432:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:446:23: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:446:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:447:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:446:13: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def839]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:499:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:476:12: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:484:32: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:492:27: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:492:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:492:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:496:26: branch_true: following ‘true’ branch (when ‘lineno != 6’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:499:29: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:499:28: danger: ‘fopen(&filename, "r")’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def840]
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:499:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, "r")’
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:476:12: branch_true: following ‘true’ branch (when ‘live_check != 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:484:32: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:492:27: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:492:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:492:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:496:26: branch_true: following ‘true’ branch (when ‘lineno != 6’)...
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:499:29: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_upgrade/option.c:499:28: danger: ‘fopen(&filename, "r")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-704): [#def841]
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c: scope_hint: In function ‘split_path’
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:166:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def842]
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:166:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def843]
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:534:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, "w")’
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:494:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:505:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:508:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:514:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:514:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:517:24: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:520:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:521:50: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:530:24: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:531:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:534:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:534:20: danger: ‘fopen(&filename, "w")’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def844]
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:534:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, "w")’
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:494:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:505:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:508:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:514:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:514:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:517:24: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:520:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:521:50: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:530:24: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:531:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:534:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pg_waldump/pg_waldump.c:534:20: danger: ‘fopen(&filename, "w")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def845]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1113:11: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1120:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1120:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1133:10: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: danger: ‘yyptr’ leaks here; was allocated at [(33)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def846]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def847]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1118:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvs’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1118:9: danger: use of uninitialized value ‘yyvs’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def848]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1244:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.ival’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1194:6: branch_true: following ‘true’ branch (when ‘yyn <= 0’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1196:10: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1196:10: branch_false: following ‘false’ branch (when ‘yyn != -1’)...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1198:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprparse.c:1244:3: danger: use of uninitialized value ‘*<unknown>.ival’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def849]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.c:1999:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:343:14: call_function: calling ‘expr_yylex’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def850]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.c:2042:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:343:14: call_function: calling ‘expr_yylex’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def851]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.c:2162:3: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:334:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:335:56: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:335:10: call_function: calling ‘expr_yy_switch_to_buffer’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def852]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.c:2183:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:321:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:334:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:335:56: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/pgbench/exprscan.l:335:10: call_function: calling ‘expr_yy_switch_to_buffer’ from ‘expr_lex_one_word’
Error: CPPCHECK_WARNING (CWE-457): [#def853]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/pgbench.c:1622: warning[uninitvar]: Uninitialized variables: &key.svalue, &key.value
Error: COMPILER_WARNING (CWE-704): [#def854]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/pgbench.c: scope_hint: In function ‘parseScriptWeight’
postgresql-18.3/postgresql-17.9/src/bin/pgbench/pgbench.c:6235:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def855]
postgresql-18.3/postgresql-17.9/src/bin/pgbench/pgbench.c:6235:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def856]
postgresql-18.3/postgresql-17.9/src/bin/psql/crosstabview.c:363: error[uninitvar]: Uninitialized variables: &elt.sort_value, &elt.rank
Error: GCC_ANALYZER_WARNING (CWE-401): [#def857]
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.c:2486:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:687:1: enter_function: entry to ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:697:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:697:10: return_function: returning to ‘psql_scan_slash_command_end’ from ‘slash_yy_switch_to_buffer’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:705:2: call_function: calling ‘slash_yylex’ from ‘psql_scan_slash_command_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def858]
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.c:2529:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:687:1: enter_function: entry to ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:697:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_command_end’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:697:10: return_function: returning to ‘psql_scan_slash_command_end’ from ‘slash_yy_switch_to_buffer’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:705:2: call_function: calling ‘slash_yylex’ from ‘psql_scan_slash_command_end’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.c:2649:3: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:549:8: enter_function: entry to ‘psql_scan_slash_option’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:578:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:579:10: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:579:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_option’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.c:2670:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:549:8: enter_function: entry to ‘psql_scan_slash_option’
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:578:19: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:579:10: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:579:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_option’
Error: CPPCHECK_WARNING (CWE-562): [#def861]
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:501: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def862]
postgresql-18.3/postgresql-17.9/src/bin/psql/psqlscanslash.l:575: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def863]
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:863:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cell’
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:489:26: release_memory: ‘dbtables.head’ is NULL
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:489:26: release_memory: ‘dbtables.head’ is NULL
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:773:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:784:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:785:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:798:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:833:9: release_memory: ‘cell’ is NULL
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:839:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:845:29: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:846:20: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:852:62: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/bin/scripts/vacuumdb.c:863:17: danger: dereference of NULL ‘cell’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def864]
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:539:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:474:1: enter_function: entry to ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:489:9: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:489:9: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:492:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:500:32: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:502:36: call_function: calling ‘blockreftable_iterate’ from ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:502:36: return_function: returning to ‘WriteBlockRefTable’ from ‘blockreftable_iterate’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:502:24: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:517:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:521:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:523:70: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:528:25: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:528:25: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:538:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:540:68: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:539:61: danger: dereference of NULL ‘blockreftable_lookup(*brtab.hash, key)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def865]
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:543:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:474:1: enter_function: entry to ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:489:9: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:489:9: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:492:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:500:32: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:502:36: call_function: calling ‘blockreftable_iterate’ from ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:502:36: return_function: returning to ‘WriteBlockRefTable’ from ‘blockreftable_iterate’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:502:24: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:517:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:521:29: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:523:70: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:528:25: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:528:25: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:538:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:543:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/blkreftable.c:543:41: danger: dereference of NULL ‘blockreftable_lookup(*brtab.hash, key)’
Error: COMPILER_WARNING (CWE-704): [#def866]
postgresql-18.3/postgresql-17.9/src/common/compression.c: scope_hint: In function ‘parse_compress_options’
postgresql-18.3/postgresql-17.9/src/common/compression.c:458:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def867]
postgresql-18.3/postgresql-17.9/src/common/compression.c:458:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def868]
postgresql-18.3/postgresql-17.9/src/common/encnames.c:540: warning[uninitvar]: Uninitialized variable: newkey
Error: CPPCHECK_WARNING (CWE-457): [#def869]
postgresql-18.3/postgresql-17.9/src/common/jsonapi.c:1315: warning[uninitvar]: Uninitialized variable: lex->inc_state
Error: GCC_ANALYZER_WARNING (CWE-775): [#def870]
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:180:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘termout’
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:96:19: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:119:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:174:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:180:16: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:180:16: danger: ‘termout’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def871]
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:180:16: warning[-Wanalyzer-malloc-leak]: leak of ‘termout’
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:96:19: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:119:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:174:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:180:16: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/common/sprompt.c:180:16: danger: ‘termout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def872]
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:909:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘width_header’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3549:1: enter_function: entry to ‘printQuery’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3557:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3561:55: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3560:9: call_function: calling ‘printTableInit’ from ‘printQuery’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3560:9: return_function: returning to ‘printQuery’ from ‘printTableInit’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3567:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3567:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3601:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3609:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3609:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def873]
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:1040:17: warning[-Wanalyzer-null-argument]: use of NULL ‘bytes_output’ where non-null expected
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3549:1: enter_function: entry to ‘printQuery’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3557:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3561:55: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3560:9: call_function: calling ‘printTableInit’ from ‘printQuery’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3560:9: return_function: returning to ‘printQuery’ from ‘printTableInit’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3567:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3567:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3601:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3609:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3609:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def874]
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3432:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fout’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3549:1: enter_function: entry to ‘printQuery’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3557:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3561:55: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3560:9: call_function: calling ‘printTableInit’ from ‘printQuery’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3560:9: return_function: returning to ‘printQuery’ from ‘printTableInit’
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3567:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3567:21: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3601:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3609:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/print.c:3609:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def875]
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.c:4584:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1127:8: enter_function: entry to ‘psql_scan’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1142:10: call_function: calling ‘psql_yy_switch_to_buffer’ from ‘psql_scan’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1142:10: return_function: returning to ‘psql_scan’ from ‘psql_yy_switch_to_buffer’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1147:14: call_function: calling ‘psql_yylex’ from ‘psql_scan’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def876]
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.c:4627:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1127:8: enter_function: entry to ‘psql_scan’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1142:10: call_function: calling ‘psql_yy_switch_to_buffer’ from ‘psql_scan’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1142:10: return_function: returning to ‘psql_scan’ from ‘psql_yy_switch_to_buffer’
postgresql-18.3/postgresql-17.9/src/fe_utils/psqlscan.l:1147:14: call_function: calling ‘psql_yylex’ from ‘psql_scan’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def877]
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:142:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, <unknown>)’
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:138:14: acquire_resource: opened here
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:139:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:142:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:142:13: danger: ‘fopen(&filename, <unknown>)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def878]
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:142:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, <unknown>)’
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:138:14: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:139:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:142:13: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/fe_utils/recovery_gen.c:142:13: danger: ‘fopen(&filename, <unknown>)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def879]
postgresql-18.3/postgresql-17.9/src/include/access/tableam.h:1063:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sscan’
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:795:1: enter_function: entry to ‘systable_inplace_update_begin’
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:815:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:815:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:840:20: branch_false: following ‘false’ branch (when ‘retries != 10001’)...
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:843:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:845:24: call_function: calling ‘systable_beginscan’ from ‘systable_inplace_update_begin’
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:845:24: return_function: returning to ‘systable_inplace_update_begin’ from ‘systable_beginscan’
postgresql-18.3/postgresql-17.9/src/backend/access/index/genam.c:847:26: call_function: calling ‘systable_getnext’ from ‘systable_inplace_update_begin’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def880]
postgresql-18.3/postgresql-17.9/src/include/access/tupmacs.h:28:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:553:1: enter_function: entry to ‘brin_deform_tuple’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:565:16: branch_true: following ‘true’ branch (when ‘dMemtuple’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:565:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:565:28: call_function: calling ‘brin_memtuple_initialize’ from ‘brin_deform_tuple’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:565:28: return_function: returning to ‘brin_deform_tuple’ from ‘brin_memtuple_initialize’
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:568:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:572:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:583:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:587:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/brin/brin_tuple.c:587:9: call_function: calling ‘brin_deconstruct_tuple’ from ‘brin_deform_tuple’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def881]
postgresql-18.3/postgresql-17.9/src/include/lib/radixtree.h:1123:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘slot’
postgresql-18.3/postgresql-17.9/src/backend/access/common/tidstore.c:432:1: enter_function: entry to ‘TidStoreIsMember’
postgresql-18.3/postgresql-17.9/src/backend/access/common/tidstore.c:440:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/common/tidstore.c:443:24: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/common/tidstore.c:443:24: call_function: calling ‘local_ts_find’ from ‘TidStoreIsMember’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def882]
postgresql-18.3/postgresql-17.9/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elemops’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:3868:1: enter_function: entry to ‘make_partition_op_expr’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:3876:19: call_function: calling ‘get_partition_operator’ from ‘make_partition_op_expr’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:3876:19: return_function: returning to ‘make_partition_op_expr’ from ‘get_partition_operator’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:3951:50: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:3951:100: call_function: inlined call to ‘list_nth_cell’ from ‘make_partition_op_expr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def883]
postgresql-18.3/postgresql-17.9/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘expanded_groups’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_agg.c:1856:1: enter_function: entry to ‘expand_grouping_sets’
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_agg.c:1863:12: branch_false: following ‘false’ branch (when ‘groupingSets’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_agg.c:1863:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_agg.c:1866:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/parser/parse_agg.c:1889:9: call_function: inlined call to ‘list_nth_cell’ from ‘expand_grouping_sets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def884]
postgresql-18.3/postgresql-17.9/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘or_expr_args’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4275:1: enter_function: entry to ‘get_qual_for_range’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4300:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4303:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4308:29: branch_true: following ‘true’ branch (when ‘k < nparts’)...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4310:67: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4316:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4319:33: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4323:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4326:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4326:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4330:45: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4330:45: call_function: calling ‘get_qual_for_range’ from ‘get_qual_for_range’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4330:45: return_function: returning to ‘get_qual_for_range’ from ‘get_qual_for_range’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4336:70: call_function: inlined call to ‘list_length’ from ‘get_qual_for_range’
postgresql-18.3/postgresql-17.9/src/backend/partitioning/partbounds.c:4338:78: call_function: inlined call to ‘list_nth_cell’ from ‘get_qual_for_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def885]
postgresql-18.3/postgresql-17.9/src/include/storage/block.h:105:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:648:1: enter_function: entry to ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:657:25: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:659:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:665:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:690:57: call_function: inlined call to ‘BTreeTupleGetNPosting’ from ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:696:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:709:42: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:709:42: call_function: calling ‘BTreeTupleGetHeapTID’ from ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:709:42: return_function: returning to ‘_bt_bottomupdel_finish_pending’ from ‘BTreeTupleGetHeapTID’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtdedup.c:712:48: call_function: inlined call to ‘ItemPointerGetBlockNumber’ from ‘_bt_bottomupdel_finish_pending’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def886]
postgresql-18.3/postgresql-17.9/src/include/storage/bufpage.h:340:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘childpage’
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:816:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:822:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:823:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/gin/ginbtree.c:823:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def887]
postgresql-18.3/postgresql-17.9/src/include/storage/itemptr.h:116:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5082:1: enter_function: entry to ‘_bt_check_third_page’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5091:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5099:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5107:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5111:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5111:9: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5111:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5111:9: call_function: calling ‘BTreeTupleGetHeapTID’ from ‘_bt_check_third_page’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5111:9: return_function: returning to ‘_bt_check_third_page’ from ‘BTreeTupleGetHeapTID’
postgresql-18.3/postgresql-17.9/src/backend/access/nbtree/nbtutils.c:5111:9: call_function: inlined call to ‘ItemPointerGetOffsetNumber’ from ‘_bt_check_third_page’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def888]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:166:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:158:1: enter_function: entry to ‘ECPGsetcommit’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:160:34: call_function: calling ‘ecpg_get_connection’ from ‘ECPGsetcommit’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:160:34: return_function: returning to ‘ECPGsetcommit’ from ‘ecpg_get_connection’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:163:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:166:9: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/connect.c:166:9: danger: dereference of NULL ‘ecpg_get_connection(connection_name)’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def889]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/execute.c:1132:83: warning[-Wanalyzer-null-argument]: use of NULL ‘tobeinserted’ where non-null expected
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/execute.c:2292:1: enter_function: entry to ‘ECPGdo_descriptor’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/execute.c:2295:16: call_function: calling ‘ECPGdo’ from ‘ECPGdo_descriptor’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:21:36: warning[-Wanalyzer-malloc-leak]: leak of ‘ecpg_alloc(16, lineno)’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:117:1: enter_function: entry to ‘ecpg_add_mem’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:119:51: call_function: calling ‘ecpg_alloc’ from ‘ecpg_add_mem’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:119:51: return_function: returning to ‘ecpg_add_mem’ from ‘ecpg_alloc’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:121:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:124:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/memory.c:21:36: danger: ‘ecpg_alloc(16, lineno)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def891]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/misc.c:114:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ECPGget_sqlca()’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/misc.c:232:1: enter_function: entry to ‘ecpg_log’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/misc.c:235:33: call_function: calling ‘ECPGget_sqlca’ from ‘ecpg_log’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/misc.c:235:33: return_function: returning to ‘ecpg_log’ from ‘ECPGget_sqlca’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/ecpglib/misc.c:114:17: danger: ‘ECPGget_sqlca()’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: COMPILER_WARNING (CWE-704): [#def892]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c: scope_hint: In function ‘PGTYPESdate_defmt_asc’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c:357:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def893]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c:357:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def894]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c:358:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def895]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c:358:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def896]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c:359:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def897]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/datetime.c:359:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-457): [#def898]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/timestamp.c:759:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘replace_val’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/timestamp.c:782:1: enter_function: entry to ‘PGTYPEStimestamp_fmt_asc’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/pgtypeslib/timestamp.c:793:16: call_function: calling ‘dttofmtasc_replace’ from ‘PGTYPEStimestamp_fmt_asc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def899]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4602:54: warning[-Wanalyzer-malloc-leak]: leak of ‘base_yy_create_buffer(base_yyin, 16384)’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1653:1: enter_function: entry to ‘parse_include’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1740:19: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1743:26: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_create_buffer’ from ‘parse_include’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1744:9: return_function: returning to ‘parse_include’ from ‘base_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_switch_to_buffer’ from ‘parse_include’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def900]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4602:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4589:21: enter_function: entry to ‘base_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4593:24: call_function: inlined call to ‘base_yyalloc’ from ‘base_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4594:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4597:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4602:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def901]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4610:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1653:1: enter_function: entry to ‘parse_include’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1663:22: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1740:19: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1743:26: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_create_buffer’ from ‘parse_include’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1744:9: return_function: returning to ‘parse_include’ from ‘base_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1744:9: call_function: calling ‘base_yy_switch_to_buffer’ from ‘parse_include’
Error: CPPCHECK_WARNING (CWE-476): [#def902]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4643: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def903]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4644: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def904]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4831:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1772:1: enter_function: entry to ‘isdefine’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1777:29: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1780:43: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1789:39: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1789:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1803:25: call_function: calling ‘base_yy_scan_string’ from ‘isdefine’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def905]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4857:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4841:17: enter_function: entry to ‘base_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4850:24: call_function: inlined call to ‘base_yyalloc’ from ‘base_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4851:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4851:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.c:4859:6: call_function: calling ‘base_yy_scan_buffer’ from ‘base_yy_scan_bytes’
Error: CPPCHECK_WARNING (CWE-401): [#def906]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1607: error[memleakOnRealloc]: Common realloc mistake: 'literalbuf' nulled but not freed upon failure
Error: CPPCHECK_WARNING (CWE-401): [#def907]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1622: error[memleakOnRealloc]: Common realloc mistake: 'literalbuf' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def908]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1803:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1772:1: enter_function: entry to ‘isdefine’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1777:29: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1780:43: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1789:39: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1789:39: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1803:25: call_function: calling ‘base_yy_scan_string’ from ‘isdefine’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1803:25: danger: ‘<return-value>’ leaks here; was allocated at [(23)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1839:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<return-value>’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1816:1: enter_function: entry to ‘isinformixdefine’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1833:31: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1833:31: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1839:17: call_function: calling ‘base_yy_scan_string’ from ‘isinformixdefine’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/pgc.l:1839:17: danger: ‘<return-value>’ leaks here; was allocated at [(21)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def910]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39445:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39400:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39406:34: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39432:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39434:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39443:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39443:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39445:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def911]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39576:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39400:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39469:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39469:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39472:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39484:6: branch_true: following ‘true’ branch (when ‘yyn == -6472’)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39485:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39556:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39558:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/preproc.c:39576:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def912]
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:590:50: warning[-Wanalyzer-null-argument]: use of NULL ‘ind_name’ where non-null expected
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:581:1: enter_function: entry to ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:589:37: call_function: calling ‘mm_alloc’ from ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:589:37: return_function: returning to ‘ECPGdump_a_struct’ from ‘mm_alloc’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:590:41: call_function: calling ‘mm_alloc’ from ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:590:41: return_function: returning to ‘ECPGdump_a_struct’ from ‘mm_alloc’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:599:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:601:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:601:17: branch_true: following ‘true’ branch (when ‘ind_type’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:603:21: call_function: inlined call to ‘atoi’ from ‘ECPGdump_a_struct’
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:603:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:604:25: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:612:35: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:614:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:614:17: branch_true: following ‘true’ branch (when ‘ind_p’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:614:17: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/ecpg/preproc/type.c:614:17: call_function: calling ‘ECPGdump_a_type’ from ‘ECPGdump_a_struct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def913]
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6901:18: warning[-Wanalyzer-malloc-leak]: leak of ‘value_copy’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6879:1: enter_function: entry to ‘conninfo_storeval’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6901:18: call_function: calling ‘conninfo_find’ from ‘conninfo_storeval’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6901:18: return_function: returning to ‘conninfo_storeval’ from ‘conninfo_find’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6902:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6911:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6911:12: branch_false: following ‘false’ branch (when ‘uri_decode == 0’)...
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6920:30: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6920:30: acquire_memory: allocated here
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6921:20: branch_false: following ‘false’ branch (when ‘value_copy’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6928:14: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-connect.c:6901:18: danger: ‘value_copy’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def914]
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-exec.c:742:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-exec.c:2349:1: enter_function: entry to ‘PQexecStart’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-exec.c:2374:26: call_function: calling ‘PQgetResult’ from ‘PQexecStart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def915]
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-secure.c:431:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘spinfo.sigpipe_pending’
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-secure.c:431:9: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/interfaces/libpq/fe-secure.c:431:9: danger: use of uninitialized value ‘spinfo.sigpipe_pending’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def916]
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1298:45: warning[-Wanalyzer-null-argument]: use of NULL ‘colname’ where non-null expected
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1175:1: enter_function: entry to ‘resolve_column_ref’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1206:17: call_function: inlined call to ‘list_length’ from ‘resolve_column_ref’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1272:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1275:17: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1282:28: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1284:28: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1284:28: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1287:68: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1292:40: branch_true: following ‘true’ branch (when ‘i >= 0’)...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1294:100: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_comp.c:1298:45: danger: argument 2 (‘colname’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:5117:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7417:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7422:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7533:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7535:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7535:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def918]
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:8564:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7417:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7422:12: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7533:20: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7535:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_exec.c:7535:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def919]
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1865:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1820:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1826:34: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1852:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1854:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1863:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1863:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1865:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def920]
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1996:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1820:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1889:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1889:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1892:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1904:6: branch_true: following ‘true’ branch (when ‘yyn == -249’)...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1905:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1976:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1978:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/pl/plpgsql/src/pl_gram.c:1996:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: COMPILER_WARNING: [#def921]
postgresql-18.3/postgresql-17.9/src/port/pg_crc32c_sse42.c:38:32: note[note]: called from here
Error: COMPILER_WARNING: [#def922]
postgresql-18.3/postgresql-17.9/src/port/pg_crc32c_sse42.c:45:23: note[note]: called from here
Error: COMPILER_WARNING: [#def923]
postgresql-18.3/postgresql-17.9/src/port/pg_crc32c_sse42.c:64:23: note[note]: called from here
Error: COMPILER_WARNING: [#def924]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:35:25: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
Error: COMPILER_WARNING: [#def925]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:35:33: note[note]: called from here
Error: COMPILER_WARNING: [#def926]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:56:23: note[note]: called from here
Error: COMPILER_WARNING: [#def927]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:57:23: note[note]: called from here
Error: COMPILER_WARNING: [#def928]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:58:25: note[note]: called from here
Error: COMPILER_WARNING: [#def929]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:65:31: note[note]: called from here
Error: COMPILER_WARNING: [#def930]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:66:31: note[note]: called from here
Error: COMPILER_WARNING: [#def931]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:67:33: note[note]: called from here
Error: COMPILER_WARNING: [#def932]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:74:15: note[note]: called from here
Error: COMPILER_WARNING: [#def933]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:75:15: note[note]: called from here
Error: COMPILER_WARNING: [#def934]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:76:17: note[note]: called from here
Error: COMPILER_WARNING: [#def935]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512.c:78:16: note[note]: called from here
Error: COMPILER_WARNING: [#def936]
postgresql-18.3/postgresql-17.9/src/port/pg_popcount_avx512_choose.c:64:17: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def937]
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1403:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1282:1: enter_function: entry to ‘pg_strfromd’
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1312:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1321:20: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1329:21: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1331:25: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/port/snprintf.c:1364:9: call_function: calling ‘dostr’ from ‘pg_strfromd’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def938]
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1002:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:960:6: branch_true: following ‘true’ branch...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:966:28: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:989:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:991:7: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1000:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1002:9: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1002:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def939]
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1129:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:960:6: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1024:6: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1024:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1027:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1039:6: branch_true: following ‘true’ branch (when ‘yyn == -14’)...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1040:5: branch_true: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1109:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1111:3: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specparse.c:1129:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def940]
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1727:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1714:21: enter_function: entry to ‘spec_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1718:24: call_function: inlined call to ‘spec_yyalloc’ from ‘spec_yy_create_buffer’
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1719:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1722:2: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1727:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def941]
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1768: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def942]
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1769: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def943]
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1982:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1966:17: enter_function: entry to ‘spec_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1975:24: call_function: inlined call to ‘spec_yyalloc’ from ‘spec_yy_scan_bytes’
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1976:12: branch_false: following ‘false’ branch...
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1976:12: branch_false: ...to here
postgresql-18.3/postgresql-17.9/src/test/isolation/specscanner.c:1984:6: call_function: calling ‘spec_yy_scan_buffer’ from ‘spec_yy_scan_bytes’
Error: COMPILER_WARNING (CWE-704): [#def944]
postgresql-18.3/postgresql-17.9/src/test/regress/pg_regress.c: scope_hint: In function ‘get_expectfile’
postgresql-18.3/postgresql-17.9/src/test/regress/pg_regress.c:698:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def945]
postgresql-18.3/postgresql-17.9/src/test/regress/pg_regress.c:698:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING: [#def946]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:15:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_transaction__start_semaphore’
Error: COMPILER_WARNING: [#def947]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:24:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_transaction__commit_semaphore’
Error: COMPILER_WARNING: [#def948]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:33:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_transaction__abort_semaphore’
Error: COMPILER_WARNING: [#def949]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:42:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__acquire_semaphore’
Error: COMPILER_WARNING: [#def950]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:51:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__release_semaphore’
Error: COMPILER_WARNING: [#def951]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:60:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__wait__start_semaphore’
Error: COMPILER_WARNING: [#def952]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:69:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__wait__done_semaphore’
Error: COMPILER_WARNING: [#def953]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:78:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__condacquire_semaphore’
Error: COMPILER_WARNING: [#def954]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:87:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__condacquire__fail_semaphore’
Error: COMPILER_WARNING: [#def955]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:96:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__acquire__or__wait_semaphore’
Error: COMPILER_WARNING: [#def956]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:105:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lwlock__acquire__or__wait__fail_semaphore’
Error: COMPILER_WARNING: [#def957]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:114:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lock__wait__start_semaphore’
Error: COMPILER_WARNING: [#def958]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:123:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_lock__wait__done_semaphore’
Error: COMPILER_WARNING: [#def959]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:132:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__parse__start_semaphore’
Error: COMPILER_WARNING: [#def960]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:141:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__parse__done_semaphore’
Error: COMPILER_WARNING: [#def961]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:150:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__rewrite__start_semaphore’
Error: COMPILER_WARNING: [#def962]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:159:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__rewrite__done_semaphore’
Error: COMPILER_WARNING: [#def963]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:168:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__plan__start_semaphore’
Error: COMPILER_WARNING: [#def964]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:177:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__plan__done_semaphore’
Error: COMPILER_WARNING: [#def965]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:186:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__execute__start_semaphore’
Error: COMPILER_WARNING: [#def966]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:195:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__execute__done_semaphore’
Error: COMPILER_WARNING: [#def967]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:204:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__start_semaphore’
Error: COMPILER_WARNING: [#def968]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:213:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_query__done_semaphore’
Error: COMPILER_WARNING: [#def969]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:222:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_statement__status_semaphore’
Error: COMPILER_WARNING: [#def970]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:231:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_sort__start_semaphore’
Error: COMPILER_WARNING: [#def971]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:240:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_sort__done_semaphore’
Error: COMPILER_WARNING: [#def972]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:249:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__read__start_semaphore’
Error: COMPILER_WARNING: [#def973]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:258:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__read__done_semaphore’
Error: COMPILER_WARNING: [#def974]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:267:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__flush__start_semaphore’
Error: COMPILER_WARNING: [#def975]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:276:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__flush__done_semaphore’
Error: COMPILER_WARNING: [#def976]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:285:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__extend__start_semaphore’
Error: COMPILER_WARNING: [#def977]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:294:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__extend__done_semaphore’
Error: COMPILER_WARNING: [#def978]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:303:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__checkpoint__start_semaphore’
Error: COMPILER_WARNING: [#def979]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:312:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__checkpoint__sync__start_semaphore’
Error: COMPILER_WARNING: [#def980]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:321:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__checkpoint__done_semaphore’
Error: COMPILER_WARNING: [#def981]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:330:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__sync__start_semaphore’
Error: COMPILER_WARNING: [#def982]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:339:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__sync__written_semaphore’
Error: COMPILER_WARNING: [#def983]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:348:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_buffer__sync__done_semaphore’
Error: COMPILER_WARNING: [#def984]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:357:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_deadlock__found_semaphore’
Error: COMPILER_WARNING: [#def985]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:366:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_checkpoint__start_semaphore’
Error: COMPILER_WARNING: [#def986]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:375:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_checkpoint__done_semaphore’
Error: COMPILER_WARNING: [#def987]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:384:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_clog__checkpoint__start_semaphore’
Error: COMPILER_WARNING: [#def988]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:393:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_clog__checkpoint__done_semaphore’
Error: COMPILER_WARNING: [#def989]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:402:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_subtrans__checkpoint__start_semaphore’
Error: COMPILER_WARNING: [#def990]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:411:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_subtrans__checkpoint__done_semaphore’
Error: COMPILER_WARNING: [#def991]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:420:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_multixact__checkpoint__start_semaphore’
Error: COMPILER_WARNING: [#def992]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:429:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_multixact__checkpoint__done_semaphore’
Error: COMPILER_WARNING: [#def993]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:438:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_twophase__checkpoint__start_semaphore’
Error: COMPILER_WARNING: [#def994]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:447:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_twophase__checkpoint__done_semaphore’
Error: COMPILER_WARNING: [#def995]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:456:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_smgr__md__read__start_semaphore’
Error: COMPILER_WARNING: [#def996]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:465:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_smgr__md__read__done_semaphore’
Error: COMPILER_WARNING: [#def997]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:474:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_smgr__md__write__start_semaphore’
Error: COMPILER_WARNING: [#def998]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:483:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_smgr__md__write__done_semaphore’
Error: COMPILER_WARNING: [#def999]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:492:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_wal__insert_semaphore’
Error: COMPILER_WARNING: [#def1000]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:501:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_wal__switch_semaphore’
Error: COMPILER_WARNING: [#def1001]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:510:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_wal__buffer__write__dirty__start_semaphore’
Error: COMPILER_WARNING: [#def1002]
postgresql-18.3/src/backend/.dtrace-temp.a5ea52e2.c:519:30: warning[-Wmissing-variable-declarations]: no previous declaration for ‘postgresql_wal__buffer__write__dirty__done_semaphore’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1003]
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:813:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2998:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:3024:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1004]
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:822:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2998:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:3024:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1005]
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:832:25: warning[-Wanalyzer-null-argument]: use of NULL ‘dataptr’ where non-null expected
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2998:1: enter_function: entry to ‘brin_minmax_multi_summary_out’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:3024:31: call_function: calling ‘brin_range_deserialize’ from ‘brin_minmax_multi_summary_out’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1006]
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:1517:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘distances’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2735:1: enter_function: entry to ‘brin_minmax_multi_union’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2823:21: call_function: calling ‘build_distances’ from ‘brin_minmax_multi_union’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2823:21: return_function: returning to ‘brin_minmax_multi_union’ from ‘build_distances’
postgresql-18.3/src/backend/access/brin/brin_minmax_multi.c:2836:20: call_function: calling ‘reduce_expanded_ranges’ from ‘brin_minmax_multi_union’
Error: CPPCHECK_WARNING (CWE-476): [#def1007]
postgresql-18.3/src/backend/access/common/heaptuple.c:972: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def1008]
postgresql-18.3/src/backend/access/common/heaptuple.c:973: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def1009]
postgresql-18.3/src/backend/access/common/heaptuple.c:974: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def1010]
postgresql-18.3/src/backend/access/common/heaptuple.c:975: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def1011]
postgresql-18.3/src/backend/access/common/heaptuple.c:977: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def1012]
postgresql-18.3/src/backend/access/common/heaptuple.c:981: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: CPPCHECK_WARNING (CWE-476): [#def1013]
postgresql-18.3/src/backend/access/common/heaptuple.c:982: warning[nullPointer]: Possible null pointer dereference: targetMinimalTuple
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1014]
postgresql-18.3/src/backend/access/gin/ginbtree.c:412:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘childpage’
postgresql-18.3/src/backend/access/gin/ginbtree.c:816:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/src/backend/access/gin/ginbtree.c:822:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/gin/ginbtree.c:823:17: branch_true: ...to here
postgresql-18.3/src/backend/access/gin/ginbtree.c:823:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1015]
postgresql-18.3/src/backend/access/gin/ginbtree.c:484:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘childpage’
postgresql-18.3/src/backend/access/gin/ginbtree.c:816:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/src/backend/access/gin/ginbtree.c:822:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/gin/ginbtree.c:823:17: branch_true: ...to here
postgresql-18.3/src/backend/access/gin/ginbtree.c:823:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1016]
postgresql-18.3/src/backend/access/gin/ginbtree.c:576:25: warning[-Wanalyzer-null-argument]: use of NULL ‘newrootpg’ where non-null expected
postgresql-18.3/src/backend/access/gin/ginbtree.c:816:1: enter_function: entry to ‘ginInsertValue’
postgresql-18.3/src/backend/access/gin/ginbtree.c:822:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/gin/ginbtree.c:823:17: branch_true: ...to here
postgresql-18.3/src/backend/access/gin/ginbtree.c:823:17: call_function: calling ‘ginFinishOldSplit’ from ‘ginInsertValue’
Error: CPPCHECK_WARNING (CWE-457): [#def1017]
postgresql-18.3/src/backend/access/gin/ginentrypage.c:630: error[legacyUninitvar]: Uninitialized variable: tupstore
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1018]
postgresql-18.3/src/backend/access/hash/hashpage.c:1531:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
postgresql-18.3/src/backend/access/hash/hashpage.c:1516:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/hash/hashpage.c:1521:21: branch_false: ...to here
postgresql-18.3/src/backend/access/hash/hashpage.c:1529:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/hash/hashpage.c:1530:25: branch_true: ...to here
postgresql-18.3/src/backend/access/hash/hashpage.c:1531:24: release_memory: using NULL here
postgresql-18.3/src/backend/access/hash/hashpage.c:1531:17: danger: argument 1 (‘*rel.rd_amcache’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1019]
postgresql-18.3/src/backend/access/hash/hashpage.c:1531:17: warning[-Wanalyzer-null-argument]: use of NULL ‘*rel.rd_amcache’ where non-null expected
postgresql-18.3/src/backend/access/hash/hashpage.c:1559:1: enter_function: entry to ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/src/backend/access/hash/hashpage.c:1573:17: call_function: calling ‘_hash_getcachedmetap’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/src/backend/access/hash/hashpage.c:1573:17: return_function: returning to ‘_hash_getbucketbuf_from_hashkey’ from ‘_hash_getcachedmetap’
postgresql-18.3/src/backend/access/hash/hashpage.c:1592:23: call_function: calling ‘_hash_getbuf’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/src/backend/access/hash/hashpage.c:1592:23: return_function: returning to ‘_hash_getbucketbuf_from_hashkey’ from ‘_hash_getbuf’
postgresql-18.3/src/backend/access/hash/hashpage.c:1601:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/hash/hashpage.c:1605:17: call_function: inlined call to ‘_hash_relbuf’ from ‘_hash_getbucketbuf_from_hashkey’
postgresql-18.3/src/backend/access/hash/hashpage.c:1606:25: call_function: calling ‘_hash_getcachedmetap’ from ‘_hash_getbucketbuf_from_hashkey’
Error: CPPCHECK_WARNING (CWE-457): [#def1020]
postgresql-18.3/src/backend/access/heap/heapam.c:5916: error[legacyUninitvar]: Uninitialized variable: status
Error: CPPCHECK_WARNING (CWE-457): [#def1021]
postgresql-18.3/src/backend/access/heap/heapam.c:6485: error[legacyUninitvar]: Uninitialized variable: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1022]
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:881:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:755:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:796:13: branch_false: ...to here
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:827:12: branch_true: following ‘true’ branch (when ‘newaction == 0’)...
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:834:27: branch_true: ...to here
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:840:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:843:21: branch_false: ...to here
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:843:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:846:25: branch_true: ...to here
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:849:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:856:17: branch_false: ...to here
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:870:20: branch_true: following ‘true’ branch (when ‘prefixlen != 0’)...
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:875:31: branch_true: ...to here
postgresql-18.3/src/backend/access/heap/heapam_xlog.c:881:63: danger: dereference of NULL ‘oldtup.t_data’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1023]
postgresql-18.3/src/backend/access/nbtree/nbtpreprocesskeys.c:901:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
postgresql-18.3/src/backend/access/nbtree/nbtpreprocesskeys.c:1258:1: enter_function: entry to ‘_bt_skiparray_shrink’
postgresql-18.3/src/backend/access/nbtree/nbtpreprocesskeys.c:1299:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtpreprocesskeys.c:1302:38: branch_true: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtpreprocesskeys.c:1302:38: call_function: calling ‘_bt_compare_scankey_args’ from ‘_bt_skiparray_shrink’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1024]
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:1163:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘split’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:934:1: enter_function: entry to ‘_bt_strategy’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:954:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:961:9: branch_true: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:961:9: call_function: calling ‘_bt_interval_edges’ from ‘_bt_strategy’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:961:9: return_function: returning to ‘_bt_strategy’ from ‘_bt_interval_edges’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:962:20: release_memory: ‘leftinterval’ is NULL
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:962:20: call_function: calling ‘_bt_split_lastleft’ from ‘_bt_strategy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1025]
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:1179:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘split’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:934:1: enter_function: entry to ‘_bt_strategy’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:954:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:961:9: branch_true: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:961:9: call_function: calling ‘_bt_interval_edges’ from ‘_bt_strategy’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:961:9: return_function: returning to ‘_bt_strategy’ from ‘_bt_interval_edges’
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:963:21: release_memory: ‘rightinterval’ is NULL
postgresql-18.3/src/backend/access/nbtree/nbtsplitloc.c:963:21: call_function: calling ‘_bt_split_firstright’ from ‘_bt_strategy’
Error: CPPCHECK_WARNING (CWE-476): [#def1026]
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:452: error[ctunullpointer]: Null pointer dereference: array
Error: CPPCHECK_WARNING (CWE-476): [#def1027]
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:452: warning[nullPointer]: Possible null pointer dereference: array
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1028]
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:452:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:3194:1: enter_function: entry to ‘_bt_checkkeys_look_ahead’
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:3205:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:3212:12: branch_false: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:3238:13: call_function: calling ‘_bt_tuple_before_array_skeys’ from ‘_bt_checkkeys_look_ahead’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1029]
postgresql-18.3/src/backend/access/spgist/spgscan.c:123:17: warning[-Wanalyzer-null-argument]: use of NULL ‘distances’ where non-null expected
postgresql-18.3/src/backend/access/spgist/spgscan.c:942:1: enter_function: entry to ‘spggetbitmap’
postgresql-18.3/src/backend/access/spgist/spgscan.c:952:9: call_function: calling ‘spgWalk’ from ‘spggetbitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1030]
postgresql-18.3/src/backend/access/spgist/spgutils.c:803:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/access/spgist/spgutils.c:1002:1: enter_function: entry to ‘spgFormInnerTuple’
postgresql-18.3/src/backend/access/spgist/spgutils.c:1045:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1045:13: branch_false: ...to here
postgresql-18.3/src/backend/access/spgist/spgutils.c:1045:13: branch_false: following ‘false’ branch (when ‘nNodes <= 8191’)...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1051:34: branch_false: ...to here
postgresql-18.3/src/backend/access/spgist/spgutils.c:1057:12: branch_true: following ‘true’ branch (when ‘hasPrefix != 0’)...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1058:17: branch_true: ...to here
postgresql-18.3/src/backend/access/spgist/spgutils.c:1058:17: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1058:17: call_function: inlined call to ‘memcpyInnerDatum’ from ‘spgFormInnerTuple’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1031]
postgresql-18.3/src/backend/access/spgist/spgutils.c:808:17: warning[-Wanalyzer-null-argument]: use of NULL ‘target’ where non-null expected
postgresql-18.3/src/backend/access/spgist/spgutils.c:1002:1: enter_function: entry to ‘spgFormInnerTuple’
postgresql-18.3/src/backend/access/spgist/spgutils.c:1045:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1045:13: branch_false: ...to here
postgresql-18.3/src/backend/access/spgist/spgutils.c:1045:13: branch_false: following ‘false’ branch (when ‘nNodes <= 8191’)...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1051:34: branch_false: ...to here
postgresql-18.3/src/backend/access/spgist/spgutils.c:1057:12: branch_true: following ‘true’ branch (when ‘hasPrefix != 0’)...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1058:17: branch_true: ...to here
postgresql-18.3/src/backend/access/spgist/spgutils.c:1058:17: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/spgist/spgutils.c:1058:17: call_function: inlined call to ‘memcpyInnerDatum’ from ‘spgFormInnerTuple’
Error: CPPCHECK_WARNING (CWE-457): [#def1032]
postgresql-18.3/src/backend/access/transam/commit_ts.c:452: warning[uninitvar]: Uninitialized variable: values
Error: CPPCHECK_WARNING (CWE-457): [#def1033]
postgresql-18.3/src/backend/access/transam/commit_ts.c:493: warning[uninitvar]: Uninitialized variable: values
Error: CPPCHECK_WARNING (CWE-476): [#def1034]
postgresql-18.3/src/backend/access/transam/twophase.c:1037: error[ctunullpointer]: Null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-682): [#def1035]
postgresql-18.3/src/backend/access/transam/xlog.c:1651: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-131): [#def1036]
postgresql-18.3/src/backend/access/transam/xloginsert.c:232:9: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
postgresql-18.3/src/backend/access/transam/xloginsert.c:1237:1: enter_function: entry to ‘log_newpage_buffer’
postgresql-18.3/src/backend/access/transam/xloginsert.c:1249:16: call_function: calling ‘log_newpage’ from ‘log_newpage_buffer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1037]
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1733:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1671:1: enter_function: entry to ‘PerformWalRecovery’
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1721:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1724:17: branch_true: ...to here
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1726:26: call_function: calling ‘ReadRecord’ from ‘PerformWalRecovery’
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1726:26: return_function: returning to ‘PerformWalRecovery’ from ‘ReadRecord’
postgresql-18.3/src/backend/access/transam/xlogrecovery.c:1733:21: danger: dereference of NULL ‘ReadRecord(xlogprefetcher, 23, 0, RedoStartTLI)’
Error: CPPCHECK_WARNING (CWE-457): [#def1038]
postgresql-18.3/src/backend/backup/basebackup.c:648: warning[uninitvar]: Uninitialized variable: endptr
Error: CPPCHECK_WARNING (CWE-457): [#def1039]
postgresql-18.3/src/backend/backup/basebackup.c:648: warning[uninitvar]: Uninitialized variable: endtli
Error: CPPCHECK_WARNING (CWE-457): [#def1040]
postgresql-18.3/src/backend/backup/basebackup_copy.c:418: warning[uninitvar]: Uninitialized variable: values
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1041]
postgresql-18.3/src/backend/bootstrap/bootparse.c:1150:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1114:28: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1137:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1139:7: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1148:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1150:9: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1150:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1042]
postgresql-18.3/src/backend/bootstrap/bootparse.y:162:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:162:41: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:162:41: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:162:41: danger: out-of-bounds read from byte -24 till byte -21 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1043]
postgresql-18.3/src/backend/bootstrap/bootparse.y:182:59: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:182:59: danger: out-of-bounds read from byte -40 till byte -37 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1044]
postgresql-18.3/src/backend/bootstrap/bootparse.y:193:60: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:193:60: danger: out-of-bounds read from byte -48 till byte -45 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1045]
postgresql-18.3/src/backend/bootstrap/bootparse.y:206:64: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:195:44: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:200:53: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:206:64: danger: out-of-bounds read from byte -56 till byte -53 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1046]
postgresql-18.3/src/backend/bootstrap/bootparse.y:206:76: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:195:44: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:200:53: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:206:76: danger: out-of-bounds read from byte -64 till byte -57 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1047]
postgresql-18.3/src/backend/bootstrap/bootparse.y:227:54: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:195:44: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:227:54: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:227:54: danger: out-of-bounds read from byte -32 till byte -29 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1048]
postgresql-18.3/src/backend/bootstrap/bootparse.y:227:79: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:195:44: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:227:54: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:227:79: danger: out-of-bounds read from byte -64 till byte -57 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1049]
postgresql-18.3/src/backend/bootstrap/bootparse.y:279:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1029:1: enter_function: entry to ‘boot_yyparse’
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:276:60: call_function: inlined call to ‘newNode’ from ‘boot_yyparse’
postgresql-18.3/src/backend/bootstrap/bootparse.y:279:41: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:279:41: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:279:41: danger: out-of-bounds read from byte -56 till byte -49 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1050]
postgresql-18.3/src/backend/bootstrap/bootparse.y:332:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1029:1: enter_function: entry to ‘boot_yyparse’
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:329:60: call_function: inlined call to ‘newNode’ from ‘boot_yyparse’
postgresql-18.3/src/backend/bootstrap/bootparse.y:332:41: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.y:332:41: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:332:41: danger: out-of-bounds read from byte -56 till byte -49 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1051]
postgresql-18.3/src/backend/bootstrap/bootparse.y:386:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_false: following ‘false’ branch (when ‘yyn != -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1193:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1196:16: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1205:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1217:17: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1224:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1227:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1237:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1244:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1108:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1172:6: branch_false: following ‘false’ branch (when ‘yystate != 46’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1175:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1187:6: branch_true: following ‘true’ branch (when ‘yyn == -53’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1188:5: branch_true: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.c:1257:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/bootstrap/bootparse.c:1259:3: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootparse.y:386:41: danger: out-of-bounds read from byte -8 till byte -5 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1052]
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1823:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1702:10: enter_function: entry to ‘boot_yyrestart’
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1707:16: call_function: calling ‘boot_yyensure_buffer_stack’ from ‘boot_yyrestart’
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1707:16: return_function: returning to ‘boot_yyrestart’ from ‘boot_yyensure_buffer_stack’
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1709:27: call_function: calling ‘boot_yy_create_buffer’ from ‘boot_yyrestart’
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1709:27: return_function: returning to ‘boot_yyrestart’ from ‘boot_yy_create_buffer’
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1712:2: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1712:2: branch_false: ...to here
postgresql-18.3/src/backend/bootstrap/bootscanner.c:1712:2: call_function: calling ‘boot_yy_init_buffer’ from ‘boot_yyrestart’
Error: CPPCHECK_WARNING (CWE-476): [#def1053]
postgresql-18.3/src/backend/catalog/heap.c:3110: warning[nullPointer]: Possible null pointer dereference: conname
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1054]
postgresql-18.3/src/backend/catalog/partition.c:288:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partexprs_item’
postgresql-18.3/src/backend/catalog/partition.c:255:1: enter_function: entry to ‘has_partition_attrs’
postgresql-18.3/src/backend/catalog/partition.c:263:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/catalog/partition.c:270:26: call_function: inlined call to ‘list_head’ from ‘has_partition_attrs’
postgresql-18.3/src/backend/catalog/partition.c:271:9: branch_false: ...to here
postgresql-18.3/src/backend/catalog/partition.c:271:21: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/catalog/partition.c:273:45: call_function: inlined call to ‘get_partition_col_attnum’ from ‘has_partition_attrs’
postgresql-18.3/src/backend/catalog/partition.c:275:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/catalog/partition.c:288:37: branch_false: ...to here
postgresql-18.3/src/backend/catalog/partition.c:288:37: danger: dereference of NULL ‘partexprs_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1055]
postgresql-18.3/src/backend/catalog/pg_publication.c:1162:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/catalog/pg_publication.c:1117:1: enter_function: entry to ‘pg_get_publication_tables’
postgresql-18.3/src/backend/catalog/pg_publication.c:1124:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/catalog/pg_publication.c:1135:27: branch_true: ...to here
postgresql-18.3/src/backend/catalog/pg_publication.c:1148:29: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/catalog/pg_publication.c:1154:57: branch_true: ...to here
postgresql-18.3/src/backend/catalog/pg_publication.c:1154:36: call_function: calling ‘GetPublicationByName’ from ‘pg_get_publication_tables’
postgresql-18.3/src/backend/catalog/pg_publication.c:1154:36: return_function: returning to ‘pg_get_publication_tables’ from ‘GetPublicationByName’
postgresql-18.3/src/backend/catalog/pg_publication.c:1162:29: danger: dereference of NULL ‘GetPublicationByName(text_to_cstring((char *)*<unknown>), 0)’
Error: COMPILER_WARNING (CWE-704): [#def1056]
postgresql-18.3/src/backend/catalog/pg_type.c: scope_hint: In function ‘makeMultirangeTypeName’
postgresql-18.3/src/backend/catalog/pg_type.c:959:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1057]
postgresql-18.3/src/backend/catalog/pg_type.c:959:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def1058]
postgresql-18.3/src/backend/commands/conversioncmds.c:110: error[uninitvar]: Uninitialized variable: result
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1059]
postgresql-18.3/src/backend/commands/copy.c:339:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/src/backend/commands/copy.c:332:12: branch_true: following ‘true’ branch (when ‘is_from != 0’)...
postgresql-18.3/src/backend/commands/copy.c:339:21: branch_true: ...to here
postgresql-18.3/src/backend/commands/copy.c:339:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/commands/copy.c:339:38: branch_true: ...to here
postgresql-18.3/src/backend/commands/copy.c:339:38: danger: dereference of NULL ‘rel’
Error: CPPCHECK_WARNING (CWE-457): [#def1060]
postgresql-18.3/src/backend/commands/copy.c:482: error[legacyUninitvar]: Uninitialized variable: reject_limit
Error: CPPCHECK_WARNING (CWE-476): [#def1061]
postgresql-18.3/src/backend/commands/extension.c:409: error[ctunullpointer]: Null pointer dereference: versionname
Error: CPPCHECK_WARNING (CWE-476): [#def1062]
postgresql-18.3/src/backend/commands/extension.c:409: warning[nullPointer]: Possible null pointer dereference: versionname
Error: CPPCHECK_WARNING (CWE-476): [#def1063]
postgresql-18.3/src/backend/commands/extension.c:3518: warning[nullPointer]: Possible null pointer dereference: versionName
Error: CPPCHECK_WARNING (CWE-457): [#def1064]
postgresql-18.3/src/backend/commands/policy.c:128: error[legacyUninitvar]: Uninitialized variable: polcmd
Error: CPPCHECK_WARNING (CWE-457): [#def1065]
postgresql-18.3/src/backend/commands/tablecmds.c:9029: warning[uninitvar]: Uninitialized variable: repl_val
Error: CPPCHECK_WARNING (CWE-457): [#def1066]
postgresql-18.3/src/backend/commands/tablecmds.c:9103: warning[uninitvar]: Uninitialized variable: repl_val
Error: CPPCHECK_WARNING (CWE-457): [#def1067]
postgresql-18.3/src/backend/commands/tablespace.c:1068: warning[uninitvar]: Uninitialized variable: repl_val
Error: CPPCHECK_WARNING (CWE-476): [#def1068]
postgresql-18.3/src/backend/commands/trigger.c:4913: error[ctunullpointer]: Null pointer dereference: table
Error: CPPCHECK_WARNING (CWE-476): [#def1069]
postgresql-18.3/src/backend/commands/trigger.c:4913: warning[nullPointer]: Possible null pointer dereference: table
Error: CPPCHECK_WARNING (CWE-476): [#def1070]
postgresql-18.3/src/backend/commands/trigger.c:4929: warning[nullPointer]: Possible null pointer dereference: table
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1071]
postgresql-18.3/src/backend/executor/execJunk.c:176:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
postgresql-18.3/src/backend/executor/execJunk.c:137:1: enter_function: entry to ‘ExecInitJunkFilterConversion’
postgresql-18.3/src/backend/executor/execJunk.c:166:12: branch_true: following ‘true’ branch (when ‘cleanLength > 0’)...
postgresql-18.3/src/backend/executor/execJunk.c:168:43: branch_true: ...to here
postgresql-18.3/src/backend/executor/execJunk.c:169:21: call_function: inlined call to ‘list_head’ from ‘ExecInitJunkFilterConversion’
postgresql-18.3/src/backend/executor/execJunk.c:170:17: branch_false: ...to here
postgresql-18.3/src/backend/executor/execJunk.c:170:29: branch_true: following ‘true’ branch (when ‘i < cleanLength’)...
postgresql-18.3/src/backend/executor/execJunk.c:172:29: branch_true: ...to here
postgresql-18.3/src/backend/executor/execJunk.c:176:46: danger: dereference of NULL ‘t’
Error: CPPCHECK_WARNING (CWE-476): [#def1072]
postgresql-18.3/src/backend/executor/execProcnode.c:391: warning[nullPointer]: Possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def1073]
postgresql-18.3/src/backend/executor/execProcnode.c:412: warning[nullPointer]: Possible null pointer dereference: result
Error: CPPCHECK_WARNING (CWE-476): [#def1074]
postgresql-18.3/src/backend/executor/execProcnode.c:438: error[ctunullpointer]: Null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-476): [#def1075]
postgresql-18.3/src/backend/executor/execProcnode.c:438: warning[nullPointer]: Possible null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-476): [#def1076]
postgresql-18.3/src/backend/executor/execProcnode.c:439: warning[nullPointer]: Possible null pointer dereference: node
Error: CPPCHECK_WARNING (CWE-457): [#def1077]
postgresql-18.3/src/backend/executor/execScan.c:148: error[legacyUninitvar]: Uninitialized variable: relids
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1078]
postgresql-18.3/src/backend/executor/execTuples.c:2474:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘isnull’
postgresql-18.3/src/backend/executor/execTuples.c:2492:1: enter_function: entry to ‘do_text_output_multiline’
postgresql-18.3/src/backend/executor/execTuples.c:2497:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/execTuples.c:2502:23: branch_true: ...to here
postgresql-18.3/src/backend/executor/execTuples.c:2503:20: branch_true: following ‘true’ branch (when ‘eol’ is non-NULL)...
postgresql-18.3/src/backend/executor/execTuples.c:2505:31: branch_true: ...to here
postgresql-18.3/src/backend/executor/execTuples.c:2515:17: call_function: calling ‘do_tup_output’ from ‘do_text_output_multiline’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1079]
postgresql-18.3/src/backend/executor/nodeAgg.c:630:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pergroupstate’
postgresql-18.3/src/backend/executor/nodeAgg.c:2137:1: enter_function: entry to ‘initialize_hash_entry’
postgresql-18.3/src/backend/executor/nodeAgg.c:2150:39: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘initialize_hash_entry’
postgresql-18.3/src/backend/executor/nodeAgg.c:2156:9: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeAgg.c:2156:27: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeAgg.c:2158:46: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeAgg.c:2161:17: call_function: calling ‘initialize_aggregate’ from ‘initialize_hash_entry’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1080]
postgresql-18.3/src/backend/executor/nodeAgg.c:636:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pergroupstate’
postgresql-18.3/src/backend/executor/nodeAgg.c:2137:1: enter_function: entry to ‘initialize_hash_entry’
postgresql-18.3/src/backend/executor/nodeAgg.c:2150:39: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘initialize_hash_entry’
postgresql-18.3/src/backend/executor/nodeAgg.c:2156:9: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeAgg.c:2156:27: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeAgg.c:2158:46: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeAgg.c:2161:17: call_function: calling ‘initialize_aggregate’ from ‘initialize_hash_entry’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1081]
postgresql-18.3/src/backend/executor/nodeHash.c:1462:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/executor/nodeHash.c:3561:1: enter_function: entry to ‘ExecParallelHashTuplePrealloc’
postgresql-18.3/src/backend/executor/nodeHash.c:3574:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeHash.c:3579:17: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeHash.c:3580:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeHash.c:3581:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeHash.c:3581:25: call_function: calling ‘ExecParallelHashIncreaseNumBatches’ from ‘ExecParallelHashTuplePrealloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1082]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1233:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1214:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1220:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1233:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1083]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1265:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1158:1: enter_function: entry to ‘ExecIndexBuildScanKeys’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1214:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1220:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1226:43: call_function: inlined call to ‘get_leftop’ from ‘ExecIndexBuildScanKeys’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1228:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1228:39: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1233:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1234:35: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1233:29: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1237:25: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1238:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1265:29: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1084]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1350:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1329:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1350:39: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1085]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1389:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1329:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1345:36: branch_true: following ‘true’ branch (when ‘leftop’ is non-NULL)...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1345:47: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1350:36: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1351:43: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1350:37: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1354:33: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1360:36: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1360:37: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1360:37: branch_false: following ‘false’ branch (when ‘varattno > 0’)...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1360:37: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1360:37: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1363:44: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1370:36: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1373:44: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1377:36: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1384:36: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1389:37: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1086]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1474:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1311:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1451:25: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1451:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1461:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1469:28: branch_false: following ‘false’ branch (when ‘leftop’ is NULL)...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1474:31: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1474:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1087]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1507:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rightop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1311:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1451:25: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1451:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1461:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1469:28: branch_true: following ‘true’ branch (when ‘leftop’ is non-NULL)...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1469:39: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1474:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1475:35: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1474:29: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1478:25: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1479:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1498:28: branch_false: following ‘false’ branch (when ‘rightop’ is NULL)...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1503:29: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1503:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1507:37: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1507:37: danger: dereference of NULL ‘rightop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1088]
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1588:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘leftop’
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1198:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1311:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1451:25: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1451:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1570:25: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1570:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1581:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1583:28: branch_false: following ‘false’ branch (when ‘leftop’ is NULL)...
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1588:31: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeIndexscan.c:1588:31: danger: dereference of NULL ‘leftop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1089]
postgresql-18.3/src/backend/executor/nodeSetOp.c:127:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pergroup’
postgresql-18.3/src/backend/executor/nodeSetOp.c:504:1: enter_function: entry to ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:517:16: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:519:32: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:528:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:539:28: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:540:17: call_function: calling ‘set_output_count’ from ‘setop_retrieve_hash_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1090]
postgresql-18.3/src/backend/executor/nodeSetOp.c:134:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pergroup’
postgresql-18.3/src/backend/executor/nodeSetOp.c:504:1: enter_function: entry to ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:517:16: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:519:32: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:528:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:539:28: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:540:17: call_function: calling ‘set_output_count’ from ‘setop_retrieve_hash_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1091]
postgresql-18.3/src/backend/executor/nodeSetOp.c:138:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pergroup’
postgresql-18.3/src/backend/executor/nodeSetOp.c:504:1: enter_function: entry to ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:517:16: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:519:32: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:528:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:539:28: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:540:17: call_function: calling ‘set_output_count’ from ‘setop_retrieve_hash_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1092]
postgresql-18.3/src/backend/executor/nodeSetOp.c:145:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pergroup’
postgresql-18.3/src/backend/executor/nodeSetOp.c:504:1: enter_function: entry to ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:517:16: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:519:32: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:528:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:539:28: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘setop_retrieve_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:540:17: call_function: calling ‘set_output_count’ from ‘setop_retrieve_hash_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1093]
postgresql-18.3/src/backend/executor/nodeSetOp.c:446:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/executor/nodeSetOp.c:433:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:444:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:446:25: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:446:25: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1094]
postgresql-18.3/src/backend/executor/nodeSetOp.c:451:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/executor/nodeSetOp.c:433:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:444:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:451:17: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:451:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1095]
postgresql-18.3/src/backend/executor/nodeSetOp.c:487:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/executor/nodeSetOp.c:407:1: enter_function: entry to ‘setop_fill_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:442:28: call_function: inlined call to ‘TupleHashEntryGetAdditional’ from ‘setop_fill_hash_table’
postgresql-18.3/src/backend/executor/nodeSetOp.c:461:12: branch_true: following ‘true’ branch (when ‘have_tuples != 0’)...
postgresql-18.3/src/backend/executor/nodeSetOp.c:461:12: branch_true: ...to here
postgresql-18.3/src/backend/executor/nodeSetOp.c:474:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeSetOp.c:487:33: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1096]
postgresql-18.3/src/backend/lib/pairingheap.c:275:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pairs’
postgresql-18.3/src/backend/lib/pairingheap.c:251:20: branch_true: following ‘true’ branch (when ‘next’ is NULL)...
postgresql-18.3/src/backend/lib/pairingheap.c:275:9: branch_true: ...to here
postgresql-18.3/src/backend/lib/pairingheap.c:275:9: danger: dereference of NULL ‘pairs’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1097]
postgresql-18.3/src/backend/libpq/auth.c:2840:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data’
postgresql-18.3/src/backend/libpq/auth.c:2940:1: enter_function: entry to ‘PerformRadiusTransaction’
postgresql-18.3/src/backend/libpq/auth.c:2980:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/libpq/auth.c:2994:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/libpq/auth.c:3001:22: branch_true: ...to here
postgresql-18.3/src/backend/libpq/auth.c:3018:21: branch_false: following ‘false’ branch (when ‘i >= encryptedpasswordlen’)...
postgresql-18.3/src/backend/libpq/auth.c:3049:9: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:3051:9: call_function: calling ‘radius_add_attribute’ from ‘PerformRadiusTransaction’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1098]
postgresql-18.3/src/backend/libpq/auth.c:2895:100: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘secrets’
postgresql-18.3/src/backend/libpq/auth.c:2845:1: enter_function: entry to ‘CheckRADIUSAuth’
postgresql-18.3/src/backend/libpq/auth.c:2857:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/libpq/auth.c:2864:13: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2864:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/libpq/auth.c:2872:9: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2872:9: call_function: calling ‘sendAuthRequest’ from ‘CheckRADIUSAuth’
postgresql-18.3/src/backend/libpq/auth.c:2872:9: return_function: returning to ‘CheckRADIUSAuth’ from ‘sendAuthRequest’
postgresql-18.3/src/backend/libpq/auth.c:2874:18: call_function: calling ‘recv_password_packet’ from ‘CheckRADIUSAuth’
postgresql-18.3/src/backend/libpq/auth.c:2874:18: return_function: returning to ‘CheckRADIUSAuth’ from ‘recv_password_packet’
postgresql-18.3/src/backend/libpq/auth.c:2875:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/libpq/auth.c:2878:13: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2878:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/libpq/auth.c:2889:29: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2889:19: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/src/backend/libpq/auth.c:2890:33: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2890:23: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/src/backend/libpq/auth.c:2891:23: call_function: inlined call to ‘list_head’ from ‘CheckRADIUSAuth’
postgresql-18.3/src/backend/libpq/auth.c:2892:9: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2892:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/libpq/auth.c:2894:47: branch_false: following ‘false’ branch (when ‘identifiers’ is NULL)...
postgresql-18.3/src/backend/libpq/auth.c:2894:47: branch_false: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2894:47: branch_true: following ‘true’ branch (when ‘radiusports’ is non-NULL)...
postgresql-18.3/src/backend/libpq/auth.c:2894:47: branch_true: ...to here
postgresql-18.3/src/backend/libpq/auth.c:2895:100: danger: dereference of NULL ‘secrets’
Error: CPPCHECK_WARNING (CWE-457): [#def1099]
postgresql-18.3/src/backend/libpq/auth.c:3051: warning[uninitvar]: Uninitialized variable: encryptedpassword
Error: CPPCHECK_WARNING (CWE-457): [#def1100]
postgresql-18.3/src/backend/libpq/be-fsstubs.c:523: warning[uninitvar]: Uninitialized variable: fd
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1101]
postgresql-18.3/src/backend/libpq/crypt.c:99:13: warning[-Wanalyzer-null-argument]: use of NULL ‘shadow_pass’ where non-null expected
postgresql-18.3/src/backend/libpq/crypt.c:117:1: enter_function: entry to ‘encrypt_password’
postgresql-18.3/src/backend/libpq/crypt.c:163:12: branch_false: following ‘false’ branch (when ‘encrypted_password’ is NULL)...
postgresql-18.3/src/backend/libpq/crypt.c:179:13: branch_false: ...to here
postgresql-18.3/src/backend/libpq/crypt.c:179:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/libpq/crypt.c:180:17: branch_true: ...to here
postgresql-18.3/src/backend/libpq/crypt.c:180:17: call_function: calling ‘get_password_type’ from ‘encrypt_password’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1102]
postgresql-18.3/src/backend/libpq/hba.c:1353:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/libpq/hba.c:2645:1: enter_function: entry to ‘load_hba’
postgresql-18.3/src/backend/libpq/hba.c:2655:16: call_function: calling ‘open_auth_file’ from ‘load_hba’
postgresql-18.3/src/backend/libpq/hba.c:2655:16: return_function: returning to ‘load_hba’ from ‘open_auth_file’
postgresql-18.3/src/backend/libpq/hba.c:2656:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/libpq/hba.c:2662:9: branch_false: ...to here
postgresql-18.3/src/backend/libpq/hba.c:2662:9: call_function: calling ‘tokenize_auth_file’ from ‘load_hba’
postgresql-18.3/src/backend/libpq/hba.c:2662:9: return_function: returning to ‘load_hba’ from ‘tokenize_auth_file’
postgresql-18.3/src/backend/libpq/hba.c:2670:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/libpq/hba.c:2682:32: call_function: calling ‘parse_hba_line’ from ‘load_hba’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1103]
postgresql-18.3/src/backend/libpq/hba.c:2768:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/libpq/hba.c:2751:1: enter_function: entry to ‘parse_ident_line’
postgresql-18.3/src/backend/libpq/hba.c:2762:17: call_function: inlined call to ‘list_head’ from ‘parse_ident_line’
postgresql-18.3/src/backend/libpq/hba.c:2764:22: branch_false: ...to here
postgresql-18.3/src/backend/libpq/hba.c:2768:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1104]
postgresql-18.3/src/backend/optimizer/path/indxpath.c:637:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/src/backend/optimizer/path/indxpath.c:626:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:635:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:637:41: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:637:41: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1105]
postgresql-18.3/src/backend/optimizer/path/indxpath.c:653:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/src/backend/optimizer/path/indxpath.c:626:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:646:17: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:646:17: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:650:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:653:41: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:653:41: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1106]
postgresql-18.3/src/backend/optimizer/path/indxpath.c:660:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘clauseset.indexclauses[indexcol]’
postgresql-18.3/src/backend/optimizer/path/indxpath.c:626:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:631:17: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:646:17: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:660:25: danger: use of uninitialized value ‘clauseset.indexclauses[indexcol]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1107]
postgresql-18.3/src/backend/optimizer/path/indxpath.c:869:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*clauses.indexclauses[indexcol]’
postgresql-18.3/src/backend/optimizer/path/indxpath.c:607:1: enter_function: entry to ‘get_join_index_paths’
postgresql-18.3/src/backend/optimizer/path/indxpath.c:626:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/indxpath.c:671:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/path/indxpath.c:671:9: call_function: calling ‘get_index_paths’ from ‘get_join_index_paths’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1108]
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1495:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lcr1’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1422:1: enter_function: entry to ‘try_partitionwise_join’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1438:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1448:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1466:9: call_function: calling ‘compute_partition_bounds’ from ‘try_partitionwise_join’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1466:9: return_function: returning to ‘try_partitionwise_join’ from ‘compute_partition_bounds’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1480:29: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1493:21: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1493:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1495:25: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1495:25: danger: dereference of NULL ‘lcr1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1109]
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1496:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lcr2’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1422:1: enter_function: entry to ‘try_partitionwise_join’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1438:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1448:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1466:9: call_function: calling ‘compute_partition_bounds’ from ‘try_partitionwise_join’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1466:9: return_function: returning to ‘try_partitionwise_join’ from ‘compute_partition_bounds’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1469:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1471:24: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1471:24: call_function: inlined call to ‘list_head’ from ‘try_partitionwise_join’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1472:24: call_function: inlined call to ‘list_head’ from ‘try_partitionwise_join’
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1480:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1480:29: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1493:21: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1493:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1495:25: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/path/joinrels.c:1496:25: danger: dereference of NULL ‘lcr2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1110]
postgresql-18.3/src/backend/optimizer/path/pathkeys.c:1420:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/optimizer/path/pathkeys.c:1381:1: enter_function: entry to ‘make_pathkeys_for_sortclauses_extended’
postgresql-18.3/src/backend/optimizer/path/pathkeys.c:1393:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/path/pathkeys.c:1413:27: call_function: calling ‘make_pathkey_from_sortop’ from ‘make_pathkeys_for_sortclauses_extended’
postgresql-18.3/src/backend/optimizer/path/pathkeys.c:1413:27: return_function: returning to ‘make_pathkeys_for_sortclauses_extended’ from ‘make_pathkey_from_sortop’
postgresql-18.3/src/backend/optimizer/path/pathkeys.c:1420:21: danger: dereference of NULL ‘make_pathkey_from_sortop(root, sortkey, *sortcl.sortop, *sortcl.reverse_sort, *sortcl.nulls_first, *sortcl.tleSortGroupRef, 1)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1111]
postgresql-18.3/src/backend/optimizer/plan/analyzejoins.c:1234:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/src/backend/optimizer/plan/analyzejoins.c:980:1: enter_function: entry to ‘rel_is_distinct_for’
postgresql-18.3/src/backend/optimizer/plan/analyzejoins.c:1060:21: call_function: calling ‘query_is_distinct_for’ from ‘rel_is_distinct_for’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1112]
postgresql-18.3/src/backend/optimizer/plan/createplan.c:5202:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/optimizer/plan/createplan.c:5191:1: enter_function: entry to ‘fix_indexqual_clause’
postgresql-18.3/src/backend/optimizer/plan/createplan.c:5200:18: call_function: inlined call to ‘replace_nestloop_params’ from ‘fix_indexqual_clause’
postgresql-18.3/src/backend/optimizer/plan/createplan.c:5200:18: call_function: inlined call to ‘replace_nestloop_params’ from ‘fix_indexqual_clause’
postgresql-18.3/src/backend/optimizer/plan/createplan.c:5202:13: danger: dereference of NULL ‘replace_nestloop_params_mutator(clause, root)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1113]
postgresql-18.3/src/backend/optimizer/plan/planner.c:4114:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partially_grouped_rel’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8064:1: enter_function: entry to ‘create_partitionwise_grouping_paths’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8085:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/plan/planner.c:8087:47: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/plan/planner.c:8144:17: call_function: calling ‘create_ordinary_grouping_paths’ from ‘create_partitionwise_grouping_paths’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1114]
postgresql-18.3/src/backend/optimizer/plan/planner.c:8320:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8295:1: enter_function: entry to ‘generate_setop_child_grouplist’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8302:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8303:24: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/plan/planner.c:8303:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8304:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/plan/planner.c:8304:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/plan/planner.c:8311:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/plan/planner.c:8320:17: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/plan/planner.c:8320:17: danger: dereference of NULL ‘lg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1115]
postgresql-18.3/src/backend/optimizer/plan/planner.c:8321:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ct’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8295:1: enter_function: entry to ‘generate_setop_child_grouplist’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8302:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8303:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_child_grouplist’
postgresql-18.3/src/backend/optimizer/plan/planner.c:8304:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/plan/planner.c:8304:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/plan/planner.c:8311:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/plan/planner.c:8320:17: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/plan/planner.c:8321:17: danger: dereference of NULL ‘ct’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1116]
postgresql-18.3/src/backend/optimizer/plan/setrefs.c:2092:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*root.grouping_map’
postgresql-18.3/src/backend/optimizer/plan/setrefs.c:3635:1: enter_function: entry to ‘extract_query_dependencies’
postgresql-18.3/src/backend/optimizer/plan/setrefs.c:3651:9: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/optimizer/plan/setrefs.c:3652:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/plan/setrefs.c:3655:16: call_function: calling ‘extract_query_dependencies_walker’ from ‘extract_query_dependencies’
Error: CPPCHECK_WARNING (CWE-476): [#def1117]
postgresql-18.3/src/backend/optimizer/plan/setrefs.c:2188: warning[nullPointer]: Possible null pointer dereference: bestplan
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1118]
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:121:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘target_rte’
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:80:12: branch_false: following ‘false’ branch (when ‘result_relation == 0’)...
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:105:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:106:12: branch_false: following ‘false’ branch (when ‘command_type != 3’)...
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:108:17: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:108:17: branch_false: following ‘false’ branch (when ‘command_type != 2’)...
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:119:14: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:121:18: danger: dereference of NULL ‘target_rte’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1119]
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:398:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:64:1: enter_function: entry to ‘preprocess_targetlist’
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:80:12: branch_false: following ‘false’ branch (when ‘result_relation == 0’)...
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:105:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:106:12: branch_true: following ‘true’ branch (when ‘command_type == 3’)...
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:107:25: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/prep/preptlist.c:107:25: call_function: calling ‘expand_insert_targetlist’ from ‘preprocess_targetlist’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1120]
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1521:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘curColType’
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1508:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1515:17: branch_true: following ‘true’ branch (when ‘subtlist’ is non-NULL)...
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1515:17: branch_true: ...to here
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1521:64: danger: dereference of NULL ‘curColType’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1121]
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1613:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lg’
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1594:1: enter_function: entry to ‘generate_setop_grouplist’
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1600:14: call_function: inlined call to ‘list_head’ from ‘generate_setop_grouplist’
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1601:9: branch_false: ...to here
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1601:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/optimizer/prep/prepunion.c:1613:17: danger: dereference of NULL ‘lg’
Error: COMPILER_WARNING (CWE-457): [#def1122]
postgresql-18.3/src/backend/optimizer/util/clauses.c: scope_hint: In function ‘recheck_cast_function_args.isra.0’
postgresql-18.3/src/backend/optimizer/util/clauses.c:4403:19: warning[-Wmaybe-uninitialized]: ‘actual_arg_types’ may be used uninitialized
postgresql-18.3/src/backend/optimizer/util/clauses.c:42: included_from: Included from here.
postgresql-18.3/src/include/parser/parse_coerce.h:85:17: note: by argument 1 of type ‘const Oid *’ to ‘enforce_generic_type_consistency’ declared here
postgresql-18.3/src/backend/optimizer/util/clauses.c:4389:33: note: ‘actual_arg_types’ declared here
Error: CPPCHECK_WARNING (CWE-457): [#def1123]
postgresql-18.3/src/backend/parser/gram.y:17084: error[legacyUninitvar]: Uninitialized variable: encoding
Error: CPPCHECK_WARNING (CWE-457): [#def1124]
postgresql-18.3/src/backend/parser/gram.y:17528: error[legacyUninitvar]: Uninitialized variable: n
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1125]
postgresql-18.3/src/backend/parser/parse_collate.c:972:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h_cell’
postgresql-18.3/src/backend/parser/parse_collate.c:955:1: enter_function: entry to ‘assign_hypothetical_collations’
postgresql-18.3/src/backend/parser/parse_collate.c:958:30: call_function: inlined call to ‘list_head’ from ‘assign_hypothetical_collations’
postgresql-18.3/src/backend/parser/parse_collate.c:959:40: branch_false: ...to here
postgresql-18.3/src/backend/parser/parse_collate.c:959:30: call_function: inlined call to ‘list_head’ from ‘assign_hypothetical_collations’
postgresql-18.3/src/backend/parser/parse_collate.c:964:34: call_function: inlined call to ‘list_length’ from ‘assign_hypothetical_collations’
postgresql-18.3/src/backend/parser/parse_collate.c:970:16: branch_true: following ‘true’ branch (when ‘extra_args > 0’)...
postgresql-18.3/src/backend/parser/parse_collate.c:972:58: branch_true: ...to here
postgresql-18.3/src/backend/parser/parse_collate.c:972:58: danger: dereference of NULL ‘h_cell’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1126]
postgresql-18.3/src/backend/parser/parse_cte.c:1122:74: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/parser/parse_cte.c:1207:1: enter_function: entry to ‘checkWellFormedSelectStmt’
postgresql-18.3/src/backend/parser/parse_cte.c:1231:33: call_function: calling ‘checkWellFormedRecursionWalker’ from ‘checkWellFormedSelectStmt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1127]
postgresql-18.3/src/backend/parser/parse_func.c:2014:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lc’
postgresql-18.3/src/backend/parser/parse_func.c:2008:21: branch_true: following ‘true’ branch (when ‘i < nargs’)...
postgresql-18.3/src/backend/parser/parse_func.c:2010:20: branch_true: ...to here
postgresql-18.3/src/backend/parser/parse_func.c:2010:20: branch_false: following ‘false’ branch (when ‘i == 0’)...
postgresql-18.3/src/backend/parser/parse_func.c:2012:20: branch_false: ...to here
postgresql-18.3/src/backend/parser/parse_func.c:2008:21: branch_true: following ‘true’ branch (when ‘i < nargs’)...
postgresql-18.3/src/backend/parser/parse_func.c:2010:20: branch_true: ...to here
postgresql-18.3/src/backend/parser/parse_func.c:2014:70: danger: dereference of NULL ‘lc’
Error: CPPCHECK_WARNING (CWE-457): [#def1128]
postgresql-18.3/src/backend/parser/parse_func.c:2271: warning[uninitvar]: Uninitialized variable: argoids
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1129]
postgresql-18.3/src/backend/parser/parse_relation.c:3065:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘aliasp_item’
postgresql-18.3/src/backend/parser/parse_relation.c:2751:1: enter_function: entry to ‘expandRTE’
postgresql-18.3/src/backend/parser/parse_relation.c:2758:12: branch_true: following ‘true’ branch (when ‘colnames’ is non-NULL)...
postgresql-18.3/src/backend/parser/parse_relation.c:2759:17: branch_true: ...to here
postgresql-18.3/src/backend/parser/parse_relation.c:2760:12: branch_false: following ‘false’ branch (when ‘colvars’ is NULL)...
postgresql-18.3/src/backend/parser/parse_relation.c:2763:17: branch_false: ...to here
postgresql-18.3/src/backend/parser/parse_relation.c:3044:59: call_function: inlined call to ‘list_head’ from ‘expandRTE’
postgresql-18.3/src/backend/parser/parse_relation.c:3050:33: branch_false: ...to here
postgresql-18.3/src/backend/parser/parse_relation.c:3050:33: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/parser/parse_relation.c:3060:44: branch_true: following ‘true’ branch (when ‘colnames’ is non-NULL)...
postgresql-18.3/src/backend/parser/parse_relation.c:3063:52: branch_true: ...to here
postgresql-18.3/src/backend/parser/parse_relation.c:3063:52: branch_true: following ‘true’ branch (when ‘coltype != 0’)...
postgresql-18.3/src/backend/parser/parse_relation.c:3065:77: branch_true: ...to here
postgresql-18.3/src/backend/parser/parse_relation.c:3065:77: danger: dereference of NULL ‘aliasp_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1130]
postgresql-18.3/src/backend/parser/scan.c:10850:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/backend/parser/scan.c:10729:10: enter_function: entry to ‘core_yyrestart’
postgresql-18.3/src/backend/parser/scan.c:10734:16: call_function: calling ‘core_yyensure_buffer_stack’ from ‘core_yyrestart’
postgresql-18.3/src/backend/parser/scan.c:10734:16: return_function: returning to ‘core_yyrestart’ from ‘core_yyensure_buffer_stack’
postgresql-18.3/src/backend/parser/scan.c:10736:27: call_function: calling ‘core_yy_create_buffer’ from ‘core_yyrestart’
postgresql-18.3/src/backend/parser/scan.c:10736:27: return_function: returning to ‘core_yyrestart’ from ‘core_yy_create_buffer’
postgresql-18.3/src/backend/parser/scan.c:10739:2: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/parser/scan.c:10739:2: branch_false: ...to here
postgresql-18.3/src/backend/parser/scan.c:10739:2: call_function: calling ‘core_yy_init_buffer’ from ‘core_yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1131]
postgresql-18.3/src/backend/partitioning/partbounds.c:4039:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘partexprs_item’
postgresql-18.3/src/backend/partitioning/partbounds.c:3983:1: enter_function: entry to ‘get_qual_for_hash’
postgresql-18.3/src/backend/partitioning/partbounds.c:4020:26: call_function: inlined call to ‘list_head’ from ‘get_qual_for_hash’
postgresql-18.3/src/backend/partitioning/partbounds.c:4023:9: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4023:21: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:4028:21: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4028:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:4039:43: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4039:43: danger: dereference of NULL ‘partexprs_item’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1132]
postgresql-18.3/src/backend/partitioning/partprune.c:2545:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘start’
postgresql-18.3/src/backend/partitioning/partprune.c:2525:1: enter_function: entry to ‘get_steps_using_prefix_recurse’
postgresql-18.3/src/backend/partitioning/partprune.c:2549:12: branch_true: following ‘true’ branch (when ‘cur_keyno < final_keyno’)...
postgresql-18.3/src/backend/partitioning/partprune.c:2559:17: call_function: inlined call to ‘for_each_cell_setup’ from ‘get_steps_using_prefix_recurse’
postgresql-18.3/src/backend/partitioning/partprune.c:2563:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partprune.c:2559:17: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:2575:17: call_function: inlined call to ‘for_each_cell_setup’ from ‘get_steps_using_prefix_recurse’
postgresql-18.3/src/backend/partitioning/partprune.c:2575:17: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/partitioning/partprune.c:2575:17: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:2582:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/partitioning/partprune.c:2585:47: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:2599:37: call_function: calling ‘get_steps_using_prefix_recurse’ from ‘get_steps_using_prefix_recurse’
Error: CPPCHECK_WARNING (CWE-457): [#def1133]
postgresql-18.3/src/backend/partitioning/partprune.c:2725: warning[uninitvar]: Uninitialized variable: isnull
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1134]
postgresql-18.3/src/backend/partitioning/partprune.c:3516:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘lc2’
postgresql-18.3/src/backend/partitioning/partprune.c:3444:1: enter_function: entry to ‘perform_pruning_base_step’
postgresql-18.3/src/backend/partitioning/partprune.c:3461:15: call_function: inlined call to ‘list_head’ from ‘perform_pruning_base_step’
postgresql-18.3/src/backend/partitioning/partprune.c:3462:15: call_function: inlined call to ‘list_head’ from ‘perform_pruning_base_step’
postgresql-18.3/src/backend/partitioning/partprune.c:3468:9: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:3468:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/partitioning/partprune.c:3475:42: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:3482:20: branch_false: following ‘false’ branch (when ‘keyno <= nvalues’)...
postgresql-18.3/src/backend/partitioning/partprune.c:3485:20: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:3485:20: branch_true: following ‘true’ branch (when ‘lc1’ is non-NULL)...
postgresql-18.3/src/backend/partitioning/partprune.c:3492:25: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:3503:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partprune.c:3516:25: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partprune.c:3516:25: danger: dereference of NULL ‘lc2’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1135]
postgresql-18.3/src/backend/partitioning/partprune.c:3560:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘values[0]’
Error: GCC_ANALYZER_WARNING: [#def1136]
postgresql-18.3/src/backend/postmaster/syslogger.c:238:32: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
postgresql-18.3/src/backend/postmaster/syslogger.c:219:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:221:46: branch_true: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:234:17: release_resource: closed here
postgresql-18.3/src/backend/postmaster/syslogger.c:236:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:238:32: branch_true: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:238:32: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def1137]
postgresql-18.3/src/backend/postmaster/syslogger.c:239:32: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
postgresql-18.3/src/backend/postmaster/syslogger.c:219:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:221:46: branch_true: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:235:17: release_resource: closed here
postgresql-18.3/src/backend/postmaster/syslogger.c:236:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:238:32: branch_true: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:239:32: danger: ‘2’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1138]
postgresql-18.3/src/backend/postmaster/syslogger.c:736:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(syslogPipe[1], 1)’
postgresql-18.3/src/backend/postmaster/syslogger.c:593:1: enter_function: entry to ‘SysLogger_Start’
postgresql-18.3/src/backend/postmaster/syslogger.c:663:20: call_function: calling ‘logfile_getname’ from ‘SysLogger_Start’
postgresql-18.3/src/backend/postmaster/syslogger.c:663:20: return_function: returning to ‘SysLogger_Start’ from ‘logfile_getname’
postgresql-18.3/src/backend/postmaster/syslogger.c:708:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:718:13: branch_false: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:718:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:729:17: branch_false: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:736:21: acquire_resource: opened here
postgresql-18.3/src/backend/postmaster/syslogger.c:736:20: danger: ‘dup2(syslogPipe[1], 1)’ leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1139]
postgresql-18.3/src/backend/postmaster/syslogger.c:741:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(syslogPipe[1], 2)’
postgresql-18.3/src/backend/postmaster/syslogger.c:593:1: enter_function: entry to ‘SysLogger_Start’
postgresql-18.3/src/backend/postmaster/syslogger.c:663:20: call_function: calling ‘logfile_getname’ from ‘SysLogger_Start’
postgresql-18.3/src/backend/postmaster/syslogger.c:663:20: return_function: returning to ‘SysLogger_Start’ from ‘logfile_getname’
postgresql-18.3/src/backend/postmaster/syslogger.c:708:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:718:13: branch_false: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:718:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:729:17: branch_false: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:736:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/postmaster/syslogger.c:740:17: branch_false: ...to here
postgresql-18.3/src/backend/postmaster/syslogger.c:741:21: acquire_resource: opened here
postgresql-18.3/src/backend/postmaster/syslogger.c:741:20: danger: ‘dup2(syslogPipe[1], 2)’ leaks here; was opened at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1140]
postgresql-18.3/src/backend/regex/rege_dfa.c:1021:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘<unknown>’
postgresql-18.3/src/backend/regex/rege_dfa.c:985:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/regex/rege_dfa.c:990:9: branch_false: ...to here
postgresql-18.3/src/backend/regex/rege_dfa.c:1002:21: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/regex/rege_dfa.c:1004:21: branch_true: ...to here
postgresql-18.3/src/backend/regex/rege_dfa.c:1006:20: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/src/backend/regex/rege_dfa.c:1009:21: branch_false: ...to here
postgresql-18.3/src/backend/regex/rege_dfa.c:1021:25: danger: dereference of NULL ‘lastap.ss’
Error: CPPCHECK_WARNING (CWE-457): [#def1141]
postgresql-18.3/src/backend/replication/logical/logical.c:2197: warning[uninitvar]: Uninitialized variable: retlsn
Error: CPPCHECK_WARNING (CWE-457): [#def1142]
postgresql-18.3/src/backend/replication/logical/reorderbuffer.c:5017: error[legacyUninitvar]: Uninitialized variable: chunksize
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1143]
postgresql-18.3/src/backend/replication/repl_gram.c:1113:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1077:28: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1100:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1102:7: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1111:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1113:9: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1113:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1144]
postgresql-18.3/src/backend/replication/repl_gram.y:104:71: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].node’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:104:71: danger: use of uninitialized value ‘yyvsp[2305843009213693951].node’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1145]
postgresql-18.3/src/backend/replication/repl_gram.y:163:77: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:163:77: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1146]
postgresql-18.3/src/backend/replication/repl_gram.y:190:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:188:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:190:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1147]
postgresql-18.3/src/backend/replication/repl_gram.y:191:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:188:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:191:58: danger: out-of-bounds read at bit -64 but ‘yyvsa’ starts at bit 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1148]
postgresql-18.3/src/backend/replication/repl_gram.y:201:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:199:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:201:57: danger: out-of-bounds read from byte -24 till byte -17 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1149]
postgresql-18.3/src/backend/replication/repl_gram.y:202:58: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:199:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:202:58: danger: out-of-bounds read at bit -128 but ‘yyvsa’ starts at bit 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1150]
postgresql-18.3/src/backend/replication/repl_gram.y:210:129: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:210:129: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1151]
postgresql-18.3/src/backend/replication/repl_gram.y:216:78: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:216:78: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1152]
postgresql-18.3/src/backend/replication/repl_gram.y:275:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:274:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:275:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1153]
postgresql-18.3/src/backend/replication/repl_gram.y:291:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:289:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:291:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1154]
postgresql-18.3/src/backend/replication/repl_gram.y:305:57: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:992:1: enter_function: entry to ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:303:47: call_function: inlined call to ‘newNode’ from ‘replication_yyparse’
postgresql-18.3/src/backend/replication/repl_gram.y:305:57: danger: out-of-bounds read from byte -16 till byte -9 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1155]
postgresql-18.3/src/backend/replication/repl_gram.y:371:117: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:371:117: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1156]
postgresql-18.3/src/backend/replication/repl_gram.y:382:56: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:382:56: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1157]
postgresql-18.3/src/backend/replication/repl_gram.y:389:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:389:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1158]
postgresql-18.3/src/backend/replication/repl_gram.y:400:78: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:400:78: danger: out-of-bounds read from byte -8 till byte -1 but ‘yyvsa’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1159]
postgresql-18.3/src/backend/replication/repl_gram.y:412:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:412:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1160]
postgresql-18.3/src/backend/replication/repl_gram.y:416:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:416:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1161]
postgresql-18.3/src/backend/replication/repl_gram.y:420:58: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].str’
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1150:6: branch_false: following ‘false’ branch (when ‘yyn != -36’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1156:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1159:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1168:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1180:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1187:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1190:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1200:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1207:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1071:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1135:6: branch_false: following ‘false’ branch (when ‘yystate != 34’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1138:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.c:1220:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/repl_gram.c:1222:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_gram.y:420:58: danger: use of uninitialized value ‘yyvsp[2305843009213693951].str’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1162]
postgresql-18.3/src/backend/replication/repl_scanner.c:2055:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/backend/replication/repl_scanner.c:1934:10: enter_function: entry to ‘replication_yyrestart’
postgresql-18.3/src/backend/replication/repl_scanner.c:1939:16: call_function: calling ‘replication_yyensure_buffer_stack’ from ‘replication_yyrestart’
postgresql-18.3/src/backend/replication/repl_scanner.c:1939:16: return_function: returning to ‘replication_yyrestart’ from ‘replication_yyensure_buffer_stack’
postgresql-18.3/src/backend/replication/repl_scanner.c:1941:27: call_function: calling ‘replication_yy_create_buffer’ from ‘replication_yyrestart’
postgresql-18.3/src/backend/replication/repl_scanner.c:1941:27: return_function: returning to ‘replication_yyrestart’ from ‘replication_yy_create_buffer’
postgresql-18.3/src/backend/replication/repl_scanner.c:1944:2: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/repl_scanner.c:1944:2: branch_false: ...to here
postgresql-18.3/src/backend/replication/repl_scanner.c:1944:2: call_function: calling ‘replication_yy_init_buffer’ from ‘replication_yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1163]
postgresql-18.3/src/backend/replication/syncrep_gram.c:988:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/backend/replication/syncrep_gram.c:946:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:952:28: branch_true: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:975:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:977:7: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:986:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:988:9: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:988:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1164]
postgresql-18.3/src/backend/replication/syncrep_gram.y:69:102: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/src/backend/replication/syncrep_gram.c:946:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1013:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1025:6: branch_false: following ‘false’ branch (when ‘yyn != -10’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1031:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1031:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1034:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1043:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1055:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1062:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1065:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1075:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1075:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1082:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:946:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1013:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1095:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1097:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.y:69:102: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1165]
postgresql-18.3/src/backend/replication/syncrep_gram.y:70:98: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvsp[2305843009213693951].list’
postgresql-18.3/src/backend/replication/syncrep_gram.c:946:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1013:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1025:6: branch_false: following ‘false’ branch (when ‘yyn != -10’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1031:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1031:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1034:16: branch_true: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1043:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1055:17: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1062:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1065:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1075:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1075:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1082:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:946:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1010:6: branch_false: following ‘false’ branch (when ‘yystate != 12’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1013:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.c:1095:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/backend/replication/syncrep_gram.c:1097:3: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_gram.y:70:98: danger: use of uninitialized value ‘yyvsp[2305843009213693951].list’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1166]
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1697:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1576:10: enter_function: entry to ‘syncrep_yyrestart’
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1581:16: call_function: calling ‘syncrep_yyensure_buffer_stack’ from ‘syncrep_yyrestart’
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1581:16: return_function: returning to ‘syncrep_yyrestart’ from ‘syncrep_yyensure_buffer_stack’
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1583:27: call_function: calling ‘syncrep_yy_create_buffer’ from ‘syncrep_yyrestart’
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1583:27: return_function: returning to ‘syncrep_yyrestart’ from ‘syncrep_yy_create_buffer’
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1586:2: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1586:2: branch_false: ...to here
postgresql-18.3/src/backend/replication/syncrep_scanner.c:1586:2: call_function: calling ‘syncrep_yy_init_buffer’ from ‘syncrep_yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1167]
postgresql-18.3/src/backend/statistics/dependencies.c:795:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/src/backend/statistics/dependencies.c:1370:1: enter_function: entry to ‘dependencies_clauselist_selectivity’
postgresql-18.3/src/backend/statistics/dependencies.c:1397:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/statistics/dependencies.c:1401:82: call_function: inlined call to ‘list_length’ from ‘dependencies_clauselist_selectivity’
postgresql-18.3/src/backend/statistics/dependencies.c:1429:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/statistics/dependencies.c:1433:29: release_memory: ‘expr’ is NULL
postgresql-18.3/src/backend/statistics/dependencies.c:1438:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/statistics/dependencies.c:1445:29: branch_false: ...to here
postgresql-18.3/src/backend/statistics/dependencies.c:1445:29: call_function: calling ‘dependency_is_compatible_clause’ from ‘dependencies_clauselist_selectivity’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1168]
postgresql-18.3/src/backend/statistics/dependencies.c:1223:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/src/backend/statistics/dependencies.c:1168:1: enter_function: entry to ‘dependency_is_compatible_expression’
postgresql-18.3/src/backend/statistics/dependencies.c:1174:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/statistics/dependencies.c:1179:21: branch_true: ...to here
postgresql-18.3/src/backend/statistics/dependencies.c:1179:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/statistics/dependencies.c:1183:36: branch_false: ...to here
postgresql-18.3/src/backend/statistics/dependencies.c:1183:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/statistics/dependencies.c:1186:17: branch_false: ...to here
postgresql-18.3/src/backend/statistics/dependencies.c:1189:13: call_function: inlined call to ‘is_opclause’ from ‘dependency_is_compatible_expression’
postgresql-18.3/src/backend/statistics/dependencies.c:1223:18: branch_false: ...to here
postgresql-18.3/src/backend/statistics/dependencies.c:1223:18: danger: dereference of NULL ‘clause’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1169]
postgresql-18.3/src/backend/statistics/mcv.c:1710:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘clause’
postgresql-18.3/src/backend/statistics/mcv.c:2126:1: enter_function: entry to ‘mcv_clause_selectivity_or’
postgresql-18.3/src/backend/statistics/mcv.c:2140:23: call_function: calling ‘mcv_get_match_bitmap’ from ‘mcv_clause_selectivity_or’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1170]
postgresql-18.3/src/backend/statistics/mvdistinct.c:365:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/statistics/mvdistinct.c:355:1: enter_function: entry to ‘pg_ndistinct_out’
postgresql-18.3/src/backend/statistics/mvdistinct.c:358:30: call_function: calling ‘statext_ndistinct_deserialize’ from ‘pg_ndistinct_out’
postgresql-18.3/src/backend/statistics/mvdistinct.c:358:30: return_function: returning to ‘pg_ndistinct_out’ from ‘statext_ndistinct_deserialize’
postgresql-18.3/src/backend/statistics/mvdistinct.c:365:25: danger: dereference of NULL ‘statext_ndistinct_deserialize(pg_detoast_datum_packed((char *)*fcinfo.args[0].value))’
Error: CPPCHECK_WARNING (CWE-909): [#def1171]
postgresql-18.3/src/backend/storage/lmgr/lmgr.c:729: error[uninitStructMember]: Uninitialized struct member: callback.previous
Error: CPPCHECK_WARNING (CWE-457): [#def1172]
postgresql-18.3/src/backend/storage/lmgr/lock.c:2000: warning[uninitvar]: Uninitialized variable: result
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1173]
postgresql-18.3/src/backend/storage/page/bufpage.c:523:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*itemidptr.itemoff’
postgresql-18.3/src/backend/storage/page/bufpage.c:698:1: enter_function: entry to ‘PageRepairFragmentation’
postgresql-18.3/src/backend/storage/page/bufpage.c:722:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/page/bufpage.c:724:17: branch_false: ...to here
postgresql-18.3/src/backend/storage/page/bufpage.c:722:13: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/page/bufpage.c:726:17: branch_false: ...to here
postgresql-18.3/src/backend/storage/page/bufpage.c:722:13: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/page/bufpage.c:735:17: call_function: inlined call to ‘PageGetMaxOffsetNumber’ from ‘PageRepairFragmentation’
postgresql-18.3/src/backend/storage/page/bufpage.c:735:9: branch_true: ...to here
postgresql-18.3/src/backend/storage/page/bufpage.c:739:37: branch_false: following ‘false’ branch (when ‘i > nline’)...
postgresql-18.3/src/backend/storage/page/bufpage.c:776:30: branch_false: ...to here
postgresql-18.3/src/backend/storage/page/bufpage.c:777:12: branch_false: following ‘false’ branch (when ‘nstorage != 0’)...
postgresql-18.3/src/backend/storage/page/bufpage.c:785:39: branch_false: ...to here
postgresql-18.3/src/backend/storage/page/bufpage.c:785:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/page/bufpage.c:791:17: branch_false: ...to here
postgresql-18.3/src/backend/storage/page/bufpage.c:791:17: call_function: calling ‘compactify_tuples’ from ‘PageRepairFragmentation’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1174]
postgresql-18.3/src/backend/storage/smgr/md.c:512:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/storage/smgr/md.c:1744:1: enter_function: entry to ‘_mdfd_getseg’
postgresql-18.3/src/backend/storage/smgr/md.c:1759:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/smgr/md.c:1766:13: branch_false: ...to here
postgresql-18.3/src/backend/storage/smgr/md.c:1766:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/smgr/md.c:1776:12: branch_false: ...to here
postgresql-18.3/src/backend/storage/smgr/md.c:1786:18: branch_true: following ‘true’ branch (when ‘nextsegno <= targetseg’)...
postgresql-18.3/src/backend/storage/smgr/md.c:1788:39: branch_true: ...to here
postgresql-18.3/src/backend/storage/smgr/md.c:1788:39: call_function: calling ‘_mdnblocks’ from ‘_mdfd_getseg’
postgresql-18.3/src/backend/storage/smgr/md.c:1788:39: return_function: returning to ‘_mdfd_getseg’ from ‘_mdnblocks’
postgresql-18.3/src/backend/storage/smgr/md.c:1793:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/storage/smgr/md.c:1796:21: branch_false: ...to here
postgresql-18.3/src/backend/storage/smgr/md.c:1818:33: call_function: calling ‘mdextend’ from ‘_mdfd_getseg’
Error: CPPCHECK_WARNING (CWE-457): [#def1175]
postgresql-18.3/src/backend/tcop/pquery.c:604: warning[uninitvar]: Uninitialized variables: oldContext.type, oldContext.isReset, oldContext.allowInCritSection, oldContext.mem_allocated, oldContext.methods, oldContext.parent, oldContext.firstchild, oldContext.prevchild, oldContext.nextchild, oldContext.name, oldContext.ident, oldContext.reset_cbs
Error: CPPCHECK_WARNING (CWE-457): [#def1176]
postgresql-18.3/src/backend/tcop/pquery.c:1453: warning[uninitvar]: Uninitialized variables: oldContext.type, oldContext.isReset, oldContext.allowInCritSection, oldContext.mem_allocated, oldContext.methods, oldContext.parent, oldContext.firstchild, oldContext.prevchild, oldContext.nextchild, oldContext.name, oldContext.ident, oldContext.reset_cbs
Error: CPPCHECK_WARNING (CWE-457): [#def1177]
postgresql-18.3/src/backend/tcop/pquery.c:1462: warning[uninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def1178]
postgresql-18.3/src/backend/tsearch/dict_synonym.c:232: error[uninitvar]: Uninitialized variables: &key.outlen, &key.flags
Error: COMPILER_WARNING (CWE-704): [#def1179]
postgresql-18.3/src/backend/tsearch/spell.c: scope_hint: In function ‘CheckCompoundAffixes’
postgresql-18.3/src/backend/tsearch/spell.c:2320:60: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1180]
postgresql-18.3/src/backend/tsearch/spell.c:2320:60: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1181]
postgresql-18.3/src/backend/tsearch/ts_parse.c:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
postgresql-18.3/src/backend/tsearch/ts_parse.c:540:1: enter_function: entry to ‘hlparsetext’
postgresql-18.3/src/backend/tsearch/ts_parse.c:590:38: call_function: calling ‘LexizeExec’ from ‘hlparsetext’
Error: CPPCHECK_WARNING (CWE-476): [#def1182]
postgresql-18.3/src/backend/tsearch/wparser.c:196: error[nullPointer]: Null pointer dereference
Error: CPPCHECK_WARNING (CWE-476): [#def1183]
postgresql-18.3/src/backend/tsearch/wparser.c:196: error[nullPointer]: Null pointer dereference: lex
Error: CPPCHECK_WARNING (CWE-476): [#def1184]
postgresql-18.3/src/backend/tsearch/wparser_def.c:454: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1185]
postgresql-18.3/src/backend/tsearch/wparser_def.c:454: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1186]
postgresql-18.3/src/backend/tsearch/wparser_def.c:455: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1187]
postgresql-18.3/src/backend/tsearch/wparser_def.c:455: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1188]
postgresql-18.3/src/backend/tsearch/wparser_def.c:456: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1189]
postgresql-18.3/src/backend/tsearch/wparser_def.c:456: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1190]
postgresql-18.3/src/backend/tsearch/wparser_def.c:457: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1191]
postgresql-18.3/src/backend/tsearch/wparser_def.c:457: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1192]
postgresql-18.3/src/backend/tsearch/wparser_def.c:458: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1193]
postgresql-18.3/src/backend/tsearch/wparser_def.c:458: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1194]
postgresql-18.3/src/backend/tsearch/wparser_def.c:459: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1195]
postgresql-18.3/src/backend/tsearch/wparser_def.c:459: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1196]
postgresql-18.3/src/backend/tsearch/wparser_def.c:460: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1197]
postgresql-18.3/src/backend/tsearch/wparser_def.c:460: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1198]
postgresql-18.3/src/backend/tsearch/wparser_def.c:461: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1199]
postgresql-18.3/src/backend/tsearch/wparser_def.c:461: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1200]
postgresql-18.3/src/backend/tsearch/wparser_def.c:462: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1201]
postgresql-18.3/src/backend/tsearch/wparser_def.c:462: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1202]
postgresql-18.3/src/backend/tsearch/wparser_def.c:470: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1203]
postgresql-18.3/src/backend/tsearch/wparser_def.c:470: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1204]
postgresql-18.3/src/backend/tsearch/wparser_def.c:477: error[ctunullpointer]: Null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1205]
postgresql-18.3/src/backend/tsearch/wparser_def.c:477: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1206]
postgresql-18.3/src/backend/tsearch/wparser_def.c:483: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-476): [#def1207]
postgresql-18.3/src/backend/tsearch/wparser_def.c:489: warning[nullPointer]: Possible null pointer dereference: prs
Error: CPPCHECK_WARNING (CWE-457): [#def1208]
postgresql-18.3/src/backend/utils/activity/backend_status.c:1259: error[uninitvar]: Uninitialized variables: &key.backendStatus, &key.backend_xid, &key.backend_xmin, &key.backend_subxact_count, &key.backend_subxact_overflowed
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1209]
postgresql-18.3/src/backend/utils/activity/pgstat.c:1161:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1144:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1146:29: branch_true: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1159:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1161:26: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1210]
postgresql-18.3/src/backend/utils/activity/pgstat.c:1247:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1212:1: enter_function: entry to ‘pgstat_build_snapshot_fixed’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1214:44: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_build_snapshot_fixed’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1247:9: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1211]
postgresql-18.3/src/backend/utils/activity/pgstat.c:1287:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1267:1: enter_function: entry to ‘pgstat_prep_pending_entry’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1285:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1287:45: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_prep_pending_entry’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1287:45: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1212]
postgresql-18.3/src/backend/utils/activity/pgstat.c:1328:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1318:1: enter_function: entry to ‘pgstat_delete_pending_entry’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1321:44: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_delete_pending_entry’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1328:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1213]
postgresql-18.3/src/backend/utils/activity/pgstat.c:1372:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1341:1: enter_function: entry to ‘pgstat_flush_pending_entries’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1358:16: branch_true: following ‘true’ branch (when ‘cur’ is non-NULL)...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1360:34: branch_true: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1372:29: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1214]
postgresql-18.3/src/backend/utils/activity/pgstat.c:1679:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1570:1: enter_function: entry to ‘pgstat_write_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1593:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1605:9: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1609:50: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1612:47: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_write_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1614:21: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1614:20: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1639:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1644:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1663:22: call_function: inlined call to ‘pgstat_is_kind_valid’ from ‘pgstat_write_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1671:51: branch_true: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1673:29: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_write_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1673:29: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_write_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1679:22: danger: dereference of NULL ‘<unknown>’
Error: CPPCHECK_WARNING (CWE-457): [#def1215]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:1351: warning[uninitvar]: Uninitialized variable: dim
Error: CPPCHECK_WARNING (CWE-457): [#def1216]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:1352: warning[uninitvar]: Uninitialized variable: lBound
Error: CPPCHECK_WARNING (CWE-457): [#def1217]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:1697: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def1218]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:2902: warning[uninitvar]: Uninitialized variable: dim
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1219]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3790:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bitmap’
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3785:18: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3785:18: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3788:16: branch_true: following ‘true’ branch (when ‘nelems > 7’)...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3790:21: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3790:21: danger: dereference of NULL ‘bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1220]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3800:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bitmap’
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3785:18: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3785:18: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3788:16: branch_false: following ‘false’ branch (when ‘nelems <= 7’)...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3788:16: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3798:16: branch_true: following ‘true’ branch (when ‘nelems > 0’)...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3800:22: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:3800:22: danger: dereference of NULL ‘bitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1221]
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:4986:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘destbitmap’
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5709:1: enter_function: entry to ‘makeArrayResultArr’
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5719:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5730:54: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5756:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5757:25: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5757:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5757:25: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/arrayfuncs.c:5757:25: call_function: calling ‘array_bitmap_copy’ from ‘makeArrayResultArr’
Error: CPPCHECK_WARNING (CWE-457): [#def1222]
postgresql-18.3/src/backend/utils/adt/dbsize.c:625: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def1223]
postgresql-18.3/src/backend/utils/adt/inet_cidr_ntop.c:285: warning[uninitvar]: Uninitialized variable: outbuf
Error: CPPCHECK_WARNING (CWE-457): [#def1224]
postgresql-18.3/src/backend/utils/adt/jsonb.c:101: error[legacyUninitvar]: Uninitialized variable: nbytes
Error: CPPCHECK_WARNING (CWE-457): [#def1225]
postgresql-18.3/src/backend/utils/adt/jsonb.c:101: error[legacyUninitvar]: Uninitialized variable: str
Error: CPPCHECK_WARNING (CWE-457): [#def1226]
postgresql-18.3/src/backend/utils/adt/jsonbsubs.c:152: error[legacyUninitvar]: Uninitialized variable: subExpr
Error: CPPCHECK_WARNING (CWE-476): [#def1227]
postgresql-18.3/src/backend/utils/adt/jsonfuncs.c:5839: warning[nullPointer]: Possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-457): [#def1228]
postgresql-18.3/src/backend/utils/adt/jsonpath.c:127: error[legacyUninitvar]: Uninitialized variable: nbytes
Error: CPPCHECK_WARNING (CWE-457): [#def1229]
postgresql-18.3/src/backend/utils/adt/jsonpath.c:127: error[legacyUninitvar]: Uninitialized variable: str
Error: CPPCHECK_WARNING (CWE-457): [#def1230]
postgresql-18.3/src/backend/utils/adt/jsonpath_exec.c:1317: error[legacyUninitvar]: Uninitialized variable: datum
Error: CPPCHECK_WARNING (CWE-457): [#def1231]
postgresql-18.3/src/backend/utils/adt/jsonpath_exec.c:1390: error[legacyUninitvar]: Uninitialized variable: bval
Error: CPPCHECK_WARNING (CWE-457): [#def1232]
postgresql-18.3/src/backend/utils/adt/jsonpath_exec.c:1597: error[legacyUninitvar]: Uninitialized variable: datum
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1233]
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1236:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1194:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1200:28: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1223:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1225:7: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1234:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1236:9: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1236:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1234]
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1363:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1194:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1258:6: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1258:6: branch_false: following ‘false’ branch (when ‘yystate != 5’)...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1261:3: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1273:6: branch_false: following ‘false’ branch (when ‘yyn != -47’)...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1279:6: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1279:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1282:16: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1313:6: branch_true: following ‘true’ branch (when ‘yyn <= 0’)...
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1317:7: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_gram.c:1363:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1235]
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5348:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5227:10: enter_function: entry to ‘jsonpath_yyrestart’
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5232:16: call_function: calling ‘jsonpath_yyensure_buffer_stack’ from ‘jsonpath_yyrestart’
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5232:16: return_function: returning to ‘jsonpath_yyrestart’ from ‘jsonpath_yyensure_buffer_stack’
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5234:27: call_function: calling ‘jsonpath_yy_create_buffer’ from ‘jsonpath_yyrestart’
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5234:27: return_function: returning to ‘jsonpath_yyrestart’ from ‘jsonpath_yy_create_buffer’
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5237:2: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5237:2: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/jsonpath_scan.c:5237:2: call_function: calling ‘jsonpath_yy_init_buffer’ from ‘jsonpath_yyrestart’
Error: CPPCHECK_WARNING (CWE-476): [#def1236]
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:510: warning[nullPointer]: Possible null pointer dereference: blocked_instance
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1237]
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:510:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘blocked_instance’
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:483:21: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:485:43: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:497:29: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:509:58: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/lockfuncs.c:510:61: danger: dereference of NULL ‘blocked_instance’
Error: CPPCHECK_WARNING (CWE-457): [#def1238]
postgresql-18.3/src/backend/utils/adt/misc.c:760: warning[uninitvar]: Uninitialized variable: values
Error: CPPCHECK_WARNING (CWE-457): [#def1239]
postgresql-18.3/src/backend/utils/adt/pg_locale.c:1098: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def1240]
postgresql-18.3/src/backend/utils/adt/pg_locale.c:1181: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-476): [#def1241]
postgresql-18.3/src/backend/utils/adt/rangetypes.c:2610: error[ctunullpointer]: Null pointer dereference: value
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1242]
postgresql-18.3/src/backend/utils/adt/selfuncs.c:5320:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘basenode’
postgresql-18.3/src/backend/utils/adt/selfuncs.c:5163:1: enter_function: entry to ‘get_restriction_variable’
postgresql-18.3/src/backend/utils/adt/selfuncs.c:5182:9: call_function: calling ‘examine_variable’ from ‘get_restriction_variable’
Error: CPPCHECK_WARNING (CWE-457): [#def1243]
postgresql-18.3/src/backend/utils/adt/timestamp.c:3221: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def1244]
postgresql-18.3/src/backend/utils/adt/timestamp.c:3376: error[legacyUninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-190): [#def1245]
postgresql-18.3/src/backend/utils/adt/tsgistidx.c:188: error[integerOverflow]: Signed integer underflow for expression '*(int32*)&c'.
Error: CPPCHECK_WARNING (CWE-476): [#def1246]
postgresql-18.3/src/backend/utils/adt/varlena.c:472: warning[nullPointer]: Possible null pointer dereference: rp
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1247]
postgresql-18.3/src/backend/utils/adt/varlena.c:1465:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*state.skiptablemask’
postgresql-18.3/src/backend/utils/adt/varlena.c:4626:1: enter_function: entry to ‘split_part’
postgresql-18.3/src/backend/utils/adt/varlena.c:4640:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/adt/varlena.c:4645:27: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/varlena.c:4645:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/adt/varlena.c:4645:27: branch_true: ...to here
postgresql-18.3/src/backend/utils/adt/varlena.c:4649:12: branch_false: following ‘false’ branch (when ‘inputstring_len > 0’)...
postgresql-18.3/src/backend/utils/adt/varlena.c:4653:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/varlena.c:4653:12: branch_false: following ‘false’ branch (when ‘fldsep_len > 0’)...
postgresql-18.3/src/backend/utils/adt/varlena.c:4663:9: branch_false: ...to here
postgresql-18.3/src/backend/utils/adt/varlena.c:4663:9: call_function: calling ‘text_position_setup’ from ‘split_part’
postgresql-18.3/src/backend/utils/adt/varlena.c:4663:9: return_function: returning to ‘split_part’ from ‘text_position_setup’
postgresql-18.3/src/backend/utils/adt/varlena.c:4665:17: call_function: calling ‘text_position_next’ from ‘split_part’
Error: COMPILER_WARNING (CWE-704): [#def1248]
postgresql-18.3/src/backend/utils/adt/xid8funcs.c: scope_hint: In function ‘is_visible_fxid’
postgresql-18.3/src/backend/utils/adt/xid8funcs.c:198:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1249]
postgresql-18.3/src/backend/utils/adt/xid8funcs.c:198:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def1250]
postgresql-18.3/src/backend/utils/adt/xml.c:860: warning[uninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def1251]
postgresql-18.3/src/backend/utils/adt/xml.c:984: warning[uninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def1252]
postgresql-18.3/src/backend/utils/adt/xml.c:2666: warning[uninitvar]: Uninitialized variable: result
Error: CPPCHECK_WARNING (CWE-457): [#def1253]
postgresql-18.3/src/backend/utils/cache/catcache.c:2046: warning[uninitvar]: Uninitialized variable: cl
Error: CPPCHECK_WARNING (CWE-457): [#def1254]
postgresql-18.3/src/backend/utils/cache/catcache.c:2050: warning[uninitvar]: Uninitialized variable: ordered
Error: CPPCHECK_WARNING (CWE-457): [#def1255]
postgresql-18.3/src/backend/utils/cache/catcache.c:2053: warning[uninitvar]: Uninitialized variable: nmembers
Error: CPPCHECK_WARNING (CWE-476): [#def1256]
postgresql-18.3/src/backend/utils/cache/catcache.c:2320: warning[nullPointer]: Possible null pointer dereference: srckeys
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1257]
postgresql-18.3/src/backend/utils/cache/relcache.c:4661:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘check’
postgresql-18.3/src/backend/utils/cache/relcache.c:2585:1: enter_function: entry to ‘RelationRebuildRelation’
postgresql-18.3/src/backend/utils/cache/relcache.c:2659:26: call_function: calling ‘RelationBuildDesc’ from ‘RelationRebuildRelation’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1258]
postgresql-18.3/src/backend/utils/cache/ts_cache.c:503:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&mapdicts’
postgresql-18.3/src/backend/utils/cache/ts_cache.c:385:1: enter_function: entry to ‘lookup_ts_config_cache’
postgresql-18.3/src/backend/utils/cache/ts_cache.c:424:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:427:43: call_function: inlined call to ‘GETSTRUCT’ from ‘lookup_ts_config_cache’
postgresql-18.3/src/backend/utils/cache/ts_cache.c:432:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:435:20: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:485:24: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:487:80: call_function: inlined call to ‘GETSTRUCT’ from ‘lookup_ts_config_cache’
postgresql-18.3/src/backend/utils/cache/ts_cache.c:490:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:492:28: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:492:28: branch_false: following ‘false’ branch (when ‘maxtokentype <= toktype’)...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:494:28: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:494:28: branch_true: following ‘true’ branch (when ‘maxtokentype < toktype’)...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:497:36: branch_true: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:497:36: branch_false: following ‘false’ branch (when ‘ndicts <= 0’)...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:507:47: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:485:24: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:487:80: call_function: inlined call to ‘GETSTRUCT’ from ‘lookup_ts_config_cache’
postgresql-18.3/src/backend/utils/cache/ts_cache.c:490:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:492:28: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:492:28: branch_false: following ‘false’ branch (when ‘maxtokentype <= toktype’)...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:494:28: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:494:28: branch_true: following ‘true’ branch (when ‘maxtokentype < toktype’)...
postgresql-18.3/src/backend/utils/cache/ts_cache.c:497:36: branch_true: ...to here
postgresql-18.3/src/backend/utils/cache/ts_cache.c:503:41: danger: use of uninitialized value ‘&mapdicts’ here
Error: CPPCHECK_WARNING (CWE-457): [#def1259]
postgresql-18.3/src/backend/utils/cache/typcache.c:2901: warning[uninitvar]: Uninitialized variable: &srch.sort_order
Error: CPPCHECK_WARNING (CWE-457): [#def1260]
postgresql-18.3/src/backend/utils/cache/typcache.c:3001: warning[uninitvar]: Uninitialized variable: typmod_table_entry
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1261]
postgresql-18.3/src/backend/utils/init/postinit.c:1295:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/init/postinit.c:1244:1: enter_function: entry to ‘process_startup_options’
postgresql-18.3/src/backend/utils/init/postinit.c:1286:19: call_function: inlined call to ‘list_head’ from ‘process_startup_options’
postgresql-18.3/src/backend/utils/init/postinit.c:1287:16: branch_true: following ‘true’ branch (when ‘gucopts’ is non-NULL)...
postgresql-18.3/src/backend/utils/init/postinit.c:1292:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/init/postinit.c:1295:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1262]
postgresql-18.3/src/backend/utils/misc/guc-file.c:1608:54: warning[-Wanalyzer-malloc-leak]: leak of ‘GUC_yy_create_buffer(fp, 16384, yyg)’
postgresql-18.3/src/backend/utils/misc/guc-file.l:581:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:601:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:47: branch_true: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1263]
postgresql-18.3/src/backend/utils/misc/guc-file.c:1608:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/src/backend/utils/misc/guc-file.l:581:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:601:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:47: branch_true: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1264]
postgresql-18.3/src/backend/utils/misc/guc-file.c:1692:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘yyscanner’
postgresql-18.3/src/backend/utils/misc/guc-file.l:581:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:601:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:47: branch_true: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1265]
postgresql-18.3/src/backend/utils/misc/guc-file.c:1784:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/src/backend/utils/misc/guc-file.l:581:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:601:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:47: branch_true: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1266]
postgresql-18.3/src/backend/utils/misc/guc-file.l:391:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/src/backend/utils/misc/guc-file.l:581:1: enter_function: entry to ‘ParseConfigDirectory’
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:594:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:601:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:47: branch_true: ...to here
postgresql-18.3/src/backend/utils/misc/guc-file.l:603:22: call_function: calling ‘ParseConfigFile’ from ‘ParseConfigDirectory’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1267]
postgresql-18.3/src/backend/utils/misc/guc.c:6677:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘eqsgn’
postgresql-18.3/src/backend/utils/misc/guc.c:6649:12: branch_false: following ‘false’ branch (when ‘array’ is non-NULL)...
postgresql-18.3/src/backend/utils/misc/guc.c:6653:13: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc.c:6653:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/misc/guc.c:6657:9: branch_false: ...to here
postgresql-18.3/src/backend/utils/misc/guc.c:6659:21: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/misc/guc.c:6666:21: branch_true: ...to here
postgresql-18.3/src/backend/utils/misc/guc.c:6677:17: danger: dereference of NULL ‘eqsgn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1268]
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
postgresql-18.3/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:917:20: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: acquire_memory: allocated here
postgresql-18.3/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:917:20: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: danger: ‘block’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1269]
postgresql-18.3/src/backend/utils/mmgr/aset.c:923:24: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
postgresql-18.3/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:917:20: branch_false: following ‘false’ branch (when ‘required_size <= blksize’)...
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:919:38: acquire_memory: allocated here
postgresql-18.3/src/backend/utils/mmgr/aset.c:914:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/aset.c:916:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:922:12: branch_true: following ‘true’ branch (when ‘block’ is NULL)...
postgresql-18.3/src/backend/utils/mmgr/aset.c:923:24: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/aset.c:923:24: danger: ‘block’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1270]
postgresql-18.3/src/backend/utils/mmgr/dsa.c:845:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1837:1: enter_function: entry to ‘destroy_superblock’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1839:31: call_function: calling ‘dsa_get_address’ from ‘destroy_superblock’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1839:31: return_function: returning to ‘destroy_superblock’ from ‘dsa_get_address’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1888:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1889:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1901:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1902:17: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1902:17: call_function: calling ‘dsa_free’ from ‘destroy_superblock’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1271]
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1840:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1837:1: enter_function: entry to ‘destroy_superblock’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1839:31: call_function: calling ‘dsa_get_address’ from ‘destroy_superblock’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1839:31: return_function: returning to ‘destroy_superblock’ from ‘dsa_get_address’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:1840:46: danger: dereference of NULL ‘dsa_get_address(area, span_pointer)’
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1272]
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2029:33: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘4294967295’) >= precision of type (‘64’)
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2010:1: enter_function: entry to ‘get_best_segment’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2015:9: call_function: calling ‘check_for_freed_segments_locked’ from ‘get_best_segment’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2015:9: return_function: returning to ‘get_best_segment’ from ‘check_for_freed_segments_locked’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2021:20: call_function: inlined call to ‘contiguous_pages_to_segment_bin’ from ‘get_best_segment’
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2022:18: branch_true: following ‘true’ branch (when ‘bin != 16’)...
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2029:59: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/dsa.c:2029:33: danger: shift by count ‘4294967295’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1273]
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1441:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘result.index’
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1476:1: enter_function: entry to ‘FreePageManagerPutInternal’
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1489:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1491:21: branch_true: ...to here
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1491:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1499:26: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1499:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1509:26: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1509:25: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1525:30: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1525:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1527:33: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1527:33: branch_false: following ‘false’ branch (when ‘soft == 0’)...
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1529:34: branch_false: ...to here
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1529:34: call_function: calling ‘FreePageManagerGetInternal’ from ‘FreePageManagerPutInternal’
Error: CPPCHECK_WARNING (CWE-457): [#def1274]
postgresql-18.3/src/backend/utils/mmgr/freepage.c:1538: error[legacyUninitvar]: Uninitialized variable: root
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1275]
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:546:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘read_page’
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:505:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:509:22: branch_false: ...to here
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:516:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:524:17: branch_false: ...to here
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:584:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:586:25: branch_false: ...to here
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:505:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:509:22: branch_false: ...to here
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:516:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:524:17: branch_false: ...to here
postgresql-18.3/src/backend/utils/sort/sharedtuplestore.c:546:29: danger: use of uninitialized value ‘read_page’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1276]
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:133:17: warning[-Wanalyzer-jump-through-null]: jump through null pointer
branch_false: following ‘false’ branch (when ‘copy_method > 3’)...
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:112:12: branch_false: ...to here
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:112:12: branch_false: following ‘false’ branch (when ‘dry_run == 0’)...
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:123:20: branch_false: ...to here
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:123:20: branch_false: following ‘false’ branch (when ‘strategy_name’ is NULL)...
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:126:26: branch_false: ...to here
postgresql-18.3/src/bin/pg_combinebackup/copy_file.c:133:17: danger: jump through null pointer here
Error: CPPCHECK_WARNING (CWE-476): [#def1277]
postgresql-18.3/src/bin/pg_dump/parallel.c:506: warning[nullPointer]: Possible null pointer dereference: slot
Error: CPPCHECK_WARNING (CWE-476): [#def1278]
postgresql-18.3/src/bin/pg_dump/pg_backup_archiver.c:2303: warning[nullPointer]: Possible null pointer dereference: fh
Error: CPPCHECK_WARNING (CWE-457): [#def1279]
postgresql-18.3/src/bin/pg_dump/pg_dump.c:1601: error[legacyUninitvar]: Uninitialized variable: archiveFormat
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1280]
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:558:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("PG_VERSION", "r")’
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:23: acquire_resource: opened here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:14: branch_false: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:558:22: branch_true: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:558:22: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1281]
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:558:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("PG_VERSION", "r")’
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:23: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:14: branch_false: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:558:22: branch_true: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:558:22: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1282]
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:567:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("PG_VERSION", "r")’
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:23: acquire_resource: opened here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:14: branch_false: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:565:16: branch_false: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:567:12: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1283]
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:567:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("PG_VERSION", "r")’
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:23: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:551:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:14: branch_false: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:556:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:565:16: branch_false: ...to here
postgresql-18.3/src/bin/pg_resetwal/pg_resetwal.c:567:12: danger: ‘fopen("PG_VERSION", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1284]
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:316:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:316:31: danger: infinite loop here
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:316:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:316:31: branch_true: ...to here
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:318:42: branch_false: when ‘writes >= writes_per_op’: always following ‘false’ branch...
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:316:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1285]
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:419:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:419:31: danger: infinite loop here
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:419:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:419:31: branch_true: ...to here
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:421:42: branch_false: when ‘writes >= writes_per_op’: always following ‘false’ branch...
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:419:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1286]
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:484:31: warning[-Wanalyzer-infinite-loop]: infinite loop
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:484:31: danger: infinite loop here
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:484:31: branch_true: if it ever follows ‘true’ branch, it will always do so...
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:484:31: branch_true: ...to here
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:486:42: branch_false: if it ever follows ‘false’ branch, it will always do so...
postgresql-18.3/src/bin/pg_test_fsync/pg_test_fsync.c:484:57: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1287]
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:36: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:107:9: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:31: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:20: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:136:24: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:138:34: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:138:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:140:37: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:36: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1288]
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:37: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:107:9: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:31: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:20: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:136:24: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:138:34: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:138:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:140:37: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:36: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:50: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:37: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1289]
postgresql-18.3/src/bin/pg_upgrade/controldata.c:157:40: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:107:9: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:31: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:132:20: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:136:24: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:138:34: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:138:28: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:140:37: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:142:36: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:157:40: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:159:37: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:157:40: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1290]
postgresql-18.3/src/bin/pg_upgrade/controldata.c:206:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/src/bin/pg_upgrade/controldata.c:88:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:90:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:92:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:94:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:96:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:100:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:102:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:104:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:107:9: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:125:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:125:13: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:125:13: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:192:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:196:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:196:9: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:202:23: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:202:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:206:13: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:206:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:206:12: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:213:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:216:17: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:219:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
postgresql-18.3/src/bin/pg_upgrade/controldata.c:221:29: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/controldata.c:206:13: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(25)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1291]
postgresql-18.3/src/bin/pg_upgrade/exec.c:45:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/src/bin/pg_upgrade/exec.c:383:1: enter_function: entry to ‘check_bin_dir’
postgresql-18.3/src/bin/pg_upgrade/exec.c:395:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/src/bin/pg_upgrade/exec.c:395:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/src/bin/pg_upgrade/exec.c:396:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/src/bin/pg_upgrade/exec.c:396:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/src/bin/pg_upgrade/exec.c:397:9: call_function: calling ‘check_exec’ from ‘check_bin_dir’
postgresql-18.3/src/bin/pg_upgrade/exec.c:397:9: return_function: returning to ‘check_bin_dir’ from ‘check_exec’
postgresql-18.3/src/bin/pg_upgrade/exec.c:404:9: call_function: calling ‘get_bin_version’ from ‘check_bin_dir’
Error: CPPCHECK_WARNING (CWE-476): [#def1292]
postgresql-18.3/src/bin/pg_upgrade/exec.c:178: warning[nullPointerOutOfResources]: If resource allocation fails, then there is a possible null pointer dereference: log
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1293]
postgresql-18.3/src/bin/pg_upgrade/info.c:216:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rel’
postgresql-18.3/src/bin/pg_upgrade/info.c:45:1: enter_function: entry to ‘gen_db_file_maps’
postgresql-18.3/src/bin/pg_upgrade/info.c:65:16: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/info.c:68:39: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/info.c:74:20: branch_true: following ‘true’ branch (when ‘new_rel’ is NULL)...
postgresql-18.3/src/bin/pg_upgrade/info.c:80:25: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/info.c:80:25: call_function: calling ‘report_unmatched_relation’ from ‘gen_db_file_maps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1294]
postgresql-18.3/src/bin/pg_upgrade/option.c:472:13: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&cmd, "r")’
postgresql-18.3/src/bin/pg_upgrade/option.c:444:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:446:9: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:450:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:458:12: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:472:23: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_upgrade/option.c:472:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:473:17: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:472:13: danger: ‘popen(&cmd, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1295]
postgresql-18.3/src/bin/pg_upgrade/option.c:525:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, "r")’
postgresql-18.3/src/bin/pg_upgrade/option.c:502:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:502:13: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:502:13: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:510:32: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:518:27: acquire_resource: opened here
postgresql-18.3/src/bin/pg_upgrade/option.c:518:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:518:20: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:522:26: branch_true: following ‘true’ branch (when ‘lineno != 6’)...
postgresql-18.3/src/bin/pg_upgrade/option.c:525:29: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:525:28: danger: ‘fopen(&filename, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1296]
postgresql-18.3/src/bin/pg_upgrade/option.c:525:28: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, "r")’
postgresql-18.3/src/bin/pg_upgrade/option.c:502:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:502:13: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:502:13: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:510:32: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:518:27: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_upgrade/option.c:518:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_upgrade/option.c:518:20: branch_false: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:522:26: branch_true: following ‘true’ branch (when ‘lineno != 6’)...
postgresql-18.3/src/bin/pg_upgrade/option.c:525:29: branch_true: ...to here
postgresql-18.3/src/bin/pg_upgrade/option.c:525:28: danger: ‘fopen(&filename, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-704): [#def1297]
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c: scope_hint: In function ‘split_path’
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:166:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1298]
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:166:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1299]
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:534:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, "w")’
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:494:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:505:22: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:508:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:514:22: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:514:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:517:24: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:520:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:521:50: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:530:24: acquire_resource: opened here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:531:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:534:21: branch_false: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:534:20: danger: ‘fopen(&filename, "w")’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1300]
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:534:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, "w")’
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:494:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:505:22: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:508:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:514:22: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:514:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:517:24: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:520:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:521:50: branch_true: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:530:24: acquire_memory: allocated here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:531:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:534:21: branch_false: ...to here
postgresql-18.3/src/bin/pg_waldump/pg_waldump.c:534:20: danger: ‘fopen(&filename, "w")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1301]
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1113:11: acquire_memory: allocated here
postgresql-18.3/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1120:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1120:12: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1133:10: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: danger: ‘yyptr’ leaks here; was allocated at [(33)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1302]
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1303]
postgresql-18.3/src/bin/pgbench/exprparse.c:1118:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyvs’
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1194:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1204:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1211:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1081:28: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1104:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1106:7: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1115:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1117:9: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1118:9: danger: use of uninitialized value ‘yyvs’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1304]
postgresql-18.3/src/bin/pgbench/exprparse.c:1244:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.ival’
postgresql-18.3/src/bin/pgbench/exprparse.c:1075:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1139:6: branch_false: following ‘false’ branch (when ‘yystate != 25’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1142:3: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1154:6: branch_false: following ‘false’ branch (when ‘yyn != -33’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1160:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1163:16: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1172:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1184:17: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1191:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/bin/pgbench/exprparse.c:1194:6: branch_true: following ‘true’ branch (when ‘yyn <= 0’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1196:10: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1196:10: branch_false: following ‘false’ branch (when ‘yyn != -1’)...
postgresql-18.3/src/bin/pgbench/exprparse.c:1198:7: branch_false: ...to here
postgresql-18.3/src/bin/pgbench/exprparse.c:1244:3: danger: use of uninitialized value ‘*<unknown>.ival’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1305]
postgresql-18.3/src/bin/pgbench/exprscan.c:1990:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/src/bin/pgbench/exprscan.l:319:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/src/bin/pgbench/exprscan.l:341:14: call_function: calling ‘expr_yylex’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1306]
postgresql-18.3/src/bin/pgbench/exprscan.c:2033:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/bin/pgbench/exprscan.l:319:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/src/bin/pgbench/exprscan.l:341:14: call_function: calling ‘expr_yylex’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1307]
postgresql-18.3/src/bin/pgbench/exprscan.c:2153:3: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
postgresql-18.3/src/bin/pgbench/exprscan.l:319:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/src/bin/pgbench/exprscan.l:332:19: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pgbench/exprscan.l:333:56: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprscan.l:333:10: call_function: calling ‘expr_yy_switch_to_buffer’ from ‘expr_lex_one_word’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1308]
postgresql-18.3/src/bin/pgbench/exprscan.c:2174:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/src/bin/pgbench/exprscan.l:319:1: enter_function: entry to ‘expr_lex_one_word’
postgresql-18.3/src/bin/pgbench/exprscan.l:332:19: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/pgbench/exprscan.l:333:56: branch_true: ...to here
postgresql-18.3/src/bin/pgbench/exprscan.l:333:10: call_function: calling ‘expr_yy_switch_to_buffer’ from ‘expr_lex_one_word’
Error: CPPCHECK_WARNING (CWE-457): [#def1309]
postgresql-18.3/src/bin/pgbench/pgbench.c:1649: warning[uninitvar]: Uninitialized variables: &key.svalue, &key.value
Error: COMPILER_WARNING (CWE-704): [#def1310]
postgresql-18.3/src/bin/pgbench/pgbench.c: scope_hint: In function ‘parseScriptWeight’
postgresql-18.3/src/bin/pgbench/pgbench.c:6247:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1311]
postgresql-18.3/src/bin/pgbench/pgbench.c:6247:18: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def1312]
postgresql-18.3/src/bin/psql/crosstabview.c:363: error[uninitvar]: Uninitialized variables: &elt.sort_value, &elt.rank
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1313]
postgresql-18.3/src/bin/psql/psqlscanslash.c:2473:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/src/bin/psql/psqlscanslash.l:679:1: enter_function: entry to ‘psql_scan_slash_command_end’
postgresql-18.3/src/bin/psql/psqlscanslash.l:689:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_command_end’
postgresql-18.3/src/bin/psql/psqlscanslash.l:689:10: return_function: returning to ‘psql_scan_slash_command_end’ from ‘slash_yy_switch_to_buffer’
postgresql-18.3/src/bin/psql/psqlscanslash.l:697:2: call_function: calling ‘slash_yylex’ from ‘psql_scan_slash_command_end’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1314]
postgresql-18.3/src/bin/psql/psqlscanslash.c:2516:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/bin/psql/psqlscanslash.l:679:1: enter_function: entry to ‘psql_scan_slash_command_end’
postgresql-18.3/src/bin/psql/psqlscanslash.l:689:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_command_end’
postgresql-18.3/src/bin/psql/psqlscanslash.l:689:10: return_function: returning to ‘psql_scan_slash_command_end’ from ‘slash_yy_switch_to_buffer’
postgresql-18.3/src/bin/psql/psqlscanslash.l:697:2: call_function: calling ‘slash_yylex’ from ‘psql_scan_slash_command_end’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1315]
postgresql-18.3/src/bin/psql/psqlscanslash.c:2636:3: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(8)’
postgresql-18.3/src/bin/psql/psqlscanslash.l:540:8: enter_function: entry to ‘psql_scan_slash_option’
postgresql-18.3/src/bin/psql/psqlscanslash.l:569:19: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/psql/psqlscanslash.l:570:10: branch_true: ...to here
postgresql-18.3/src/bin/psql/psqlscanslash.l:570:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_option’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1316]
postgresql-18.3/src/bin/psql/psqlscanslash.c:2657:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
postgresql-18.3/src/bin/psql/psqlscanslash.l:540:8: enter_function: entry to ‘psql_scan_slash_option’
postgresql-18.3/src/bin/psql/psqlscanslash.l:569:19: branch_true: following ‘true’ branch...
postgresql-18.3/src/bin/psql/psqlscanslash.l:570:10: branch_true: ...to here
postgresql-18.3/src/bin/psql/psqlscanslash.l:570:10: call_function: calling ‘slash_yy_switch_to_buffer’ from ‘psql_scan_slash_option’
Error: CPPCHECK_WARNING (CWE-562): [#def1317]
postgresql-18.3/src/bin/psql/psqlscanslash.l:492: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def1318]
postgresql-18.3/src/bin/psql/psqlscanslash.l:566: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def1319]
postgresql-18.3/src/bin/psql/tab-complete.in.c:2576: warning[uninitvar]: Uninitialized variable: argarray
Error: CPPCHECK_WARNING (CWE-457): [#def1320]
postgresql-18.3/src/bin/psql/tab-complete.in.c:2626: warning[uninitvar]: Uninitialized variable: argarray
Error: CPPCHECK_WARNING (CWE-457): [#def1321]
postgresql-18.3/src/bin/psql/tab-complete.in.c:2714: warning[uninitvar]: Uninitialized variable: argarray
Error: CPPCHECK_WARNING (CWE-476): [#def1322]
postgresql-18.3/src/bin/scripts/reindexdb.c:399: warning[nullPointer]: Possible null pointer dereference: process_list
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1323]
postgresql-18.3/src/common/blkreftable.c:539:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/common/blkreftable.c:474:1: enter_function: entry to ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:489:9: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:489:9: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/src/common/blkreftable.c:492:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/common/blkreftable.c:500:32: branch_true: ...to here
postgresql-18.3/src/common/blkreftable.c:502:36: call_function: calling ‘blockreftable_iterate’ from ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:502:36: return_function: returning to ‘WriteBlockRefTable’ from ‘blockreftable_iterate’
postgresql-18.3/src/common/blkreftable.c:502:24: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/blkreftable.c:517:17: branch_false: ...to here
postgresql-18.3/src/common/blkreftable.c:521:29: branch_true: following ‘true’ branch...
postgresql-18.3/src/common/blkreftable.c:523:70: branch_true: ...to here
postgresql-18.3/src/common/blkreftable.c:528:25: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:528:25: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/src/common/blkreftable.c:538:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/common/blkreftable.c:540:68: branch_true: ...to here
postgresql-18.3/src/common/blkreftable.c:539:61: danger: dereference of NULL ‘blockreftable_lookup(*brtab.hash, key)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1324]
postgresql-18.3/src/common/blkreftable.c:543:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/common/blkreftable.c:474:1: enter_function: entry to ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:489:9: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:489:9: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/src/common/blkreftable.c:492:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/common/blkreftable.c:500:32: branch_true: ...to here
postgresql-18.3/src/common/blkreftable.c:502:36: call_function: calling ‘blockreftable_iterate’ from ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:502:36: return_function: returning to ‘WriteBlockRefTable’ from ‘blockreftable_iterate’
postgresql-18.3/src/common/blkreftable.c:502:24: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/blkreftable.c:517:17: branch_false: ...to here
postgresql-18.3/src/common/blkreftable.c:521:29: branch_true: following ‘true’ branch...
postgresql-18.3/src/common/blkreftable.c:523:70: branch_true: ...to here
postgresql-18.3/src/common/blkreftable.c:528:25: call_function: calling ‘BlockRefTableWrite’ from ‘WriteBlockRefTable’
postgresql-18.3/src/common/blkreftable.c:528:25: return_function: returning to ‘WriteBlockRefTable’ from ‘BlockRefTableWrite’
postgresql-18.3/src/common/blkreftable.c:538:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/blkreftable.c:543:25: branch_false: ...to here
postgresql-18.3/src/common/blkreftable.c:543:41: danger: dereference of NULL ‘blockreftable_lookup(*brtab.hash, key)’
Error: COMPILER_WARNING (CWE-704): [#def1325]
postgresql-18.3/src/common/compression.c: scope_hint: In function ‘parse_compress_options’
postgresql-18.3/src/common/compression.c:458:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1326]
postgresql-18.3/src/common/compression.c:458:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-457): [#def1327]
postgresql-18.3/src/common/encnames.c:540: warning[uninitvar]: Uninitialized variable: newkey
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1328]
postgresql-18.3/src/common/logging.c:139:57: warning[-Wanalyzer-malloc-leak]: leak of ‘sgr_error’
postgresql-18.3/src/common/logging.c:105:12: branch_true: following ‘true’ branch (when ‘pg_color_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:107:21: branch_true: ...to here
postgresql-18.3/src/common/logging.c:107:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:114:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:116:20: branch_true: following ‘true’ branch (when ‘pg_colors_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:118:46: branch_true: ...to here
postgresql-18.3/src/common/logging.c:120:28: branch_true: following ‘true’ branch (when ‘colors’ is non-NULL)...
postgresql-18.3/src/common/logging.c:123:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:139:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:139:69: acquire_memory: allocated here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:142:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:143:68: branch_true: ...to here
postgresql-18.3/src/common/logging.c:144:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:145:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:139:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:139:57: danger: ‘sgr_error’ leaks here; was allocated at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1329]
postgresql-18.3/src/common/logging.c:141:57: warning[-Wanalyzer-malloc-leak]: leak of ‘sgr_warning’
postgresql-18.3/src/common/logging.c:105:12: branch_true: following ‘true’ branch (when ‘pg_color_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:107:21: branch_true: ...to here
postgresql-18.3/src/common/logging.c:107:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:114:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:116:20: branch_true: following ‘true’ branch (when ‘pg_colors_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:118:46: branch_true: ...to here
postgresql-18.3/src/common/logging.c:120:28: branch_true: following ‘true’ branch (when ‘colors’ is non-NULL)...
postgresql-18.3/src/common/logging.c:123:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:139:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:141:71: acquire_memory: allocated here
postgresql-18.3/src/common/logging.c:142:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:143:68: branch_true: ...to here
postgresql-18.3/src/common/logging.c:144:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:145:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/src/common/logging.c:140:53: branch_false: ...to here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:141:57: danger: ‘sgr_warning’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1330]
postgresql-18.3/src/common/logging.c:143:57: warning[-Wanalyzer-malloc-leak]: leak of ‘sgr_note’
postgresql-18.3/src/common/logging.c:105:12: branch_true: following ‘true’ branch (when ‘pg_color_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:107:21: branch_true: ...to here
postgresql-18.3/src/common/logging.c:107:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:114:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:116:20: branch_true: following ‘true’ branch (when ‘pg_colors_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:118:46: branch_true: ...to here
postgresql-18.3/src/common/logging.c:120:28: branch_true: following ‘true’ branch (when ‘colors’ is non-NULL)...
postgresql-18.3/src/common/logging.c:123:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:139:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:142:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:143:68: branch_true: ...to here
postgresql-18.3/src/common/logging.c:143:68: acquire_memory: allocated here
postgresql-18.3/src/common/logging.c:144:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:145:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/src/common/logging.c:140:53: branch_false: ...to here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:142:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:143:68: branch_true: ...to here
postgresql-18.3/src/common/logging.c:143:57: danger: ‘sgr_note’ leaks here; was allocated at [(21)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1331]
postgresql-18.3/src/common/logging.c:145:57: warning[-Wanalyzer-malloc-leak]: leak of ‘sgr_locus’
postgresql-18.3/src/common/logging.c:105:12: branch_true: following ‘true’ branch (when ‘pg_color_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:107:21: branch_true: ...to here
postgresql-18.3/src/common/logging.c:107:20: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:114:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:116:20: branch_true: following ‘true’ branch (when ‘pg_colors_env’ is non-NULL)...
postgresql-18.3/src/common/logging.c:118:46: branch_true: ...to here
postgresql-18.3/src/common/logging.c:120:28: branch_true: following ‘true’ branch (when ‘colors’ is non-NULL)...
postgresql-18.3/src/common/logging.c:123:45: branch_true: ...to here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:139:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:142:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:143:68: branch_true: ...to here
postgresql-18.3/src/common/logging.c:144:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:145:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:145:69: acquire_memory: allocated here
postgresql-18.3/src/common/logging.c:125:40: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
postgresql-18.3/src/common/logging.c:127:57: branch_true: ...to here
postgresql-18.3/src/common/logging.c:129:44: branch_true: following ‘true’ branch (when ‘e’ is non-NULL)...
postgresql-18.3/src/common/logging.c:134:49: branch_true: ...to here
postgresql-18.3/src/common/logging.c:138:52: branch_false: following ‘false’ branch (when the strings are non-equal)...
postgresql-18.3/src/common/logging.c:140:53: branch_false: ...to here
postgresql-18.3/src/common/logging.c:140:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:141:71: branch_true: ...to here
postgresql-18.3/src/common/logging.c:142:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:143:68: branch_true: ...to here
postgresql-18.3/src/common/logging.c:144:52: branch_true: following ‘true’ branch (when the strings are equal)...
postgresql-18.3/src/common/logging.c:145:69: branch_true: ...to here
postgresql-18.3/src/common/logging.c:145:57: danger: ‘sgr_locus’ leaks here; was allocated at [(23)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1332]
postgresql-18.3/src/common/sprompt.c:180:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘termout’
postgresql-18.3/src/common/sprompt.c:96:19: acquire_resource: opened here
postgresql-18.3/src/common/sprompt.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/sprompt.c:119:12: branch_false: ...to here
postgresql-18.3/src/common/sprompt.c:174:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/sprompt.c:180:16: branch_false: ...to here
postgresql-18.3/src/common/sprompt.c:180:16: danger: ‘termout’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1333]
postgresql-18.3/src/common/sprompt.c:180:16: warning[-Wanalyzer-malloc-leak]: leak of ‘termout’
postgresql-18.3/src/common/sprompt.c:96:19: acquire_memory: allocated here
postgresql-18.3/src/common/sprompt.c:98:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/sprompt.c:119:12: branch_false: ...to here
postgresql-18.3/src/common/sprompt.c:174:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/common/sprompt.c:180:16: branch_false: ...to here
postgresql-18.3/src/common/sprompt.c:180:16: danger: ‘termout’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1334]
postgresql-18.3/src/fe_utils/astreamer_file.c:367:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "wb")’
postgresql-18.3/src/fe_utils/astreamer_file.c:362:16: acquire_resource: opened here
postgresql-18.3/src/fe_utils/astreamer_file.c:363:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/astreamer_file.c:367:13: branch_false: ...to here
postgresql-18.3/src/fe_utils/astreamer_file.c:367:12: danger: ‘fopen(filename, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1335]
postgresql-18.3/src/fe_utils/astreamer_file.c:367:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "wb")’
postgresql-18.3/src/fe_utils/astreamer_file.c:362:16: acquire_memory: allocated here
postgresql-18.3/src/fe_utils/astreamer_file.c:363:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/astreamer_file.c:367:13: branch_false: ...to here
postgresql-18.3/src/fe_utils/astreamer_file.c:367:12: danger: ‘fopen(filename, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1336]
postgresql-18.3/src/fe_utils/print.c:909:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘width_header’
postgresql-18.3/src/fe_utils/print.c:3549:1: enter_function: entry to ‘printQuery’
postgresql-18.3/src/fe_utils/print.c:3557:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3561:55: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3560:9: call_function: calling ‘printTableInit’ from ‘printQuery’
postgresql-18.3/src/fe_utils/print.c:3560:9: return_function: returning to ‘printQuery’ from ‘printTableInit’
postgresql-18.3/src/fe_utils/print.c:3567:21: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3567:21: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3601:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3609:9: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3609:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1337]
postgresql-18.3/src/fe_utils/print.c:1040:17: warning[-Wanalyzer-null-argument]: use of NULL ‘bytes_output’ where non-null expected
postgresql-18.3/src/fe_utils/print.c:3549:1: enter_function: entry to ‘printQuery’
postgresql-18.3/src/fe_utils/print.c:3557:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3561:55: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3560:9: call_function: calling ‘printTableInit’ from ‘printQuery’
postgresql-18.3/src/fe_utils/print.c:3560:9: return_function: returning to ‘printQuery’ from ‘printTableInit’
postgresql-18.3/src/fe_utils/print.c:3567:21: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3567:21: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3601:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3609:9: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3609:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1338]
postgresql-18.3/src/fe_utils/print.c:3432:1: warning[-Wanalyzer-malloc-leak]: leak of ‘fout’
postgresql-18.3/src/fe_utils/print.c:3549:1: enter_function: entry to ‘printQuery’
postgresql-18.3/src/fe_utils/print.c:3557:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3561:55: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3560:9: call_function: calling ‘printTableInit’ from ‘printQuery’
postgresql-18.3/src/fe_utils/print.c:3560:9: return_function: returning to ‘printQuery’ from ‘printTableInit’
postgresql-18.3/src/fe_utils/print.c:3567:21: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3567:21: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3601:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/print.c:3609:9: branch_false: ...to here
postgresql-18.3/src/fe_utils/print.c:3609:9: call_function: calling ‘printTable’ from ‘printQuery’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1339]
postgresql-18.3/src/fe_utils/psqlscan.c:4571:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/src/fe_utils/psqlscan.l:1122:8: enter_function: entry to ‘psql_scan’
postgresql-18.3/src/fe_utils/psqlscan.l:1137:10: call_function: calling ‘psql_yy_switch_to_buffer’ from ‘psql_scan’
postgresql-18.3/src/fe_utils/psqlscan.l:1137:10: return_function: returning to ‘psql_scan’ from ‘psql_yy_switch_to_buffer’
postgresql-18.3/src/fe_utils/psqlscan.l:1142:14: call_function: calling ‘psql_yylex’ from ‘psql_scan’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1340]
postgresql-18.3/src/fe_utils/psqlscan.c:4614:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
postgresql-18.3/src/fe_utils/psqlscan.l:1122:8: enter_function: entry to ‘psql_scan’
postgresql-18.3/src/fe_utils/psqlscan.l:1137:10: call_function: calling ‘psql_yy_switch_to_buffer’ from ‘psql_scan’
postgresql-18.3/src/fe_utils/psqlscan.l:1137:10: return_function: returning to ‘psql_scan’ from ‘psql_yy_switch_to_buffer’
postgresql-18.3/src/fe_utils/psqlscan.l:1142:14: call_function: calling ‘psql_yylex’ from ‘psql_scan’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1341]
postgresql-18.3/src/fe_utils/recovery_gen.c:143:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&filename, <unknown>)’
postgresql-18.3/src/fe_utils/recovery_gen.c:139:14: acquire_resource: opened here
postgresql-18.3/src/fe_utils/recovery_gen.c:140:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/recovery_gen.c:143:13: branch_false: ...to here
postgresql-18.3/src/fe_utils/recovery_gen.c:143:13: danger: ‘fopen(&filename, <unknown>)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1342]
postgresql-18.3/src/fe_utils/recovery_gen.c:143:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&filename, <unknown>)’
postgresql-18.3/src/fe_utils/recovery_gen.c:139:14: acquire_memory: allocated here
postgresql-18.3/src/fe_utils/recovery_gen.c:140:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/fe_utils/recovery_gen.c:143:13: branch_false: ...to here
postgresql-18.3/src/fe_utils/recovery_gen.c:143:13: danger: ‘fopen(&filename, <unknown>)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1343]
postgresql-18.3/src/include/access/htup_details.h:735:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/cache/relcache.c:5576:1: enter_function: entry to ‘RelationGetIdentityKeyBitmap’
postgresql-18.3/src/backend/utils/cache/relcache.c:5585:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/cache/relcache.c:5589:14: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/relcache.c:5589:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/utils/cache/relcache.c:5595:23: branch_true: ...to here
postgresql-18.3/src/backend/utils/cache/relcache.c:5598:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/cache/relcache.c:5602:21: branch_false: ...to here
postgresql-18.3/src/backend/utils/cache/relcache.c:5602:21: call_function: calling ‘RelationIdGetRelation’ from ‘RelationGetIdentityKeyBitmap’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1344]
postgresql-18.3/src/include/access/itup.h:74:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nposting’
postgresql-18.3/src/backend/access/nbtree/nbtxlog.c:1018:1: enter_function: entry to ‘btree_redo’
postgresql-18.3/src/backend/access/nbtree/nbtxlog.c:1036:25: call_function: calling ‘btree_xlog_split’ from ‘btree_redo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1345]
postgresql-18.3/src/include/access/tableam.h:1022:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sscan’
postgresql-18.3/src/backend/access/heap/heapam_handler.c:685:1: enter_function: entry to ‘heapam_relation_copy_for_cluster’
postgresql-18.3/src/backend/access/heap/heapam_handler.c:729:12: branch_false: following ‘false’ branch (when ‘use_sort == 0’)...
postgresql-18.3/src/backend/access/heap/heapam_handler.c:741:13: branch_false: ...to here
postgresql-18.3/src/backend/access/heap/heapam_handler.c:741:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/heap/heapam_handler.c:743:33: branch_true: ...to here
postgresql-18.3/src/backend/access/heap/heapam_handler.c:802:30: call_function: calling ‘table_scan_getnextslot’ from ‘heapam_relation_copy_for_cluster’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1346]
postgresql-18.3/src/include/access/tupmacs.h:28:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/access/brin/brin_tuple.c:553:1: enter_function: entry to ‘brin_deform_tuple’
postgresql-18.3/src/backend/access/brin/brin_tuple.c:565:16: branch_true: following ‘true’ branch (when ‘dMemtuple’ is non-NULL)...
postgresql-18.3/src/backend/access/brin/brin_tuple.c:565:28: branch_true: ...to here
postgresql-18.3/src/backend/access/brin/brin_tuple.c:565:28: call_function: calling ‘brin_memtuple_initialize’ from ‘brin_deform_tuple’
postgresql-18.3/src/backend/access/brin/brin_tuple.c:565:28: return_function: returning to ‘brin_deform_tuple’ from ‘brin_memtuple_initialize’
postgresql-18.3/src/backend/access/brin/brin_tuple.c:568:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/brin/brin_tuple.c:572:14: branch_false: ...to here
postgresql-18.3/src/backend/access/brin/brin_tuple.c:583:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/brin/brin_tuple.c:587:9: branch_false: ...to here
postgresql-18.3/src/backend/access/brin/brin_tuple.c:587:9: call_function: calling ‘brin_deconstruct_tuple’ from ‘brin_deform_tuple’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1347]
postgresql-18.3/src/include/common/unicode_case_table.h:13563:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1348]
postgresql-18.3/src/include/common/unicode_case_table.h:13570:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1349]
postgresql-18.3/src/include/common/unicode_case_table.h:13574:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1350]
postgresql-18.3/src/include/common/unicode_case_table.h:13587:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1351]
postgresql-18.3/src/include/common/unicode_case_table.h:13591:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1352]
postgresql-18.3/src/include/common/unicode_case_table.h:13598:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1353]
postgresql-18.3/src/include/common/unicode_case_table.h:13602:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1354]
postgresql-18.3/src/include/common/unicode_case_table.h:13612:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/common/unicode_case.c:438:1: enter_function: entry to ‘find_case_map’
postgresql-18.3/src/common/unicode_case.c:444:20: call_function: calling ‘case_index’ from ‘find_case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1355]
postgresql-18.3/src/include/common/unicode_case_table.h:13616:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/include/common/unicode_case_table.h:13608:28: branch_true: following ‘true’ branch (when ‘cp <= 93823’)...
postgresql-18.3/src/include/common/unicode_case_table.h:13610:36: branch_true: ...to here
postgresql-18.3/src/include/common/unicode_case_table.h:13610:36: branch_false: following ‘false’ branch (when ‘cp > 71903’)...
postgresql-18.3/src/include/common/unicode_case_table.h:13614:41: branch_false: ...to here
postgresql-18.3/src/include/common/unicode_case_table.h:13614:41: branch_true: following ‘true’ branch (when ‘cp > 93759’)...
postgresql-18.3/src/include/common/unicode_case_table.h:13616:57: branch_true: ...to here
postgresql-18.3/src/include/common/unicode_case_table.h:13616:48: danger: read of 2 bytes at offset ‘cp * 2 + 8589756364’ exceeds ‘case_map’
Error: GCC_ANALYZER_WARNING (CWE-787): [#def1356]
postgresql-18.3/src/include/common/unicode_case_table.h:13623:48: warning[-Wanalyzer-out-of-bounds]: buffer over-read
postgresql-18.3/src/include/common/unicode_case_table.h:13608:28: branch_false: following ‘false’ branch (when ‘cp > 93823’)...
postgresql-18.3/src/include/common/unicode_case_table.h:13619:33: branch_false: ...to here
postgresql-18.3/src/include/common/unicode_case_table.h:13619:33: branch_true: following ‘true’ branch (when ‘cp > 125183’)...
postgresql-18.3/src/include/common/unicode_case_table.h:13621:36: branch_true: ...to here
postgresql-18.3/src/include/common/unicode_case_table.h:13621:36: branch_true: following ‘true’ branch (when ‘cp <= 125251’)...
postgresql-18.3/src/include/common/unicode_case_table.h:13623:57: branch_true: ...to here
postgresql-18.3/src/include/common/unicode_case_table.h:13623:48: danger: read of 2 bytes at offset ‘cp * 2 + 8589693644’ exceeds ‘case_map’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1357]
postgresql-18.3/src/include/lib/radixtree.h:1120:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘slot’
postgresql-18.3/src/backend/access/common/tidstore.c:421:1: enter_function: entry to ‘TidStoreIsMember’
postgresql-18.3/src/backend/access/common/tidstore.c:429:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/common/tidstore.c:432:24: branch_false: ...to here
postgresql-18.3/src/backend/access/common/tidstore.c:432:24: call_function: calling ‘local_ts_find’ from ‘TidStoreIsMember’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1358]
postgresql-18.3/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘elemops’
postgresql-18.3/src/backend/partitioning/partbounds.c:3868:1: enter_function: entry to ‘make_partition_op_expr’
postgresql-18.3/src/backend/partitioning/partbounds.c:3876:19: call_function: calling ‘get_partition_operator’ from ‘make_partition_op_expr’
postgresql-18.3/src/backend/partitioning/partbounds.c:3876:19: return_function: returning to ‘make_partition_op_expr’ from ‘get_partition_operator’
postgresql-18.3/src/backend/partitioning/partbounds.c:3951:50: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:3951:100: call_function: inlined call to ‘list_nth_cell’ from ‘make_partition_op_expr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1359]
postgresql-18.3/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘expanded_groups’
postgresql-18.3/src/backend/parser/parse_agg.c:1947:1: enter_function: entry to ‘expand_grouping_sets’
postgresql-18.3/src/backend/parser/parse_agg.c:1954:12: branch_false: following ‘false’ branch (when ‘groupingSets’ is non-NULL)...
postgresql-18.3/src/backend/parser/parse_agg.c:1954:12: branch_false: ...to here
postgresql-18.3/src/backend/parser/parse_agg.c:1957:9: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/parser/parse_agg.c:1980:9: call_function: inlined call to ‘list_nth_cell’ from ‘expand_grouping_sets’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1360]
postgresql-18.3/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘or_expr_args’
postgresql-18.3/src/backend/partitioning/partbounds.c:4275:1: enter_function: entry to ‘get_qual_for_range’
postgresql-18.3/src/backend/partitioning/partbounds.c:4300:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:4303:39: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4308:29: branch_true: following ‘true’ branch (when ‘k < nparts’)...
postgresql-18.3/src/backend/partitioning/partbounds.c:4310:67: branch_true: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4316:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:4319:33: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4323:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:4326:30: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4326:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/partitioning/partbounds.c:4330:45: branch_false: ...to here
postgresql-18.3/src/backend/partitioning/partbounds.c:4330:45: call_function: calling ‘get_qual_for_range’ from ‘get_qual_for_range’
postgresql-18.3/src/backend/partitioning/partbounds.c:4330:45: return_function: returning to ‘get_qual_for_range’ from ‘get_qual_for_range’
postgresql-18.3/src/backend/partitioning/partbounds.c:4336:70: call_function: inlined call to ‘list_length’ from ‘get_qual_for_range’
postgresql-18.3/src/backend/partitioning/partbounds.c:4338:78: call_function: inlined call to ‘list_nth_cell’ from ‘get_qual_for_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1361]
postgresql-18.3/src/include/nodes/pg_list.h:281:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘resultRelations’
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4632:1: enter_function: entry to ‘ExecInitModifyTable’
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4725:17: call_function: inlined call to ‘list_length’ from ‘ExecInitModifyTable’
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4731:19: call_function: inlined call to ‘newNode’ from ‘ExecInitModifyTable’
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4749:9: release_memory: ‘resultRelations’ is NULL
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4767:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4778:17: branch_false: ...to here
postgresql-18.3/src/backend/executor/nodeModifyTable.c:4780:60: call_function: inlined call to ‘list_nth_cell’ from ‘ExecInitModifyTable’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1362]
postgresql-18.3/src/include/storage/block.h:105:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:648:1: enter_function: entry to ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:657:25: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:659:39: branch_true: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:665:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:690:57: call_function: inlined call to ‘BTreeTupleGetNPosting’ from ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:696:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:709:42: branch_true: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:709:42: call_function: calling ‘BTreeTupleGetHeapTID’ from ‘_bt_bottomupdel_finish_pending’
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:709:42: return_function: returning to ‘_bt_bottomupdel_finish_pending’ from ‘BTreeTupleGetHeapTID’
postgresql-18.3/src/backend/access/nbtree/nbtdedup.c:712:48: call_function: inlined call to ‘ItemPointerGetBlockNumber’ from ‘_bt_bottomupdel_finish_pending’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1363]
postgresql-18.3/src/include/storage/itemptr.h:116:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4202:1: enter_function: entry to ‘_bt_check_third_page’
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4211:12: branch_false: following ‘false’ branch (when ‘itemsz > 2704’)...
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4219:13: branch_false: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4219:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4226:18: branch_false: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4227:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4231:9: branch_false: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4231:9: branch_true: following ‘true’ branch...
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4231:9: branch_true: ...to here
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4231:9: call_function: calling ‘BTreeTupleGetHeapTID’ from ‘_bt_check_third_page’
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4231:9: return_function: returning to ‘_bt_check_third_page’ from ‘BTreeTupleGetHeapTID’
postgresql-18.3/src/backend/access/nbtree/nbtutils.c:4231:9: call_function: inlined call to ‘ItemPointerGetOffsetNumber’ from ‘_bt_check_third_page’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1364]
postgresql-18.3/src/include/utils/expandedrecord.h:220:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘newerh’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7577:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7582:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7693:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7695:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7695:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: CPPCHECK_WARNING (CWE-758): [#def1365]
postgresql-18.3/src/include/utils/memutils.h:222: warning[objectIndex]: The address of variable 'PendingBgWriterStats' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-758): [#def1366]
postgresql-18.3/src/include/utils/memutils.h:222: warning[objectIndex]: The address of variable 'PendingCheckpointerStats' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1367]
postgresql-18.3/src/include/utils/pgstat_internal.h:897:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1754:1: enter_function: entry to ‘pgstat_read_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1776:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1790:14: call_function: inlined call to ‘read_chunk’ from ‘pgstat_read_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1790:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1796:13: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1796:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1796:12: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1910:52: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1915:54: call_function: inlined call to ‘read_chunk’ from ‘pgstat_read_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1915:52: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1921:54: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1928:61: call_function: inlined call to ‘pgstat_get_kind_info’ from ‘pgstat_read_statsfile’
postgresql-18.3/src/backend/utils/activity/pgstat.c:1936:52: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1943:54: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1967:44: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1976:50: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1978:44: branch_false: following ‘false’ branch...
postgresql-18.3/src/backend/utils/activity/pgstat.c:1990:46: branch_false: ...to here
postgresql-18.3/src/backend/utils/activity/pgstat.c:1990:46: call_function: calling ‘pgstat_get_entry_len’ from ‘pgstat_read_statsfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1368]
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:338:17: warning[-Wanalyzer-malloc-leak]: leak of ‘*((struct json_ctx)*(void *)state).target_field’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:296:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:302:13: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:302:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:304:20: branch_true: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:304:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:321:21: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:321:20: branch_false: following ‘false’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:330:20: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:330:20: branch_false: following ‘false’ branch (when ‘type == 1’)...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:338:38: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:338:38: acquire_memory: allocated here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:338:17: danger: ‘*((struct json_ctx)*(void *)state).target_field’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1369]
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1014:28: warning[-Wanalyzer-malloc-leak]: leak of ‘*conn.oauth_token’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1149:1: enter_function: entry to ‘oauth_exchange’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1166:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1169:29: branch_true: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1169:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1176:34: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1176:33: branch_true: following ‘true’ branch...
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1183:38: branch_true: ...to here
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1183:38: call_function: calling ‘setup_token_request’ from ‘oauth_exchange’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1370]
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1111:20: warning[-Wanalyzer-malloc-leak]: leak of ‘*conn.oauth_issuer_id’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1149:1: enter_function: entry to ‘oauth_exchange’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1166:30: call_function: calling ‘setup_oauth_parameters’ from ‘oauth_exchange’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1371]
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1115:20: warning[-Wanalyzer-malloc-leak]: leak of ‘*conn.oauth_discovery_uri’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1149:1: enter_function: entry to ‘oauth_exchange’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1166:30: call_function: calling ‘setup_oauth_parameters’ from ‘oauth_exchange’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1372]
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1128:20: warning[-Wanalyzer-malloc-leak]: leak of ‘*conn.oauth_issuer_id’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1149:1: enter_function: entry to ‘oauth_exchange’
postgresql-18.3/src/interfaces/libpq/fe-auth-oauth.c:1166:30: call_function: calling ‘setup_oauth_parameters’ from ‘oauth_exchange’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1373]
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7355:18: warning[-Wanalyzer-malloc-leak]: leak of ‘value_copy’
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7333:1: enter_function: entry to ‘conninfo_storeval’
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7355:18: call_function: calling ‘conninfo_find’ from ‘conninfo_storeval’
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7355:18: return_function: returning to ‘conninfo_storeval’ from ‘conninfo_find’
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7356:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7365:12: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7365:12: branch_false: following ‘false’ branch (when ‘uri_decode == 0’)...
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7374:30: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7374:30: acquire_memory: allocated here
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7375:20: branch_false: following ‘false’ branch (when ‘value_copy’ is non-NULL)...
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7382:14: branch_false: ...to here
postgresql-18.3/src/interfaces/libpq/fe-connect.c:7355:18: danger: ‘value_copy’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1374]
postgresql-18.3/src/interfaces/libpq/fe-exec.c:742:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/interfaces/libpq/fe-exec.c:2360:1: enter_function: entry to ‘PQexecStart’
postgresql-18.3/src/interfaces/libpq/fe-exec.c:2385:26: call_function: calling ‘PQgetResult’ from ‘PQexecStart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1375]
postgresql-18.3/src/interfaces/libpq/fe-secure.c:416:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘spinfo.sigpipe_pending’
postgresql-18.3/src/interfaces/libpq/fe-secure.c:416:9: branch_false: following ‘false’ branch...
postgresql-18.3/src/interfaces/libpq/fe-secure.c:416:9: danger: use of uninitialized value ‘spinfo.sigpipe_pending’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1376]
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1206:45: warning[-Wanalyzer-null-argument]: use of NULL ‘colname’ where non-null expected
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1083:1: enter_function: entry to ‘resolve_column_ref’
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1114:17: call_function: inlined call to ‘list_length’ from ‘resolve_column_ref’
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1180:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1183:17: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1190:28: branch_false: following ‘false’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1192:28: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1192:28: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1195:68: branch_true: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1200:40: branch_true: following ‘true’ branch (when ‘i >= 0’)...
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1202:100: branch_true: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_comp.c:1206:45: danger: argument 2 (‘colname’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1377]
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:5109:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7577:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7582:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7693:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7695:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7695:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1378]
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:8787:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7577:1: enter_function: entry to ‘exec_move_row_from_datum’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7582:12: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7693:20: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7695:25: call_function: inlined call to ‘expanded_record_get_tupdesc’ from ‘exec_move_row_from_datum’
postgresql-18.3/src/pl/plpgsql/src/pl_exec.c:7695:25: call_function: calling ‘exec_move_row’ from ‘exec_move_row_from_datum’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1379]
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1885:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1840:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1846:34: branch_true: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1872:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1874:7: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1883:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1883:12: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1885:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1380]
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:2016:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1840:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1909:6: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1909:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1912:3: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1924:6: branch_true: following ‘true’ branch (when ‘yyn == -249’)...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1925:5: branch_true: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1996:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:1998:3: branch_false: ...to here
postgresql-18.3/src/pl/plpgsql/src/pl_gram.c:2016:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: CPPCHECK_WARNING (CWE-457): [#def1381]
postgresql-18.3/src/pl/plpython/plpy_exec.c:282: warning[uninitvar]: Uninitialized variable: plerrcontext.previous
Error: CPPCHECK_WARNING (CWE-457): [#def1382]
postgresql-18.3/src/pl/plpython/plpy_exec.c:305: warning[uninitvar]: Uninitialized variable: rv
Error: CPPCHECK_WARNING (CWE-457): [#def1383]
postgresql-18.3/src/pl/plpython/plpy_exec.c:1046: warning[uninitvar]: Uninitialized variables: rtup.t_len, rtup.t_self, rtup.t_tableOid, rtup.t_data
Error: CPPCHECK_WARNING (CWE-457): [#def1384]
postgresql-18.3/src/pl/plpython/plpy_main.c:261: warning[uninitvar]: Uninitialized variable: retval
Error: CPPCHECK_WARNING (CWE-758): [#def1385]
postgresql-18.3/src/port/pg_crc32c_sse42_choose.c:100: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1386]
postgresql-18.3/src/port/snprintf.c:1439:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘str’
postgresql-18.3/src/port/snprintf.c:1318:1: enter_function: entry to ‘pg_strfromd’
postgresql-18.3/src/port/snprintf.c:1348:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/port/snprintf.c:1357:20: branch_false: ...to here
postgresql-18.3/src/port/snprintf.c:1365:21: branch_false: following ‘false’ branch...
postgresql-18.3/src/port/snprintf.c:1367:25: branch_false: ...to here
postgresql-18.3/src/port/snprintf.c:1400:9: call_function: calling ‘dostr’ from ‘pg_strfromd’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1387]
postgresql-18.3/src/test/isolation/specparse.c:1006:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
postgresql-18.3/src/test/isolation/specparse.c:964:6: branch_true: following ‘true’ branch...
postgresql-18.3/src/test/isolation/specparse.c:970:28: branch_true: ...to here
postgresql-18.3/src/test/isolation/specparse.c:993:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
postgresql-18.3/src/test/isolation/specparse.c:995:7: branch_false: ...to here
postgresql-18.3/src/test/isolation/specparse.c:1004:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
postgresql-18.3/src/test/isolation/specparse.c:1006:9: branch_false: ...to here
postgresql-18.3/src/test/isolation/specparse.c:1006:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1388]
postgresql-18.3/src/test/isolation/specparse.c:1133:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
postgresql-18.3/src/test/isolation/specparse.c:964:6: branch_false: following ‘false’ branch...
postgresql-18.3/src/test/isolation/specparse.c:1028:6: branch_false: ...to here
postgresql-18.3/src/test/isolation/specparse.c:1028:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
postgresql-18.3/src/test/isolation/specparse.c:1031:3: branch_false: ...to here
postgresql-18.3/src/test/isolation/specparse.c:1043:6: branch_true: following ‘true’ branch (when ‘yyn == -14’)...
postgresql-18.3/src/test/isolation/specparse.c:1044:5: branch_true: ...to here
postgresql-18.3/src/test/isolation/specparse.c:1113:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
postgresql-18.3/src/test/isolation/specparse.c:1115:3: branch_false: ...to here
postgresql-18.3/src/test/isolation/specparse.c:1133:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1389]
postgresql-18.3/src/test/isolation/specscanner.c:1727:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
postgresql-18.3/src/test/isolation/specscanner.c:1714:21: enter_function: entry to ‘spec_yy_create_buffer’
postgresql-18.3/src/test/isolation/specscanner.c:1718:24: call_function: inlined call to ‘spec_yyalloc’ from ‘spec_yy_create_buffer’
postgresql-18.3/src/test/isolation/specscanner.c:1719:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/test/isolation/specscanner.c:1722:2: branch_false: ...to here
postgresql-18.3/src/test/isolation/specscanner.c:1727:54: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def1390]
postgresql-18.3/src/test/isolation/specscanner.c:1768: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def1391]
postgresql-18.3/src/test/isolation/specscanner.c:1769: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1392]
postgresql-18.3/src/test/isolation/specscanner.c:1982:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
postgresql-18.3/src/test/isolation/specscanner.c:1966:17: enter_function: entry to ‘spec_yy_scan_bytes’
postgresql-18.3/src/test/isolation/specscanner.c:1975:24: call_function: inlined call to ‘spec_yyalloc’ from ‘spec_yy_scan_bytes’
postgresql-18.3/src/test/isolation/specscanner.c:1976:12: branch_false: following ‘false’ branch...
postgresql-18.3/src/test/isolation/specscanner.c:1976:12: branch_false: ...to here
postgresql-18.3/src/test/isolation/specscanner.c:1984:6: call_function: calling ‘spec_yy_scan_buffer’ from ‘spec_yy_scan_bytes’
Error: COMPILER_WARNING (CWE-704): [#def1393]
postgresql-18.3/src/test/regress/pg_regress.c: scope_hint: In function ‘get_expectfile’
postgresql-18.3/src/test/regress/pg_regress.c:703:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def1394]
postgresql-18.3/src/test/regress/pg_regress.c:703:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Scan Properties
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-214.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | postgresql18-18.3-3.fc45 |
| store-results-to | /tmp/tmparfebcqg/postgresql18-18.3-3.fc45.tar.xz |
| time-created | 2026-06-01 16:27:27 |
| time-finished | 2026-06-01 17:00:56 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmparfebcqg/postgresql18-18.3-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmparfebcqg/postgresql18-18.3-3.fc45.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |