Error: COMPILER_WARNING (CWE-704): [#def1] image-builder-79.0.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c: scope_hint: In function ‘sqlite3ShadowTableName’ image-builder-79.0.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c:124684:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type #124682| char *zTail; /* Pointer to the last "_" in zName */ #124683| Table *pTab; /* Table that zName is a shadow of */ #124684|-> zTail = strrchr(zName, '_'); #124685| if( zTail==0 ) return 0; #124686| *zTail = 0; Error: CPPCHECK_WARNING (CWE-476): [#def2] image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go:77: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c # 75| CK_C_GetFunctionList list; # 76| struct ctx *c = calloc(1, sizeof(struct ctx)); # 77|-> c->handle = dlopen(module, RTLD_LAZY); # 78| if (c->handle == NULL) { # 79| free(c); Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go: scope_hint: In function 'New' image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go:77:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'c' # 75| CK_C_GetFunctionList list; # 76| struct ctx *c = calloc(1, sizeof(struct ctx)); # 77|-> c->handle = dlopen(module, RTLD_LAZY); # 78| if (c->handle == NULL) { # 79| free(c); Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go: scope_hint: In function ‘New’ image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go:77:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘c’ # 75| CK_C_GetFunctionList list; # 76| struct ctx *c = calloc(1, sizeof(struct ctx)); # 77|-> c->handle = dlopen(module, RTLD_LAZY); # 78| if (c->handle == NULL) { # 79| free(c); Error: CPPCHECK_WARNING (CWE-476): [#def5] image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go:78: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c # 76| struct ctx *c = calloc(1, sizeof(struct ctx)); # 77| c->handle = dlopen(module, RTLD_LAZY); # 78|-> if (c->handle == NULL) { # 79| free(c); # 80| return NULL; Error: CPPCHECK_WARNING (CWE-476): [#def6] image-builder-79.0.0/vendor/github.com/miekg/pkcs11/pkcs11.go:82: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c # 80| return NULL; # 81| } # 82|-> list = (CK_C_GetFunctionList) dlsym(c->handle, "C_GetFunctionList"); # 83| if (list == NULL) { # 84| free(c);
| 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-124.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.20260813.215201.gc98a3c4.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | image-builder-79.0.0-1.20260821115732102634.pr2607.24.ge7e82a8ef |
| diffbase-store-results-to | /tmp/tmp8io2urf4/image-builder-79.0.0-1.20260821115732102634.pr2607.24.ge7e82a8ef.tar.xz |
| diffbase-time-created | 2026-08-21 12:31:29 |
| diffbase-time-finished | 2026-08-21 12:35:11 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp8io2urf4/image-builder-79.0.0-1.20260821115732102634.pr2607.24.ge7e82a8ef.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8io2urf4/image-builder-79.0.0-1.20260821115732102634.pr2607.24.ge7e82a8ef.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260810.142351.gef180f1-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-124.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.20260813.215201.gc98a3c4.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | image-builder-79.0.0-1.20260821002707196968.main.3.g9a190ba1c |
| store-results-to | /tmp/tmpvdetwbfd/image-builder-79.0.0-1.20260821002707196968.main.3.g9a190ba1c.tar.xz |
| time-created | 2026-08-21 12:24:22 |
| time-finished | 2026-08-21 12:29:48 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpvdetwbfd/image-builder-79.0.0-1.20260821002707196968.main.3.g9a190ba1c.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpvdetwbfd/image-builder-79.0.0-1.20260821002707196968.main.3.g9a190ba1c.src.rpm' |
| tool-version | csmock-3.8.7.20260810.142351.gef180f1-1.el9 |