python-lxml-6.1.1-6.fc45 - findings not occurring in python-lxml-6.1.1-6.fc45

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
/usr/include/python3.15/object.h:234:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10255:18: enter_function: entry to ‘__pyx_pw_4lxml_3sax_5__pyx_unpickle_ElementTreeProducer’
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10269:13: release_memory: using NULL here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10269:13: release_memory: using NULL here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10269:13: release_memory: using NULL here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10286:54: call_function: calling ‘PyTuple_GET_SIZE’ from ‘__pyx_pw_4lxml_3sax_5__pyx_unpickle_ElementTreeProducer’
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10286:54: return_function: returning to ‘__pyx_pw_4lxml_3sax_5__pyx_unpickle_ElementTreeProducer’ from ‘PyTuple_GET_SIZE’
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10287:8: branch_false: following ‘false’ branch...
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10288:8: branch_false: ...to here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10288:8: branch_true: following ‘true’ branch (when ‘__pyx_kwds_len != 0’)...
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10289:7: branch_true: ...to here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10306:10: branch_false: following ‘false’ branch...
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10306:10: branch_false: ...to here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10307:40: branch_true: following ‘true’ branch (when ‘i <= 2’)...
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10308:13: branch_true: ...to here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10308:12: branch_false: following ‘false’ branch...
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10307:47: branch_false: ...to here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10308:12: branch_false: following ‘false’ branch...
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10307:47: branch_false: ...to here
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10320:5: release_memory: ‘__pyx_v___pyx_type’ is NULL
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10321:30: release_memory: ‘__pyx_v___pyx_type’ is NULL
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/sax.c:10321:30: call_function: calling ‘__Pyx_PyLong_As_long’ from ‘__pyx_pw_4lxml_3sax_5__pyx_unpickle_ElementTreeProducer’
#  232|   PyTypeObject* _Py_TYPE_impl(PyObject *ob)
#  233|   {
#  234|->     return ob->ob_type;
#  235|   }
#  236|   

Error: CPPCHECK_WARNING (CWE-476): [#def2]
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/_elementpath.c:22526: warning[nullPointer]: Possible null pointer dereference: pvalue
#22524|           *pkey = next_item;
#22525|       } else {
#22526|->         *pvalue = next_item;
#22527|       }
#22528|       return 1;

Error: CPPCHECK_WARNING (CWE-476): [#def3]
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/html/_difflib.c:43854: warning[nullPointer]: Possible null pointer dereference: pvalue
#43852|           *pkey = next_item;
#43853|       } else {
#43854|->         *pvalue = next_item;
#43855|       }
#43856|       return 1;

Error: COMPILER_WARNING (CWE-704): [#def4]
python-lxml-6.1.1-build/lxml-6.1.1/src/lxml/objectify.c:4921:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 4919|    *         c_name = s + 1
# 4920|   */
# 4921|->   __pyx_v_s = strrchr(__pyx_v_c_name, '.');
# 4922|   
# 4923|     /* "lxml/objectify.pyx":54

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
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-211.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-lxml-6.1.1-6.fc45
diffbase-store-results-to/tmp/tmp9lesda2x/python-lxml-6.1.1-6.fc45.tar.xz
diffbase-time-created2026-08-03 20:15:28
diffbase-time-finished2026-08-03 20:20:13
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp9lesda2x/python-lxml-6.1.1-6.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9lesda2x/python-lxml-6.1.1-6.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-211.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-lxml-6.1.1-6.fc45
store-results-to/tmp/tmp9lesda2x/python-lxml-6.1.1-6.fc45.tar.xz
time-created2026-08-03 20:15:28
time-finished2026-08-03 20:20:13
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp9lesda2x/python-lxml-6.1.1-6.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9lesda2x/python-lxml-6.1.1-6.fc45.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9