libXcursor-1.2.3-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
libXcursor-1.2.3-build/libXcursor-1.2.3/src/cursor.c: scope_hint: In function 'XcursorCursorsDestroy'
libXcursor-1.2.3-build/libXcursor-1.2.3/src/cursor.c:34:23: warning[-Wanalyzer-malloc-leak]: leak of 'XcursorCursorsCreate(dpy, *images.nimage)'
#   32|   
#   33|       cursors = malloc (sizeof (XcursorCursors) +
#   34|-> 		      (size_t) size * sizeof (Cursor));
#   35|       if (!cursors)
#   36|   	return NULL;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
libXcursor-1.2.3-build/libXcursor-1.2.3/src/cursor.c: scope_hint: In function '_XcursorFloydSteinberg'
libXcursor-1.2.3-build/libXcursor-1.2.3/src/cursor.c:453:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*iP'
#  451|   	{
#  452|   	    aR = *aP;
#  453|-> 	    iR = *iP;
#  454|   	    if (aR >= 0x80)
#  455|   	    {

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-88.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelibXcursor-1.2.3-1.fc42
store-results-to/tmp/tmp41uepop6/libXcursor-1.2.3-1.fc42.tar.xz
time-created2024-11-13 01:11:51
time-finished2024-11-13 01:13:10
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp41uepop6/libXcursor-1.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp41uepop6/libXcursor-1.2.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9