Task #861 - libtool-2.4.7-11.fc41/scan-results.err
back to task #861download
Error: CPPCHECK_WARNING: libtool-2.4.7-build/libtool-2.4.7/libltdl/lt_dlloader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c: scope_hint: In function 'foreach_dirinpath' libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:718:9: warning[-Wanalyzer-null-argument]: use of NULL 'filename' where non-null expected libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:58: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:32: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:684:27: note: in expansion of macro 'LT_STRLEN' libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:43: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:52: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__alloc.h:39:51: note: in definition of macro 'MALLOC' libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:594:32: note: in expansion of macro 'LT_STRLEN' libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__glibc.h:65: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/libltdl/lt__private.h:55: included_from: Included from here. libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c: scope_hint: In function 'foreach_dirinpath' libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:706:25: note: in expansion of macro 'LT_STRLEN' <built-in>: note: argument 1 of '__builtin_strcpy' must be non-null # 716| # 717| assert (filenamesize > lendir); # 718|-> strcpy (filename, dir_name); # 719| # 720| if (base_name && *base_name) Error: CPPCHECK_WARNING (CWE-562): libtool-2.4.7-build/libtool-2.4.7/libltdl/ltdl.c:2082: error[returnDanglingLifetime]: Returning pointer to local variable 'lsym' that will be invalid when returning. # 2080| FREE (sym); # 2081| } # 2082|-> return address; # 2083| } # 2084| LT__SETERRORSTR (saved_error);