Task #1270 - supermin-5.3.4-4.fc41/scan-results.err
back to task #1270download
Error: CPPCHECK_WARNING: supermin-5.3.4-build/supermin-5.3.4/init/init.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: supermin-5.3.4-build/supermin-5.3.4/init/init.c:117:15: warning[deadcode.DeadStores]: Value stored to 'mount_options' during its initialization is never read # 115| uint64_t delay_ns; # 116| int major, minor; # 117|-> const char *mount_options = ""; # 118| # 119| #define NANOSLEEP(ns) do { \ Error: CPPCHECK_WARNING: supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-775): supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c: scope_hint: In function ‘ext2_write_host_file’ supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c:510:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(src, 0)’ # 508| # 509| err = ext2fs_file_open2 (fs, ino, NULL, EXT2_FILE_WRITE, &file); # 510|-> if (err != 0) # 511| ext2_error_to_exception ("ext2fs_file_open2", err, filename); # 512| Error: GCC_ANALYZER_WARNING (CWE-775): supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c:514:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(src, 0)’ # 512| # 513| while ((r = read (fd, buf, sizeof buf)) > 0) { # 514|-> err = ext2fs_file_write (file, buf, r, &written); # 515| if (err != 0) # 516| ext2_error_to_exception ("ext2fs_file_open2", err, filename); Error: GCC_ANALYZER_WARNING (CWE-775): supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c:522:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(src, 0)’ # 520| } # 521| # 522|-> if (r == -1) # 523| unix_error (errno, (char *) "read", caml_copy_string (filename)); # 524| Error: GCC_ANALYZER_WARNING (CWE-688): supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c: scope_hint: In function ‘ext2_copy_file’ supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c:717:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dirname’ where non-null expected supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c:33: included_from: Included from here. /usr/include/features.h:511: included_from: Included from here. /usr/include/bits/libc-header-start.h:33: included_from: Included from here. /usr/include/stdio.h:28: included_from: Included from here. supermin-5.3.4-build/supermin-5.3.4/src/ext2fs-c.c:21: included_from: Included from here. /usr/include/sys/stat.h:327:12: note: argument 1 of ‘lstat’ must be non-null # 715| */ # 716| struct stat stat1, stat2; # 717|-> if (lstat (dirname, &stat1) == 0 && S_ISLNK (stat1.st_mode) && # 718| stat (dirname, &stat2) == 0 && S_ISDIR (stat2.st_mode)) { # 719| char cmd[strlen (dirname) + 100]; Error: CPPCHECK_WARNING: supermin-5.3.4-build/supermin-5.3.4/src/librpm-c.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.