Error: GCC_ANALYZER_WARNING (CWE-457): [#def1] libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/jpeglib.h:1208: included_from: Included from here. libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:40: included_from: Included from here. libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c: scope_hint: In function ‘tj3DecompressToYUVPlanes8’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2174:48: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘crow[i]’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/jpegint.h:447:33: note: in definition of macro ‘MIN’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2043:3: note: in expansion of macro ‘GET_DINSTANCE’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2043:3: note: in expansion of macro ‘GET_DINSTANCE’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:42: included_from: Included from here. libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2114:31: note: in expansion of macro ‘MALLOC’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/jpegint.h:447:33: note: in definition of macro ‘MIN’ # 2172| # 2173| for (i = 0; i < dinfo->num_components; i++) { # 2174|-> for (j = 0; j < MIN(th[i], ph[i] - crow[i]); j++) { # 2175| memcpy(outbuf[i][crow[i] + j], tmpbuf[i][j], pw[i]); # 2176| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def2] libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c: scope_hint: In function ‘tj3DecodeYUVPlanes8’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2535:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pw[i]’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2430:3: note: in expansion of macro ‘GET_DINSTANCE’ libjpeg-turbo-3.0.4-build/libjpeg-turbo-3.0.4/turbojpeg.c:2430:3: note: in expansion of macro ‘GET_DINSTANCE’ # 2533| jcopy_sample_rows(inbuf[i], # 2534| row * compptr->v_samp_factor / dinfo->max_v_samp_factor, tmpbuf[i], 0, # 2535|-> compptr->v_samp_factor, pw[i]); # 2536| (dinfo->upsample->upsample) (dinfo, tmpbuf, &inrow, # 2537| dinfo->max_v_samp_factor, &row_pointer[row],
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.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-232.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | libjpeg-turbo-3.0.2-3.fc41 |
diffbase-store-results-to | /tmp/tmplxgdw6bp/libjpeg-turbo-3.0.2-3.fc41.tar.xz |
diffbase-time-created | 2024-11-13 01:26:22 |
diffbase-time-finished | 2024-11-13 01:29:22 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmplxgdw6bp/libjpeg-turbo-3.0.2-3.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmplxgdw6bp/libjpeg-turbo-3.0.2-3.fc41.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-232.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | libjpeg-turbo-3.0.4-1.fc42 |
store-results-to | /tmp/tmpkic1_b5j/libjpeg-turbo-3.0.4-1.fc42.tar.xz |
time-created | 2024-11-13 01:29:47 |
time-finished | 2024-11-13 01:32:28 |
title | Newly introduced findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpkic1_b5j/libjpeg-turbo-3.0.4-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpkic1_b5j/libjpeg-turbo-3.0.4-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |