python-gssapi-1.7.3-19.fc45

List of Findings

Error: COMPILER_WARNING (CWE-704): [#def1]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c: scope_hint: In function ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_acquire_cred_from’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:3923:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3923 |     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
#      |                     ^
# 3921|   */
# 3922|     /*else*/ {
# 3923|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 3924|     }
# 3925|     __pyx_L6:;

Error: COMPILER_WARNING (CWE-704): [#def2]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:3923:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 3921|   */
# 3922|     /*else*/ {
# 3923|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 3924|     }
# 3925|     __pyx_L6:;

Error: COMPILER_WARNING (CWE-704): [#def3]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c: scope_hint: In function ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_2add_cred_from’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:4668:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 4668 |     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
#      |                     ^
# 4666|   */
# 4667|     /*else*/ {
# 4668|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 4669|     }
# 4670|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-704): [#def4]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:4668:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 4666|   */
# 4667|     /*else*/ {
# 4668|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 4669|     }
# 4670|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-704): [#def5]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c: scope_hint: In function ‘__pyx_pf_6gssapi_3raw_14ext_cred_store_4store_cred_into’
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5332:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 5332 |     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
#      |                     ^
# 5330|   */
# 5331|     /*else*/ {
# 5332|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 5333|     }
# 5334|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-704): [#def6]
python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5332:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 5330|   */
# 5331|     /*else*/ {
# 5332|->     __pyx_v_c_store = GSS_C_NO_CRED_STORE;
# 5333|     }
# 5334|     __pyx_L5:;

Error: COMPILER_WARNING (CWE-457): [#def7]
python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c:3683:15: warning[-Wmaybe-uninitialized]: ‘__pyx_v_i’ may be used uninitialized
# 3683 |     __pyx_v_i = (__pyx_v_i + 1);
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~
python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c: scope_hint: In function ‘__pyx_pw_6gssapi_3raw_11ext_rfc6680_5set_name_attribute’
python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c:3559:10: note: ‘__pyx_v_i’ was declared here
# 3559 |   size_t __pyx_v_i;
#      |          ^~~~~~~~~
# 3681|    *             maj_stat = gss_set_name_attribute(&min_stat, name.raw_name,
# 3682|   */
# 3683|->     __pyx_v_i = (__pyx_v_i + 1);
# 3684|   
# 3685|       /* "gssapi/raw/ext_rfc6680.pyx":111

Error: GCC_ANALYZER_WARNING (CWE-476): [#def8]
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:10205:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8013:18: enter_function: entry to ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8015:7: call_function: calling ‘__Pyx_AllocateExtensionType’ from ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8015:7: return_function: returning to ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’ from ‘__Pyx_AllocateExtensionType’
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8016:6: branch_false: following ‘false’ branch...
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8017:7: branch_false: ...to here
python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8017:7: call_function: calling ‘__pyx_pw_6gssapi_3raw_12sec_contexts_15SecurityContext_1__cinit__’ from ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’
#10203|           while (*name && (**name != key)) name++;
#10204|           if (*name) {
#10205|->             PyObject *value = kwvalues[pos];
#10206|               values[name-argnames] = __Pyx_NewRef(value);
#10207|           } else {

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-98.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-gssapi-1.7.3-19.fc45
store-results-to/tmp/tmpxdg7cpkz/python-gssapi-1.7.3-19.fc45.tar.xz
time-created2026-08-03 20:05:15
time-finished2026-08-03 20:09:35
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpxdg7cpkz/python-gssapi-1.7.3-19.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpxdg7cpkz/python-gssapi-1.7.3-19.fc45.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9