Error: CPPCHECK_WARNING: [#def1] libXcursor-1.2.2-build/libXcursor-1.2.2/src/cursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-401): [#def2] libXcursor-1.2.2-build/libXcursor-1.2.2/src/cursor.c: scope_hint: In function 'XcursorCursorsDestroy' libXcursor-1.2.2-build/libXcursor-1.2.2/src/cursor.c:33:23: warning[-Wanalyzer-malloc-leak]: leak of 'XcursorCursorsCreate(dpy, *images.nimage)' # 31| # 32| cursors = malloc (sizeof (XcursorCursors) + # 33|-> (size_t) size * sizeof (Cursor)); # 34| if (!cursors) # 35| return NULL; Error: GCC_ANALYZER_WARNING (CWE-457): [#def3] libXcursor-1.2.2-build/libXcursor-1.2.2/src/cursor.c: scope_hint: In function '_XcursorFloydSteinberg' libXcursor-1.2.2-build/libXcursor-1.2.2/src/cursor.c:452:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*iP' # 450| { # 451| aR = *aP; # 452|-> iR = *iP; # 453| if (aR >= 0x80) # 454| { Error: CPPCHECK_WARNING: [#def4] libXcursor-1.2.2-build/libXcursor-1.2.2/src/display.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def5] libXcursor-1.2.2-build/libXcursor-1.2.2/src/file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: [#def6] libXcursor-1.2.2-build/libXcursor-1.2.2/src/file.c:304:7: warning[core.CallAndMessage]: 2nd function call argument is an uninitialized value # 302| for (toc = 0; toc < fileHeader->ntoc; toc++) # 303| { # 304|-> if (!_XcursorWriteUInt (file, fileHeader->tocs[toc].type)) # 305| return XcursorFalse; # 306| if (!_XcursorWriteUInt (file, fileHeader->tocs[toc].subtype)) Error: CPPCHECK_WARNING: [#def7] libXcursor-1.2.2-build/libXcursor-1.2.2/src/library.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def8] libXcursor-1.2.2-build/libXcursor-1.2.2/src/xlib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-190.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libXcursor-1.2.2-1.fc41 |
store-results-to | /tmp/tmp_b6jeuad/libXcursor-1.2.2-1.fc41.tar.xz |
time-created | 2024-07-03 14:33:32 |
time-finished | 2024-07-03 14:34:34 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp_b6jeuad/libXcursor-1.2.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp_b6jeuad/libXcursor-1.2.2-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |