Newly introduced findings

List of Findings

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],

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
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-232.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namelibjpeg-turbo-3.0.2-3.fc41
diffbase-store-results-to/tmp/tmplxgdw6bp/libjpeg-turbo-3.0.2-3.fc41.tar.xz
diffbase-time-created2024-11-13 01:26:22
diffbase-time-finished2024-11-13 01:29:22
diffbase-toolcsmock
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-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-232.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelibjpeg-turbo-3.0.4-1.fc42
store-results-to/tmp/tmpkic1_b5j/libjpeg-turbo-3.0.4-1.fc42.tar.xz
time-created2024-11-13 01:29:47
time-finished2024-11-13 01:32:28
titleNewly introduced findings
toolcsmock
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-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9