Task #681 - kf6-kwallet-6.3.0-1.fc41/scan-results.err

back to task #681
download
Error: CLANG_WARNING:
kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc:105:9: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller
#  103|           }
#  104|   
#  105|->         return rc;
#  106|       }
#  107|       return -1;

Error: COMPILER_WARNING (CWE-457):
kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc: scope_hint: In member function ‘CipherBlockChain::encrypt(void*, int)’
kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc:105:16: warning[-Wmaybe-uninitialized]: ‘rc’ may be used uninitialized
#  105 |         return rc;
#      |                ^~
kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc:77:13: note: ‘rc’ was declared here
#   77 |         int rc;
#      |             ^~
#  103|           }
#  104|   
#  105|->         return rc;
#  106|       }
#  107|       return -1;

Error: CLANG_WARNING:
kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/main.cpp:88:13: warning[unix.Malloc]: Potential memory leak
#   86|       int chop = 0;
#   87|       FILE *s3 = fdopen(dup(s2), "r");
#   88|->     while (!feof(s3)) {
#   89|           if (fgets(str, BSIZE, s3)) {
#   90|               chop = strlen(str) - 1;