Task #1224 - realmd-0.17.1-12.fc41/scan-results.err
back to task #1224download
Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/realm-dbus-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-adcli-enroll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-command.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-credential.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-daemon.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-disco-domain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-457): realmd-0.17.1-build/realmd-0.17.1/service/realm-disco-mscldap.c:142: warning[uninitvar]: Uninitialized variable: *at # 140| unsigned int *val) # 141| { # 142|-> unsigned char *p = *at; # 143| if (p + 4 > end) # 144| return FALSE; Error: CPPCHECK_WARNING (CWE-457): realmd-0.17.1-build/realmd-0.17.1/service/realm-disco-mscldap.c:180: warning[uninitvar]: Uninitialized variable: end # 178| /* domain forest */ # 179| if (!success || # 180|-> !get_32_le (&at, end, &type) || type != 23 || # 181| !get_32_le (&at, end, &flags) || # 182| !skip_n (&at, end, 16) || /* guid */ Error: CPPCHECK_WARNING (CWE-457): realmd-0.17.1-build/realmd-0.17.1/service/realm-disco-mscldap.c:183: warning[uninitvar]: Uninitialized variable: beg # 181| !get_32_le (&at, end, &flags) || # 182| !skip_n (&at, end, 16) || /* guid */ # 183|-> !parse_string (beg, end, &at, &unused) || /* forest */ # 184| !parse_string (beg, end, &at, &disco->domain_name) || # 185| !parse_string (beg, end, &at, &disco->netlogon_server_name) || Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-dn-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-ini-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-ini-config.c:221:19: warning[unix.Malloc]: Use of memory after it is freed # 219| return; # 220| # 221|-> self->filename = g_strdup (filename); # 222| # 223| /* Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-invocation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-kerberos-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-kerberos.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-ldap.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-login-name.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-packages.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-packages.c:222:12: warning[deadcode.DeadStores]: Although the value stored to 'string' is used in the enclosing expression, the value is never actually read from 'string' # 220| # 221| g_debug ("packages: call %s %s", transaction->method, # 222|-> string = g_variant_print (transaction->parameters, FALSE)); # 223| g_dbus_connection_call (transaction->connection, # 224| "org.freedesktop.PackageKit", Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-provider.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-457): realmd-0.17.1-build/realmd-0.17.1/service/realm-provider.c: scope_hint: In function ‘on_discover_complete’ realmd-0.17.1-build/realmd-0.17.1/service/realm-provider.c:183:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘relevance’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here. /usr/include/glib-2.0/glib-object.h:24: included_from: Included from here. /usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here. realmd-0.17.1-build/realmd-0.17.1/service/realm-daemon.h:20: included_from: Included from here. realmd-0.17.1-build/realmd-0.17.1/service/realm-provider.c:17: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ realmd-0.17.1-build/realmd-0.17.1/service/realm-provider.c:494:9: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib.h:64: included_from: Included from here. realmd-0.17.1-build/realmd-0.17.1/service/realm-provider.c:494:9: note: in expansion of macro ‘g_return_val_if_fail’ # 181| # 182| realms = realm_provider_discover_finish (method->self, result, &relevance, &error); # 183|-> return_discover_result (method, realms, relevance, error); # 184| } # 185| Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-samba-enroll.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-samba-winbind.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd-ad.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd-ipa.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd.c: scope_hint: In function ‘realm_sssd_build_default_home’ realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd.c:591:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. /usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here. /usr/include/glib-2.0/glib-object.h:24: included_from: Included from here. /usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here. realmd-0.17.1-build/realmd-0.17.1/service/realm-command.h:18: included_from: Included from here. realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd.c:17: included_from: Included from here. realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd.c:590:16: note: in expansion of macro ‘g_strdup’ realmd-0.17.1-build/realmd-0.17.1/service/realm-sssd.c: scope_hint: In function ‘realm_sssd_build_default_home’ <built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null # 589| /* Change from our format to the sssd format place-holders */ # 590| home = g_strdup (value); # 591|-> pos = strstr (home, "%U"); # 592| if (pos) # 593| pos[1] = 'u'; Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/service/safe-format-string.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/tools/realm-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): realmd-0.17.1-build/realmd-0.17.1/tools/realm-client.c: scope_hint: In function ‘prompt_stdin’ realmd-0.17.1-build/realmd-0.17.1/tools/realm-client.c:802:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘password’ # 800| password = malloc (pass_max); # 801| if (!fgets (password, pass_max, stdin)) # 802|-> password[0] = '\0'; # 803| # 804| g_printf ("\n"); Error: GCC_ANALYZER_WARNING (CWE-688): realmd-0.17.1-build/realmd-0.17.1/tools/realm-client.c:806:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘password’ where non-null expected <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 804| g_printf ("\n"); # 805| # 806|-> len = strlen (password); # 807| if (len > 0 && password[len - 1] == '\n') # 808| password[len - 1] = '\0'; Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/tools/realm-discover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/tools/realm-join.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/tools/realm-leave.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: realmd-0.17.1-build/realmd-0.17.1/tools/realm-logins.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.