xmessage-1.0.7-1.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
xmessage-1.0.7-build/xmessage-1.0.7/makeform.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
xmessage-1.0.7-build/xmessage-1.0.7/makeform.c:194:5: warning[unix.Malloc]: Potential leak of memory pointed to by 'copy'
#  192|        * now, strip any quoted characters
#  193|        */
#  194|->     unquote_pairs (br, npairs);
#  195|       *brptr = br;
#  196|       return npairs;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
xmessage-1.0.7-build/xmessage-1.0.7/makeform.c: scope_hint: In function ‘make_queryform’
xmessage-1.0.7-build/xmessage-1.0.7/makeform.c:340:12: warning[-Wanalyzer-malloc-leak]: leak of ‘br’
xmessage-1.0.7-build/xmessage-1.0.7/makeform.c:33: included_from: Included from here.
#  338|   	}
#  339|       }
#  340|->     return form;
#  341|   }

Error: CLANG_WARNING: [#def4]
xmessage-1.0.7-build/xmessage-1.0.7/makeform.c:340:12: warning[unix.Malloc]: Potential leak of memory pointed to by 'br'
#  338|   	}
#  339|       }
#  340|->     return form;
#  341|   }

Error: CPPCHECK_WARNING: [#def5]
xmessage-1.0.7-build/xmessage-1.0.7/xmessage.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-88.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namexmessage-1.0.7-1.fc41
store-results-to/tmp/tmpf3hcb2m6/xmessage-1.0.7-1.fc41.tar.xz
time-created2024-07-03 18:27:22
time-finished2024-07-03 18:28:20
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpf3hcb2m6/xmessage-1.0.7-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpf3hcb2m6/xmessage-1.0.7-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9