Error: COMPILER_WARNING (CWE-563): [#def1] Pillow-12.3.0/src/_imaging.c: scope_hint: In function ‘_new_arrow’ Pillow-12.3.0/src/_imaging.c:331:15: warning[-Wunused-variable]: unused variable ‘ret’ # 331 | PyObject *ret; # | ^~~ # 329| int xsize, ysize; # 330| PyObject *schema_capsule, *array_capsule; # 331|-> PyObject *ret; # 332| # 333| if (!PyArg_ParseTuple( Error: GCC_ANALYZER_WARNING (CWE-457): [#def2] Pillow-12.3.0/src/libImaging/Resample.c:254:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’ Pillow-12.3.0/src/libImaging/Resample.c:711:1: enter_function: entry to ‘ImagingResample’ Pillow-12.3.0/src/libImaging/Resample.c:716:8: branch_false: following ‘false’ branch... Pillow-12.3.0/src/libImaging/Resample.c:720:9: branch_false: ...to here Pillow-12.3.0/src/libImaging/Resample.c:720:8: branch_true: following ‘true’ branch... Pillow-12.3.0/src/libImaging/Resample.c:721:13: branch_true: ...to here Pillow-12.3.0/src/libImaging/Resample.c:721:12: branch_true: following ‘true’ branch... Pillow-12.3.0/src/libImaging/Resample.c:747:5: branch_true: ...to here Pillow-12.3.0/src/libImaging/Resample.c:767:12: call_function: calling ‘ImagingResampleInner’ from ‘ImagingResample’ # 252| if (ww != 0.0) { # 253| for (x = 0; x < xmax; x++) { # 254|-> k[x] /= ww; # 255| } # 256| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def3] Pillow-12.3.0/src/libImaging/Resample.c:802:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*bounds_vert’ Pillow-12.3.0/src/libImaging/Resample.c:711:1: enter_function: entry to ‘ImagingResample’ Pillow-12.3.0/src/libImaging/Resample.c:716:8: branch_false: following ‘false’ branch... Pillow-12.3.0/src/libImaging/Resample.c:720:9: branch_false: ...to here Pillow-12.3.0/src/libImaging/Resample.c:720:8: branch_false: following ‘false’ branch... Pillow-12.3.0/src/libImaging/Resample.c:727:16: branch_false: ...to here Pillow-12.3.0/src/libImaging/Resample.c:727:15: branch_false: following ‘false’ branch... Pillow-12.3.0/src/libImaging/Resample.c:731:9: branch_false: ...to here Pillow-12.3.0/src/libImaging/Resample.c:767:12: call_function: calling ‘ImagingResampleInner’ from ‘ImagingResample’ # 800| # 801| // First used row in the source image # 802|-> ybox_first = bounds_vert[0]; # 803| // Last used row in the source image # 804| ybox_last = bounds_vert[ysize * 2 - 2] + bounds_vert[ysize * 2 - 1]; Error: GCC_ANALYZER_WARNING (CWE-401): [#def4] Pillow-12.3.0/src/libImaging/Storage.c:399:1: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’ Pillow-12.3.0/src/libImaging/Storage.c:583:1: enter_function: entry to ‘ImagingNewInternal’ Pillow-12.3.0/src/libImaging/Storage.c:591:8: branch_false: following ‘false’ branch... Pillow-12.3.0/src/libImaging/Storage.c:596:19: branch_false: ...to here Pillow-12.3.0/src/libImaging/Storage.c:596:19: call_function: calling ‘ImagingAllocateArray’ from ‘ImagingNewInternal’ # 397| arena->stats_freed_blocks += 1; # 398| } # 399|-> } # 400| # 401| static void
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-227.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | python-pillow-12.1.0-2.fc44 |
| diffbase-store-results-to | /tmp/tmp3bawgnlx/python-pillow-12.1.0-2.fc44.tar.xz |
| diffbase-time-created | 2026-08-03 20:00:44 |
| diffbase-time-finished | 2026-08-03 20:04:59 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp3bawgnlx/python-pillow-12.1.0-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp3bawgnlx/python-pillow-12.1.0-2.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-227.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | python-pillow-12.3.0-3.fc45 |
| store-results-to | /tmp/tmpemvfwr16/python-pillow-12.3.0-3.fc45.tar.xz |
| time-created | 2026-08-03 20:05:14 |
| time-finished | 2026-08-03 20:08:34 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpemvfwr16/python-pillow-12.3.0-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpemvfwr16/python-pillow-12.3.0-3.fc45.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |