Task #94621 - added.err
back to task #94621download
Error: GCC_ANALYZER_WARNING (CWE-401):
avahi-0.9.rc2/avahi-daemon/ini-file-parser.c: scope_hint: In function ‘avahi_ini_list_confd_files_sorted’
avahi-0.9.rc2/avahi-daemon/ini-file-parser.c:76:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(confd_path)’
# 74| }
# 75|
# 76|-> filelist = avahi_malloc0(AVAHI_INI_CONFD_MAX_FILES * sizeof(char *));
# 77|
# 78| while ((dentry = readdir(dir)) != NULL) {
Error: GCC_ANALYZER_WARNING (CWE-401):
avahi-0.9.rc2/avahi-daemon/ini-file-parser.c:78:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(confd_path)’
# 76| filelist = avahi_malloc0(AVAHI_INI_CONFD_MAX_FILES * sizeof(char *));
# 77|
# 78|-> while ((dentry = readdir(dir)) != NULL) {
# 79| regex_ret = regexec(®ex, dentry->d_name, 0, NULL, 0);
# 80| if (regex_ret == 0) {