Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
crun-1.19.1-build/crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'safe_readlinkat'
crun-1.19.1-build/crun-HEAD/src/libcrun/utils.h:80:21: warning[-Wanalyzer-malloc-leak]: leak of 'xrealloc(tmp_buf, (long unsigned int)(buf_size + 1))'
crun-1.19.1-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
crun-1.19.1-build/crun-HEAD/src/libcrun/utils.h:56:40: note: in definition of macro 'UNLIKELY'
#   78|   {
#   79|     void *res = realloc (ptr, size);
#   80|->   if (UNLIKELY (res == NULL))
#   81|       OOM ();
#   82|     return res;

Scan Properties

analyzer-version-clippy1.84.1
analyzer-version-cppcheck2.16.2
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.84.1
diffbase-analyzer-version-cppcheck2.16.2
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-244.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.19.1-1.20250201140300579945.pr1655.47.gb548479c
diffbase-store-results-to/tmp/tmp2bbl87vu/crun-1.19.1-1.20250201140300579945.pr1655.47.gb548479c.tar.xz
diffbase-time-created2025-02-01 14:18:44
diffbase-time-finished2025-02-01 14:23:16
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp2bbl87vu/crun-1.19.1-1.20250201140300579945.pr1655.47.gb548479c.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmp2bbl87vu/crun-1.19.1-1.20250201140300579945.pr1655.47.gb548479c.src.rpm'
diffbase-tool-versioncsmock-3.8.0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-244.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namecrun-1.19.1-1.20250131080139760723.main.46.ga029af28
store-results-to/tmp/tmpxasy0new/crun-1.19.1-1.20250131080139760723.main.46.ga029af28.tar.xz
time-created2025-02-01 14:12:56
time-finished2025-02-01 14:18:16
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpxasy0new/crun-1.19.1-1.20250131080139760723.main.46.ga029af28.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpxasy0new/crun-1.19.1-1.20250131080139760723.main.46.ga029af28.src.rpm'
tool-versioncsmock-3.8.0-1.el9