shaderc-2025.4-1.fc44

List of Findings

Error: CPPCHECK_WARNING (CWE-401): [#def1]
shaderc-73743588fe9c39f2f1c780a087d94afac691a189/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-73743588fe9c39f2f1c780a087d94afac691a189/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.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
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-141.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-x86_64
project-nameshaderc-2025.4-1.fc44
store-results-to/tmp/tmpjc_hsskn/shaderc-2025.4-1.fc44.tar.xz
time-created2026-01-08 21:42:47
time-finished2026-01-08 21:44:24
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpjc_hsskn/shaderc-2025.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpjc_hsskn/shaderc-2025.4-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9