shaderc-2024.3-1.fc42

List of Findings

Error: CPPCHECK_WARNING (CWE-401): [#def1]
shaderc-2024.3-build/shaderc-ff84893dd52d28f0b1737d2635733d952013bd9c/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-2024.3-build/shaderc-ff84893dd52d28f0b1737d2635733d952013bd9c/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.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-45.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameshaderc-2024.3-1.fc42
store-results-to/tmp/tmpknin4zek/shaderc-2024.3-1.fc42.tar.xz
time-created2024-11-13 03:12:10
time-finished2024-11-13 03:13:25
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpknin4zek/shaderc-2024.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpknin4zek/shaderc-2024.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9