shaderc-2025.1-1.fc43

List of Findings

Error: CPPCHECK_WARNING (CWE-401): [#def1]
shaderc-0968768c61d4eb7dd861114412e904bb3d59b7b6/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-0968768c61d4eb7dd861114412e904bb3d59b7b6/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.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-129.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameshaderc-2025.1-1.fc43
store-results-to/tmp/tmpz12d3t_y/shaderc-2025.1-1.fc43.tar.xz
time-created2025-04-25 15:41:35
time-finished2025-04-25 15:42:52
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpz12d3t_y/shaderc-2025.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz12d3t_y/shaderc-2025.1-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9