shaderc-2025.3-2.fc44

List of Findings

Error: CPPCHECK_WARNING (CWE-401): [#def1]
shaderc-8c2e602ce440b7739c95ff3d69cecb1adf6becda/glslc/src/file_includer.cc:49: error[memleak]: Memory leak: new_file_info
#   47|     FileInfo* new_file_info = new FileInfo{full_path, {}};
#   48|     if (!shaderc_util::ReadFile(full_path, &(new_file_info->contents))) {
#   49|->     return MakeErrorIncludeResult("Cannot read file");
#   50|     }
#   51|   

Error: CPPCHECK_WARNING (CWE-401): [#def2]
shaderc-8c2e602ce440b7739c95ff3d69cecb1adf6becda/glslc/src/file_includer.cc:54: error[memleak]: Memory leak: new_file_info
#   52|     included_files_.insert(full_path);
#   53|   
#   54|->   return new shaderc_include_result{
#   55|         new_file_info->full_path.data(), new_file_info->full_path.length(),
#   56|         new_file_info->contents.data(), new_file_info->contents.size(),

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-143.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameshaderc-2025.3-2.fc44
store-results-to/tmp/tmpu67fnf5a/shaderc-2025.3-2.fc44.tar.xz
time-created2025-10-28 20:30:09
time-finished2025-10-28 20:31:42
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpu67fnf5a/shaderc-2025.3-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpu67fnf5a/shaderc-2025.3-2.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9