Error: GCC_ANALYZER_WARNING (CWE-775): [#def1] dbus-broker-35/src/util/test-sockopt.c:150:38: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 526337, 0)’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:150:17: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:32:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:35:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:146:17: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:150:17: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:150:17: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:150:17: note: in expansion of macro ‘c_assert’ # 148| /* wait with exit until told */ # 149| l = read(rpipe_down, &c, 1); # 150|-> c_assert(l == 1 && c == '!'); # 151| # 152| _exit(0); Error: GCC_ANALYZER_WARNING (CWE-775): [#def2] dbus-broker-35/src/util/test-sockopt.c:161:30: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 526337, 0)’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ # 159| # 160| l = read(rpipe_up, &c, 1); # 161|-> c_assert(l == 1 && c == '!'); # 162| # 163| n_address = sizeof(address); Error: GCC_ANALYZER_WARNING (CWE-775): [#def3] dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c:209:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux.h:43: included_from: Included from here. dbus-broker-35/src/util/test-sockopt.c:6: included_from: Included from here. dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:165:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:173:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:20:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:188:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:20:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:198:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:20:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ # 207| # 208| wait_and_verify(pid_client); # 209|-> } # 210| # 211| int main(int argc, char **argv) { Error: GCC_ANALYZER_WARNING (CWE-775): [#def4] dbus-broker-35/src/util/test-sockopt.c:209:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1]’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:165:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:173:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:20:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:188:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:20:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:198:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:20:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:21:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:22:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:23:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:29: note: in definition of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:24:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ # 207| # 208| wait_and_verify(pid_client); # 209|-> } # 210| # 211| int main(int argc, char **argv) { Error: GCC_ANALYZER_WARNING (CWE-775): [#def5] dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[1]’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ # 148| */ \ # 149| \ # 150|-> if (_x) \ # 151| C_VAR(b, _uniq) = 1; \ # 152| else \ Error: GCC_ANALYZER_WARNING (CWE-775): [#def6] dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:150:28: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 526337, 0)’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ # 148| */ \ # 149| \ # 150|-> if (_x) \ # 151| C_VAR(b, _uniq) = 1; \ # 152| else \ Error: GCC_ANALYZER_WARNING (CWE-1341): [#def7] dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-unix.h:62:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘pipes[1]’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ # 60| static inline int c_close(int fd) { # 61| if (fd >= 0) # 62|-> close(fd); # 63| return -1; # 64| } Error: GCC_ANALYZER_WARNING (CWE-1341): [#def8] dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-unix.h:62:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘rpipe_down’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ # 60| static inline int c_close(int fd) { # 61| if (fd >= 0) # 62|-> close(fd); # 63| return -1; # 64| } Error: GCC_ANALYZER_WARNING (CWE-1341): [#def9] dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-unix.h:62:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘rpipe_up’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:113:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:118:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:125:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:137:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:161:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:165:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:134:30: note: in expansion of macro ‘_c_internal_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:171:53: note: in expansion of macro ‘_c_boolean_expr_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:169:24: note: in expansion of macro ‘_c_internal_likely_’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:327:17: note: in expansion of macro ‘_c_likely_’ dbus-broker-35/src/util/test-sockopt.c:173:9: note: in expansion of macro ‘c_assert’ dbus-broker-35/src/util/test-sockopt.c: scope_hint: In function ‘test_peerpidfd’ dbus-broker-35/subprojects/libcstdaux-1/src/c-stdaux-generic.h:768:17: note: in definition of macro ‘C_DEFINE_DIRECT_CLEANUP’ # 60| static inline int c_close(int fd) { # 61| if (fd >= 0) # 62|-> close(fd); # 63| return -1; # 64| }
| analyzer-version-clang | 18.1.2 |
| analyzer-version-cppcheck | 2.13.0 |
| analyzer-version-gcc | 14.0.1 |
| analyzer-version-gcc-analyzer | 14.0.1 |
| analyzer-version-shellcheck | 0.10.0 |
| diffbase-analyzer-version-clang | 18.1.2 |
| diffbase-analyzer-version-cppcheck | 2.13.0 |
| diffbase-analyzer-version-gcc | 14.0.1 |
| diffbase-analyzer-version-gcc-analyzer | 14.0.1 |
| diffbase-analyzer-version-shellcheck | 0.10.0 |
| diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-10.us-west-2.compute.internal |
| diffbase-mock-config | fedora-41-x86_64 |
| diffbase-project-name | dbus-broker-36-2.fc41 |
| diffbase-store-results-to | /tmp/tmpkqumqk06/dbus-broker-36-2.fc41.tar.xz |
| diffbase-time-created | 2024-04-17 06:12:34 |
| diffbase-time-finished | 2024-04-17 06:17:24 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'shellcheck,clang,cppcheck,gcc' '-o' '/tmp/tmpkqumqk06/dbus-broker-36-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpkqumqk06/dbus-broker-36-2.fc41.src.rpm' |
| diffbase-tool-version | csmock-3.5.3-1.el9 |
| enabled-plugins | clang, cppcheck, gcc, shellcheck |
| exit-code | 0 |
| host | ip-172-16-1-10.us-west-2.compute.internal |
| mock-config | fedora-41-x86_64 |
| project-name | dbus-broker-35-4.fc40 |
| store-results-to | /tmp/tmp4uvk9_6q/dbus-broker-35-4.fc40.tar.xz |
| time-created | 2024-04-17 06:05:47 |
| time-finished | 2024-04-17 06:11:33 |
| title | Fixed defects |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'shellcheck,clang,cppcheck,gcc' '-o' '/tmp/tmp4uvk9_6q/dbus-broker-35-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp4uvk9_6q/dbus-broker-35-4.fc40.src.rpm' |
| tool-version | csmock-3.5.3-1.el9 |