Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] python-gssapi-1.7.3/gssapi/raw/creds.c:8791:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’ python-gssapi-1.7.3/gssapi/raw/creds.c:6564:18: enter_function: entry to ‘__pyx_tp_new_6gssapi_3raw_5creds_Creds’ python-gssapi-1.7.3/gssapi/raw/creds.c:6575:6: branch_false: following ‘false’ branch... python-gssapi-1.7.3/gssapi/raw/creds.c:6577:7: branch_false: ...to here python-gssapi-1.7.3/gssapi/raw/creds.c:6577:7: call_function: calling ‘__pyx_pw_6gssapi_3raw_5creds_5Creds_1__cinit__’ from ‘__pyx_tp_new_6gssapi_3raw_5creds_Creds’ # 8789| while (*name && (**name != key)) name++; # 8790| if (*name) { # 8791|-> PyObject *value = kwvalues[pos]; # 8792| values[name-argnames] = __Pyx_NewRef(value); # 8793| } else { Error: COMPILER_WARNING (CWE-704): [#def2] 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:3955:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 3955 | __pyx_v_c_store = GSS_C_NO_CRED_STORE; # | ^ # 3953| */ # 3954| /*else*/ { # 3955|-> __pyx_v_c_store = GSS_C_NO_CRED_STORE; # 3956| } # 3957| __pyx_L6:; Error: COMPILER_WARNING (CWE-704): [#def3] python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:3955:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 3953| */ # 3954| /*else*/ { # 3955|-> __pyx_v_c_store = GSS_C_NO_CRED_STORE; # 3956| } # 3957| __pyx_L6:; Error: COMPILER_WARNING (CWE-704): [#def4] 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:4707:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 4707 | __pyx_v_c_store = GSS_C_NO_CRED_STORE; # | ^ # 4705| */ # 4706| /*else*/ { # 4707|-> __pyx_v_c_store = GSS_C_NO_CRED_STORE; # 4708| } # 4709| __pyx_L5:; Error: COMPILER_WARNING (CWE-704): [#def5] python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:4707:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 4705| */ # 4706| /*else*/ { # 4707|-> __pyx_v_c_store = GSS_C_NO_CRED_STORE; # 4708| } # 4709| __pyx_L5:; Error: COMPILER_WARNING (CWE-704): [#def6] 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:5378:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 5378 | __pyx_v_c_store = GSS_C_NO_CRED_STORE; # | ^ # 5376| */ # 5377| /*else*/ { # 5378|-> __pyx_v_c_store = GSS_C_NO_CRED_STORE; # 5379| } # 5380| __pyx_L5:; Error: COMPILER_WARNING (CWE-704): [#def7] python-gssapi-1.7.3/gssapi/raw/ext_cred_store.c:5378:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 5376| */ # 5377| /*else*/ { # 5378|-> __pyx_v_c_store = GSS_C_NO_CRED_STORE; # 5379| } # 5380| __pyx_L5:; Error: GCC_ANALYZER_WARNING (CWE-476): [#def8] python-gssapi-1.7.3/gssapi/raw/ext_krb5.c:25647:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’ python-gssapi-1.7.3/gssapi/raw/ext_krb5.c:22529:18: enter_function: entry to ‘__pyx_tp_new__memoryviewslice’ python-gssapi-1.7.3/gssapi/raw/ext_krb5.c:22531:17: call_function: calling ‘__pyx_tp_new_memoryview’ from ‘__pyx_tp_new__memoryviewslice’ #25645| while (*name && (**name != key)) name++; #25646| if (*name) { #25647|-> PyObject *value = kwvalues[pos]; #25648| values[name-argnames] = __Pyx_NewRef(value); #25649| } else { Error: COMPILER_WARNING (CWE-457): [#def9] python-gssapi-1.7.3/gssapi/raw/ext_rfc6680.c:3684:15: warning[-Wmaybe-uninitialized]: ‘__pyx_v_i’ may be used uninitialized # 3684 | __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:3560:10: note: ‘__pyx_v_i’ was declared here # 3560 | size_t __pyx_v_i; # | ^~~~~~~~~ # 3682| * maj_stat = gss_set_name_attribute(&min_stat, name.raw_name, # 3683| */ # 3684|-> __pyx_v_i = (__pyx_v_i + 1); # 3685| # 3686| /* "gssapi/raw/ext_rfc6680.pyx":111 Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:10421:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kwvalues’ python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8081:18: enter_function: entry to ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’ python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8092:6: branch_false: following ‘false’ branch... python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8094:7: branch_false: ...to here python-gssapi-1.7.3/gssapi/raw/sec_contexts.c:8094:7: call_function: calling ‘__pyx_pw_6gssapi_3raw_12sec_contexts_15SecurityContext_1__cinit__’ from ‘__pyx_tp_new_6gssapi_3raw_12sec_contexts_SecurityContext’ #10419| while (*name && (**name != key)) name++; #10420| if (*name) { #10421|-> PyObject *value = kwvalues[pos]; #10422| values[name-argnames] = __Pyx_NewRef(value); #10423| } else {
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| 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-171.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-gcc-latest-x86_64 |
| project-name | python-gssapi-1.7.3-15.fc44 |
| store-results-to | /tmp/tmpdlss15h5/python-gssapi-1.7.3-15.fc44.tar.xz |
| time-created | 2025-10-28 20:01:36 |
| time-finished | 2025-10-28 20:06:59 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpdlss15h5/python-gssapi-1.7.3-15.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpdlss15h5/python-gssapi-1.7.3-15.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |