Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y: scope_hint: In function ‘set_key’
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y:200:27: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*value’
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y:7: included_from: Included from here.
/usr/include/string.h:187:14: note: argument 1 of ‘strdup’ must be a pointer to a null-terminated string
#  198|   	} else {
#  199|   	    free(root->value);
#  200|-> 	    root->value = strdup(value);
#  201|   	}
#  202|       } else {

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y:204:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘root’
#  202|       } else {
#  203|   	root = malloc(sizeof(struct node_s));
#  204|-> 	root->right = root->left = NULL;
#  205|   	root->key = strdup(key);
#  206|   	root->value = strdup(value);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def3]
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y:206:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*value’
/usr/include/string.h:187:14: note: argument 1 of ‘strdup’ must be a pointer to a null-terminated string
#  204|   	root->right = root->left = NULL;
#  205|   	root->key = strdup(key);
#  206|-> 	root->value = strdup(value);
#  207|       }
#  208|       return root;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y: scope_hint: In function ‘new_counter.part.0’
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y:273:22: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
#  271|   	j=0;
#  272|   	while (--ndollars > 0) {
#  273|-> 	    new[j++] = '0';
#  274|   	    new[j++] = '.';
#  275|   	}

Error: GCC_ANALYZER_WARNING (CWE-476): [#def5]
pam-1.7.0-build/Linux-PAM-1.7.0/doc/specs/parse_y.y:278:12: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
#  276|   	i = 0;
#  277|       }
#  278|->     new[j] = '\0';
#  279|       sprintf(new+j, "%d", ++i);
#  280|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def6]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&config_file, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:59:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:33:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:33:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:34:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:34:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:51:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:51:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:52:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:52:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:53:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:53:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:54:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:54:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:55:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:55:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:58:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:58:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:58:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:59:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:59:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-775): [#def7]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:5: included_from: Included from here.
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c: scope_hint: In function ‘main’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&config_filename, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:31:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:28:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:31:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:31:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:8: included_from: Included from here.
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c: scope_hint: In function ‘setup’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&my_conf, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:158:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-775): [#def9]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&my_env, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:80:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:158:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:77:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:77:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:80:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:80:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&passwd_file, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:93:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:37:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:40:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:40:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:41:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:41:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:55:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:57:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:57:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:58:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:58:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:59:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:59:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:62:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:64:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:64:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:65:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:65:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:66:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:66:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:74:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:74:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:76:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:76:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:78:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:78:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:79:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:79:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:80:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:80:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:84:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:85:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:85:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:88:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:88:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:92:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:92:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:92:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:93:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:93:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:7: included_from: Included from here.
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c: scope_hint: In function ‘main’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&service_file, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:75:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:67:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:71:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:71:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:75:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:75:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&config_file, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:59:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:33:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:33:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:34:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:34:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:51:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:51:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:52:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:52:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:53:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:53:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:54:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:54:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:55:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:55:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:58:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:58:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:58:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:59:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_sepermit/tst-pam_sepermit-retval.c:59:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&config_filename, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:31:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:28:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:30:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:31:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_faillock/tst-pam_faillock-retval.c:31:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&my_conf, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:158:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&my_env, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:80:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:158:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:77:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:77:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:79:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:80:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_env/tst-pam_env-retval.c:80:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&passwd_file, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:93:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:37:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:40:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:40:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:41:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:41:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:44:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:46:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:48:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:49:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:50:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:55:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:57:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:57:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:58:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:58:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:59:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:59:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:62:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:64:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:64:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:65:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:65:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:66:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:66:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:71:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:74:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:74:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:76:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:76:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:78:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:78:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:79:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:79:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:80:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:80:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:84:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:85:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:85:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:88:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:88:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:92:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:92:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:92:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:93:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_localuser/tst-pam_localuser-retval.c:93:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:20:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&service_file, "w")’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:75:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:67:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:70:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:71:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:31:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:71:9: note: in expansion of macro ‘ASSERT_EQ’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:35:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:74:9: note: in expansion of macro ‘ASSERT_NE’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:19:41: note: in definition of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:75:9: note: in expansion of macro ‘ASSERT_LT’
pam-1.7.0-build/Linux-PAM-1.7.0/libpam/include/test_assert.h:39:9: note: in expansion of macro ‘ASSERT_’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_canonicalize_user/tst-pam_canonicalize_user-retval.c:75:9: note: in expansion of macro ‘ASSERT_LT’
#   18|   		__typeof__(expected_) e_ = (expected_);				\
#   19|   		__typeof__(seen_) s_ = (seen_);					\
#   20|-> 		if (e_ op_ s_) break;						\
#   21|   		fprintf(stderr,							\
#   22|   			"%s:%d: Assertion failed: %s (%#lx) %s %s (%#lx)\n",	\

Error: COMPILER_WARNING (CWE-563): [#def18]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c: scope_hint: In function ‘pam_sm_authenticate’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:59:48: warning[-Wunused-parameter]: unused parameter ‘flags’
#   59 | int pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc
#      |                                            ~~~~^~~~~
#   57|   
#   58|   PAM_EXTERN
#   59|-> int pam_sm_authenticate(pam_handle_t *pamh,int flags,int argc
#   60|   			,const char **argv)
#   61|   {

Error: COMPILER_WARNING (CWE-563): [#def19]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c: scope_hint: In function ‘pam_sm_setcred’
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:84:34: warning[-Wunused-parameter]: unused parameter ‘pamh’
#   84 | int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#      |                    ~~~~~~~~~~~~~~^~~~
#   82|   
#   83|   PAM_EXTERN
#   84|-> int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#   85|   		   ,const char **argv)
#   86|   {

Error: COMPILER_WARNING (CWE-563): [#def20]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:84:43: warning[-Wunused-parameter]: unused parameter ‘flags’
#   84 | int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#      |                                       ~~~~^~~~~
#   82|   
#   83|   PAM_EXTERN
#   84|-> int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#   85|   		   ,const char **argv)
#   86|   {

Error: COMPILER_WARNING (CWE-563): [#def21]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:84:53: warning[-Wunused-parameter]: unused parameter ‘argc’
#   84 | int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#      |                                                 ~~~~^~~~
#   82|   
#   83|   PAM_EXTERN
#   84|-> int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#   85|   		   ,const char **argv)
#   86|   {

Error: COMPILER_WARNING (CWE-563): [#def22]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:85:34: warning[-Wunused-parameter]: unused parameter ‘argv’
#   85 |                    ,const char **argv)
#      |                     ~~~~~~~~~~~~~^~~~
#   83|   PAM_EXTERN
#   84|   int pam_sm_setcred(pam_handle_t *pamh,int flags,int argc
#   85|-> 		   ,const char **argv)
#   86|   {
#   87|       return PAM_SUCCESS;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_get_next_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c:1000:18: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_get_next_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_get_next_buffer’
#  998|   				else
#  999|   					b->yy_buf_size *= 2;
# 1000|-> 
# 1001|   				b->yy_ch_buf = (char *)
# 1002|   					/* Include room in for 2 EOB chars. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_create_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c:1322:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_create_buffer’
# 1320|   	 * we need to put in 2 end-of-buffer characters.
# 1321|   	 */
# 1322|-> 	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
# 1323|   	if ( ! b->yy_ch_buf )
# 1324|   		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

Error: CPPCHECK_WARNING (CWE-476): [#def25]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c:1362: warning[nullPointer]: Possible null pointer dereference: b
# 1360|       
# 1361|   	yy_flush_buffer( b );
# 1362|-> 
# 1363|   	b->yy_input_file = file;
# 1364|   	b->yy_fill_buffer = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def26]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c:1363: warning[nullPointer]: Possible null pointer dereference: b
# 1361|   	yy_flush_buffer( b );
# 1362|   
# 1363|-> 	b->yy_input_file = file;
# 1364|   	b->yy_fill_buffer = 1;
# 1365|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_scan_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c:1576:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_l.c: scope_hint: In function ‘yy_scan_buffer’
# 1574|   	for ( i = 0; i < _yybytes_len; ++i )
# 1575|   		buf[i] = yybytes[i];
# 1576|-> 
# 1577|   	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 1578|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def28]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c: scope_hint: In function ‘yyparse’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:462:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:447:9: note: in expansion of macro ‘YYCOPY’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:969:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:447:9: note: in expansion of macro ‘YYCOPY’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:969:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:447:9: note: in expansion of macro ‘YYCOPY’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:969:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
#  460|   #  if defined __GNUC__ && 1 < __GNUC__
#  461|   #   define YYCOPY(Dst, Src, Count) \
#  462|->       __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
#  463|   #  else
#  464|   #   define YYCOPY(Dst, Src, Count)              \

Error: GCC_ANALYZER_WARNING (CWE-457): [#def29]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/conf/pam_conv1/pam_conv_y.c:1096:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
# 1094|        unconditionally makes the parser a bit smaller, and it avoids a
# 1095|        GCC warning that YYVAL may be used uninitialized.  */
# 1096|->   yyval = yyvsp[1-yylen];
# 1097|   
# 1098|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_get_next_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c:988:18: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_get_next_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_get_next_buffer’
#  986|   				else
#  987|   					b->yy_buf_size *= 2;
#  988|-> 
#  989|   				b->yy_ch_buf = (char *)
#  990|   					/* Include room in for 2 EOB chars. */

Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_create_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c:1310:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_create_buffer’
# 1308|   	 * we need to put in 2 end-of-buffer characters.
# 1309|   	 */
# 1310|-> 	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
# 1311|   	if ( ! b->yy_ch_buf )
# 1312|   		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );

Error: CPPCHECK_WARNING (CWE-476): [#def32]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c:1350: warning[nullPointer]: Possible null pointer dereference: b
# 1348|       
# 1349|   	yy_flush_buffer( b );
# 1350|-> 
# 1351|   	b->yy_input_file = file;
# 1352|   	b->yy_fill_buffer = 1;

Error: CPPCHECK_WARNING (CWE-476): [#def33]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c:1351: warning[nullPointer]: Possible null pointer dereference: b
# 1349|   	yy_flush_buffer( b );
# 1350|   
# 1351|-> 	b->yy_input_file = file;
# 1352|   	b->yy_fill_buffer = 1;
# 1353|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_scan_buffer’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c:1564:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/doc/specs/parse_l.c: scope_hint: In function ‘yy_scan_buffer’
# 1562|   	for ( i = 0; i < _yybytes_len; ++i )
# 1563|   		buf[i] = yybytes[i];
# 1564|-> 
# 1565|   	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
# 1566|   

Error: COMPILER_WARNING: [#def35]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:12: included_from: Included from here.
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/libpam/include/config.h:137:9: warning: "_GNU_SOURCE" redefined
#  137 | #define _GNU_SOURCE 1
#      |         ^~~~~~~~~~~
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:10:9: note: this is the location of the previous definition
#   10 | #define _GNU_SOURCE
#      |         ^~~~~~~~~~~
#  135|   #define WITH_SELINUX 1
#  136|   
#  137|-> #define _GNU_SOURCE 1
#  138|   
#  139|   #define _PAM_ISA "../../lib64/security"

Error: COMPILER_WARNING: [#def36]
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:12: included_from: Included from here.
pam-1.7.0-build/Linux-PAM-1.7.0/redhat-linux-build/libpam/include/config.h:137:9: warning: ‘_GNU_SOURCE’ redefined
pam-1.7.0-build/Linux-PAM-1.7.0/modules/pam_postgresok/pam_postgresok.c:10:9: note: this is the location of the previous definition
#  135|   #define WITH_SELINUX 1
#  136|   
#  137|-> #define _GNU_SOURCE 1
#  138|   
#  139|   #define _PAM_ISA "../../lib64/security"

Error: GCC_ANALYZER_WARNING (CWE-126): [#def37]
pam-1.7.0-build/Linux-PAM-1.7.0/tests/tst-pam_getenvlist.c: scope_hint: In function ‘main’
pam-1.7.0-build/Linux-PAM-1.7.0/tests/tst-pam_getenvlist.c:116:15: warning[-Wanalyzer-out-of-bounds]: buffer over-read
pam-1.7.0-build/Linux-PAM-1.7.0/tests/tst-pam_getenvlist.c:116:15: note: read of 8 bytes from after the end of ‘envvals’
pam-1.7.0-build/Linux-PAM-1.7.0/tests/tst-pam_getenvlist.c:116:15: note: valid subscripts for ‘envvals’ are ‘[0]’ to ‘[2]’
#  114|         while (temp)
#  115|   	{
#  116|-> 	  if (strcmp (temp, envvals[var]) != 0)
#  117|   	    {
#  118|   	      fprintf (stderr,

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-192.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namepam-1.6.1-5.fc41
diffbase-store-results-to/tmp/tmpg25_e0do/pam-1.6.1-5.fc41.tar.xz
diffbase-time-created2024-11-13 02:11:38
diffbase-time-finished2024-11-13 02:15:41
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpg25_e0do/pam-1.6.1-5.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpg25_e0do/pam-1.6.1-5.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-192.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namepam-1.7.0-2.fc42
store-results-to/tmp/tmpt7d4uuut/pam-1.7.0-2.fc42.tar.xz
time-created2024-11-13 02:16:04
time-finished2024-11-13 02:22:25
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpt7d4uuut/pam-1.7.0-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpt7d4uuut/pam-1.7.0-2.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9