Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/idtools/not-int-const:4:65: error[error]: invalid operands to binary * (have 'struct subid_range (*)(struct subid_range *, int)' and 'int')

Error: COMPILER_WARNING: [#def2] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/idtools/not-int-const:8:76: error[error]: invalid operands to binary * (have 'int (*)(const char *, struct subid_range **)' and 'int')

Error: COMPILER_WARNING: [#def3] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/idtools/not-int-const:9:76: error[error]: invalid operands to binary * (have 'int (*)(const char *, struct subid_range **)' and 'int')

Error: COMPILER_WARNING: [#def4] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/idtools/not-num-const:4:67: error[error]: incompatible types when initializing type 'double' using type 'struct subid_range (*)(struct subid_range *, int)'

Error: COMPILER_WARNING: [#def5] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/idtools/not-num-const:8:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(const char *, struct subid_range **)'

Error: COMPILER_WARNING: [#def6] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/idtools/not-num-const:9:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(const char *, struct subid_range **)'

Error: COMPILER_WARNING: [#def7] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/unshare/not-int-const:4:62: error[error]: invalid operands to binary * (have 'char * (*)(const char *)' and 'int')

Error: COMPILER_WARNING: [#def8] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/unshare/not-int-const:5:62: error[error]: invalid operands to binary * (have 'char * (*)(const char *)' and 'int')

Error: COMPILER_WARNING: [#def9] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/unshare/not-num-const:4:67: error[error]: incompatible types when initializing type 'double' using type 'char * (*)(const char *)'

Error: COMPILER_WARNING: [#def10] [important]
skopeo-1.18.0/vendor/github.com/containers/storage/pkg/unshare/not-num-const:5:67: error[error]: incompatible types when initializing type 'double' using type 'char * (*)(const char *)'

Error: COMPILER_WARNING: [#def11] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/completed:1:16: error[error]: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?

Error: COMPILER_WARNING: [#def12] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/not-int-const:20:77: error[error]: invalid operands to binary * (have 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, CK_ULONG)' {{aka 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def13] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/not-int-const:21:77: error[error]: invalid operands to binary * (have 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, CK_ULONG)' {{aka 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def14] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/not-int-const:22:70: error[error]: invalid operands to binary * (have 'void (*)(CK_RSA_PKCS_OAEP_PARAMS *, void *, CK_ULONG)' {{aka 'void (*)(CK_RSA_PKCS_OAEP_PARAMS *, void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def15] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/not-num-const:20:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, CK_ULONG)' {{aka 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def16] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/not-num-const:21:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, CK_ULONG)' {{aka 'void (*)(CK_ECDH1_DERIVE_PARAMS *, void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def17] [important]
skopeo-1.18.0/vendor/github.com/miekg/pkcs11/not-num-const:22:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(CK_RSA_PKCS_OAEP_PARAMS *, void *, CK_ULONG)' {{aka 'void (*)(CK_RSA_PKCS_OAEP_PARAMS *, void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def18] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/completed:1:16: error[error]: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?

Error: COMPILER_WARNING: [#def19] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:1:63: error[error]: invalid operands to binary * (have 'char * (*)(_GoString_)' and 'int')

Error: COMPILER_WARNING: [#def20] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:43:64: error[error]: invalid operands to binary * (have '_GoBytes_ (*)(void *, int)' and 'int')

Error: COMPILER_WARNING: [#def21] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:47:63: error[error]: invalid operands to binary * (have 'void * (*)(size_t,  size_t)' {{aka 'void * (*)(long unsigned int,  long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def22] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:49:61: error[error]: invalid operands to binary * (have 'void (*)(void *)' and 'int')

Error: COMPILER_WARNING: [#def23] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:50:87: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(struct gpgme_context *, char *, void *, void *, void *, gpgme_error_t *)' {{aka 'unsigned int (*)(struct gpgme_context *, char *, void *, void *, void *, unsigned int *)'}} and 'int')

Error: COMPILER_WARNING: [#def24] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:51:73: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(void *, char *, char *, int,  int)' {{aka 'unsigned int (*)(void *, char *, char *, int,  int)'}} and 'int')

Error: COMPILER_WARNING: [#def25] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:55:82: error[error]: invalid operands to binary * (have 'struct _gpgme_engine_info * (*)(struct gpgme_context *)' and 'int')

Error: COMPILER_WARNING: [#def26] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:56:82: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(struct gpgme_context *, gpgme_protocol_t,  const char *, const char *)' {{aka 'unsigned int (*)(struct gpgme_context *, gpgme_protocol_t,  const char *, const char *)'}} and 'int')

Error: COMPILER_WARNING: [#def27] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:60:83: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(gpgme_protocol_t)' {{aka 'unsigned int (*)(gpgme_protocol_t)'}} and 'int')

Error: COMPILER_WARNING: [#def28] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:62:71: error[error]: invalid operands to binary * (have 'gpgme_err_code_t (*)(gpgme_error_t)' {{aka 'gpg_err_code_t (*)(unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def29] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:63:74: error[error]: invalid operands to binary * (have 'const char * (*)(const char *)' and 'int')

Error: COMPILER_WARNING: [#def30] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:101:72: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def31] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:102:73: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def32] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:103:61: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def33] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:117:64: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def34] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:1:67: error[error]: incompatible types when initializing type 'double' using type 'char * (*)(_GoString_)'

Error: COMPILER_WARNING: [#def35] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:43:68: error[error]: incompatible types when initializing type 'double' using type '_GoBytes_ (*)(void *, int)'

Error: COMPILER_WARNING: [#def36] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:47:68: error[error]: incompatible types when initializing type 'double' using type 'void * (*)(size_t,  size_t)' {{aka 'void * (*)(long unsigned int,  long unsigned int)'}}

Error: COMPILER_WARNING: [#def37] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:49:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(void *)'

Error: COMPILER_WARNING: [#def38] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:50:68: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(struct gpgme_context *, char *, void *, void *, void *, gpgme_error_t *)' {{aka 'unsigned int (*)(struct gpgme_context *, char *, void *, void *, void *, unsigned int *)'}}

Error: COMPILER_WARNING: [#def39] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:51:68: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(void *, char *, char *, int,  int)' {{aka 'unsigned int (*)(void *, char *, char *, int,  int)'}}

Error: COMPILER_WARNING: [#def40] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:55:68: error[error]: incompatible types when initializing type 'double' using type 'struct _gpgme_engine_info * (*)(struct gpgme_context *)'

Error: COMPILER_WARNING: [#def41] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:56:68: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(struct gpgme_context *, gpgme_protocol_t,  const char *, const char *)' {{aka 'unsigned int (*)(struct gpgme_context *, gpgme_protocol_t,  const char *, const char *)'}}

Error: COMPILER_WARNING: [#def42] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:60:68: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(gpgme_protocol_t)' {{aka 'unsigned int (*)(gpgme_protocol_t)'}}

Error: COMPILER_WARNING: [#def43] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:63:68: error[error]: incompatible types when initializing type 'double' using type 'const char * (*)(const char *)'

Error: COMPILER_WARNING: [#def44] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:97:86: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def45] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:101:85: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def46] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:102:86: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def47] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:103:74: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def48] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:117:77: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def49] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:97:86: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def50] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:101:85: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def51] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:102:86: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def52] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:103:74: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def53] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:113:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def54] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:114:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def55] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:115:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def56] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:116:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def57] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:117:77: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def58] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:118:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def59] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:119:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def60] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:120:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def61] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:121:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def62] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:122:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def63] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:123:69: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def64] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-str-lit:124:69: error[error]: invalid initializer

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
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-197.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameskopeo-1.18.0-1.fc42
diffbase-store-results-to/tmp/tmpw8oyjvcm/skopeo-1.18.0-1.fc42.tar.xz
diffbase-time-created2025-04-25 15:35:00
diffbase-time-finished2025-04-25 15:38:56
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpw8oyjvcm/skopeo-1.18.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpw8oyjvcm/skopeo-1.18.0-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-197.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameskopeo-1.18.0-1.fc43
store-results-to/tmp/tmpojc68tsw/skopeo-1.18.0-1.fc43.tar.xz
time-created2025-04-25 15:39:27
time-finished2025-04-25 15:42:59
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpojc68tsw/skopeo-1.18.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpojc68tsw/skopeo-1.18.0-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9