Error: CPPCHECK_WARNING (CWE-476): [#def1] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1249: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1247| if (transform == PFFFT_COMPLEX) { assert((N%(SIMD_SZ*SIMD_SZ))==0 && N>0); } # 1248| //assert((N % 32) == 0); # 1249|-> s->N = N; # 1250| s->transform = transform; # 1251| /* nb of complex simd vectors */ Error: CPPCHECK_WARNING (CWE-476): [#def2] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1250: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1248| //assert((N % 32) == 0); # 1249| s->N = N; # 1250|-> s->transform = transform; # 1251| /* nb of complex simd vectors */ # 1252| s->Ncvec = (transform == PFFFT_REAL ? N/2 : N)/SIMD_SZ; Error: CPPCHECK_WARNING (CWE-476): [#def3] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1252: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1250| s->transform = transform; # 1251| /* nb of complex simd vectors */ # 1252|-> s->Ncvec = (transform == PFFFT_REAL ? N/2 : N)/SIMD_SZ; # 1253| s->data = (v4sf*)pffft_aligned_malloc(2*s->Ncvec * sizeof(v4sf)); # 1254| s->e = (float*)s->data; Error: CPPCHECK_WARNING (CWE-476): [#def4] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1253: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1251| /* nb of complex simd vectors */ # 1252| s->Ncvec = (transform == PFFFT_REAL ? N/2 : N)/SIMD_SZ; # 1253|-> s->data = (v4sf*)pffft_aligned_malloc(2*s->Ncvec * sizeof(v4sf)); # 1254| s->e = (float*)s->data; # 1255| s->twiddle = (float*)(s->data + (2*s->Ncvec*(SIMD_SZ-1))/SIMD_SZ); Error: CPPCHECK_WARNING (CWE-476): [#def5] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1254: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1252| s->Ncvec = (transform == PFFFT_REAL ? N/2 : N)/SIMD_SZ; # 1253| s->data = (v4sf*)pffft_aligned_malloc(2*s->Ncvec * sizeof(v4sf)); # 1254|-> s->e = (float*)s->data; # 1255| s->twiddle = (float*)(s->data + (2*s->Ncvec*(SIMD_SZ-1))/SIMD_SZ); # 1256| Error: CPPCHECK_WARNING (CWE-476): [#def6] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1255: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1253| s->data = (v4sf*)pffft_aligned_malloc(2*s->Ncvec * sizeof(v4sf)); # 1254| s->e = (float*)s->data; # 1255|-> s->twiddle = (float*)(s->data + (2*s->Ncvec*(SIMD_SZ-1))/SIMD_SZ); # 1256| # 1257| for (k=0; k < s->Ncvec; ++k) { Error: CPPCHECK_WARNING (CWE-476): [#def7] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1257: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1255| s->twiddle = (float*)(s->data + (2*s->Ncvec*(SIMD_SZ-1))/SIMD_SZ); # 1256| # 1257|-> for (k=0; k < s->Ncvec; ++k) { # 1258| int i = k/SIMD_SZ; # 1259| int j = k%SIMD_SZ; Error: CPPCHECK_WARNING (CWE-476): [#def8] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1262: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1260| for (m=0; m < SIMD_SZ-1; ++m) { # 1261| float A = -2*M_PI*(m+1)*k / N; # 1262|-> s->e[(2*(i*3 + m) + 0) * SIMD_SZ + j] = cos(A); # 1263| s->e[(2*(i*3 + m) + 1) * SIMD_SZ + j] = sin(A); # 1264| } Error: CPPCHECK_WARNING (CWE-476): [#def9] qtmultimedia-everywhere-src-6.10.1/src/3rdparty/pffft/pffft.c:1263: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s # 1261| float A = -2*M_PI*(m+1)*k / N; # 1262| s->e[(2*(i*3 + m) + 0) * SIMD_SZ + j] = cos(A); # 1263|-> s->e[(2*(i*3 + m) + 1) * SIMD_SZ + j] = sin(A); # 1264| } # 1265| }
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-13.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | qt6-qtmultimedia-6.10.1-1.fc44 |
| store-results-to | /tmp/tmpea6_x77j/qt6-qtmultimedia-6.10.1-1.fc44.tar.xz |
| time-created | 2026-01-08 21:28:32 |
| time-finished | 2026-01-08 21:38:27 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpea6_x77j/qt6-qtmultimedia-6.10.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpea6_x77j/qt6-qtmultimedia-6.10.1-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |