Task #1855 - python-lxml-5.1.0-7.fc40/scan-results.err
back to task #1855download
Error: CLANG_WARNING:
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/builder.c:10325:9: warning[deadcode.DeadStores]: Value stored to 'args' is never read
#10323| case 1:
#10324| self = args[0];
#10325|-> args += 1;
#10326| nargs -= 1;
#10327| break;
Error: COMPILER_WARNING (CWE-477):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c: scope_hint: In function ‘__pyx_f_4lxml_5etree__setupPythonUnicode’
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:125748:3: warning[-Wdeprecated-declarations]: ‘Py_UNICODE’ is deprecated
#125746| xmlCharEncodingHandler *__pyx_v_enchandler;
#125747| const char *__pyx_v_enc;
#125748|-> Py_UNICODE *__pyx_v_uchars;
#125749| const xmlChar *__pyx_v_buffer;
#125750| int __pyx_r;
Error: COMPILER_WARNING (CWE-477):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:125751:3: warning[-Wdeprecated-declarations]: ‘Py_UNICODE’ is deprecated
#125749| const xmlChar *__pyx_v_buffer;
#125750| int __pyx_r;
#125751|-> Py_UNICODE __pyx_t_1[7];
#125752| int __pyx_t_2;
#125753| int __pyx_t_3;
Error: COMPILER_WARNING (CWE-477):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:125922:5: warning[-Wdeprecated-declarations]: ‘Py_UNICODE’ is deprecated
#125920| */
#125921| /*else*/ {
#125922|-> __pyx_t_4 = __pyx_f_4lxml_5etree__findEncodingName(__pyx_v_buffer, ((sizeof(Py_UNICODE)) * 7)); if (unlikely(__pyx_t_4 == ((const char *)NULL) && PyErr_Occurred())) __PYX_ERR(2, 208, __pyx_L1_error)
#125923| __pyx_v_enc = __pyx_t_4;
#125924|
Error: COMPILER_WARNING (CWE-477):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c: scope_hint: In function ‘__pyx_f_4lxml_5etree_11_BaseParser__registerHtmlErrorHandler’
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:135052:5: warning[-Wdeprecated-declarations]: ‘__htmlDefaultSAXHandler’ is deprecated
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/includes/etree_defs.h:12: included_from: Included from here.
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:1302: included_from: Included from here.
/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
/usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’
/usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’
/usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’
#135050| * if sax is NULL:
#135051| */
#135052|-> __pyx_t_2 = (((xmlSAXHandlerV1 *)__pyx_v_sax) == (&htmlDefaultSAXHandler));
#135053| if (__pyx_t_2) {
#135054|
Error: COMPILER_WARNING (CWE-477):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:135099:7: warning[-Wdeprecated-declarations]: ‘__htmlDefaultSAXHandler’ is deprecated
/usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here
/usr/include/libxml2/libxml/HTMLparser.h:91:16: note: in expansion of macro ‘XML_DECLARE_GLOBAL’
/usr/include/libxml2/libxml/HTMLparser.h:86:5: note: in expansion of macro ‘XML_OP’
/usr/include/libxml2/libxml/HTMLparser.h:92:1: note: in expansion of macro ‘XML_GLOBALS_HTML’
#135097| * c_ctxt.sax = sax
#135098| */
#135099|-> (void)(memcpy(__pyx_v_sax, (&htmlDefaultSAXHandler), (sizeof(htmlDefaultSAXHandler))));
#135100|
#135101| /* "src/lxml/parser.pxi":940
Error: COMPILER_WARNING (CWE-704):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c: scope_hint: In function ‘__pyx_f_4lxml_5etree__getInternalEntityOnly’
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:138656:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
#138654| * str1=<char*> name,
#138655| */
#138656|-> __pyx_t_4.file = __pyx_v_parser_input->filename;
#138657|
#138658| /* "src/lxml/parser.pxi":1266
Error: COMPILER_WARNING (CWE-477):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c: scope_hint: In function ‘__pyx_pymod_exec_etree’
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/etree.c:287469:3: warning[-Wdeprecated-declarations]: ‘xmlThrDefLineNumbersDefaultValue’ is deprecated
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/includes/etree_defs.h:155: included_from: Included from here.
/usr/include/libxml2/libxml/parser.h:969:17: note: declared here
#287467| * _initThreadLogging()
#287468| */
#287469|-> (void)(xmlThrDefLineNumbersDefaultValue(1));
#287470|
#287471| /* "lxml/etree.pyx":152
Error: GCC_ANALYZER_WARNING (CWE-476):
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/sax.c: scope_hint: In function ‘__Pyx_MergeVtables’
python-lxml-5.1.0-build/lxml-5.1.0/src/lxml/sax.c:15987:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
#15985| }
#15986| base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
#15987|-> base_vtables[0] = unknown;
#15988| for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
#15989| void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));