Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:991:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)((long int)y * width + (long int)x) * 4’
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:966:1: enter_function: entry to ‘ply_pixel_buffer_resize’
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:977:18: call_function: calling ‘ply_pixel_buffer_new’ from ‘ply_pixel_buffer_resize’
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:977:18: return_function: returning to ‘ply_pixel_buffer_resize’ from ‘ply_pixel_buffer_new’
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:987:21: branch_true: following ‘true’ branch...
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:988:25: branch_true: ...to here
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:989:29: branch_true: following ‘true’ branch...
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:990:33: branch_true: ...to here
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:992:33: call_function: calling ‘ply_pixel_buffer_interpolate’ from ‘ply_pixel_buffer_resize’
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:992:33: return_function: returning to ‘ply_pixel_buffer_resize’ from ‘ply_pixel_buffer_interpolate’
plymouth-24.004.60/redhat-linux-build/../src/libply-splash-core/ply-pixel-buffer.c:991:25: danger: ‘ply_pixel_buffer_get_argb32_data(ply_pixel_buffer_new((long unsigned int)width, (long unsigned int)height)) + (long unsigned int)((long int)y * width + (long int)x) * 4’ could be NULL: unchecked value from [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
#  989|                   for (x = 0; x < width; x++) {
#  990|                           old_x = x * scale_x;
#  991|->                         bytes[x + y * width] =
#  992|                                   ply_pixel_buffer_interpolate (old_buffer, old_x, old_y);
#  993|                   }

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
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
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-220.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameplymouth-24.004.60-18.fc43
diffbase-store-results-to/tmp/tmp640r7dt0/plymouth-24.004.60-18.fc43.tar.xz
diffbase-time-created2025-04-25 15:10:06
diffbase-time-finished2025-04-25 15:12:06
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp640r7dt0/plymouth-24.004.60-18.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp640r7dt0/plymouth-24.004.60-18.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-220.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-nameplymouth-24.004.60-18.fc42
store-results-to/tmp/tmpeap_81vi/plymouth-24.004.60-18.fc42.tar.xz
time-created2025-04-25 15:07:01
time-finished2025-04-25 15:09:28
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpeap_81vi/plymouth-24.004.60-18.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpeap_81vi/plymouth-24.004.60-18.fc42.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9