libxslt-1.1.43-1.fc43

List of Findings

Error: SHELLCHECK_WARNING (CWE-477): [#def1]
/usr/bin/xslt-config:96:44: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#   94|           fi
#   95|   
#   96|->         if [ "-L${libdir}" != "-L/usr/lib" -a "-L${libdir}" != "-L/usr/lib64" ]; then
#   97|               libs="-L${libdir} $libs"
#   98|           fi

Error: SHELLCHECK_WARNING (CWE-758): [#def2]
/usr/lib64/xsltConf.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
#    1|-> #
#    2|   # Configuration file for using the xslt library
#    3|   #

Error: SHELLCHECK_WARNING (CWE-563): [#def3]
/usr/lib64/xsltConf.sh:4:1: warning[SC2034]: XSLT_LIBDIR appears unused. Verify use (or export if used externally).
#    2|   # Configuration file for using the xslt library
#    3|   #
#    4|-> XSLT_LIBDIR="-L/usr/lib64"
#    5|   XSLT_LIBS="-lxslt -lxml2 "
#    6|   XSLT_PRIVATE_LIBS="-lm"

Error: SHELLCHECK_WARNING (CWE-563): [#def4]
/usr/lib64/xsltConf.sh:5:1: warning[SC2034]: XSLT_LIBS appears unused. Verify use (or export if used externally).
#    3|   #
#    4|   XSLT_LIBDIR="-L/usr/lib64"
#    5|-> XSLT_LIBS="-lxslt -lxml2 "
#    6|   XSLT_PRIVATE_LIBS="-lm"
#    7|   XSLT_INCLUDEDIR="-I/usr/include"

Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/usr/lib64/xsltConf.sh:6:1: warning[SC2034]: XSLT_PRIVATE_LIBS appears unused. Verify use (or export if used externally).
#    4|   XSLT_LIBDIR="-L/usr/lib64"
#    5|   XSLT_LIBS="-lxslt -lxml2 "
#    6|-> XSLT_PRIVATE_LIBS="-lm"
#    7|   XSLT_INCLUDEDIR="-I/usr/include"
#    8|   MODULE_VERSION="xslt-1.1.43"

Error: SHELLCHECK_WARNING (CWE-563): [#def6]
/usr/lib64/xsltConf.sh:7:1: warning[SC2034]: XSLT_INCLUDEDIR appears unused. Verify use (or export if used externally).
#    5|   XSLT_LIBS="-lxslt -lxml2 "
#    6|   XSLT_PRIVATE_LIBS="-lm"
#    7|-> XSLT_INCLUDEDIR="-I/usr/include"
#    8|   MODULE_VERSION="xslt-1.1.43"

Error: SHELLCHECK_WARNING (CWE-563): [#def7]
/usr/lib64/xsltConf.sh:8:1: warning[SC2034]: MODULE_VERSION appears unused. Verify use (or export if used externally).
#    6|   XSLT_PRIVATE_LIBS="-lm"
#    7|   XSLT_INCLUDEDIR="-I/usr/include"
#    8|-> MODULE_VERSION="xslt-1.1.43"

Error: CPPCHECK_WARNING (CWE-758): [#def8]
libxslt-1.1.43/libexslt/strings.c:674: warning[objectIndex]: The address of variable 'search_str' might be accessed at non-zero index.
#  672|       for (i=0; i<n; ++i) {
#  673|           if (search_set != NULL) {
#  674|->             search[i] = xmlXPathCastNodeToString(search_set->nodeTab[i]);
#  675|               if (search[i] == NULL) {
#  676|                   n = i;

Error: CPPCHECK_WARNING (CWE-758): [#def9]
libxslt-1.1.43/libexslt/strings.c:675: warning[objectIndex]: The address of variable 'search_str' might be accessed at non-zero index.
#  673|           if (search_set != NULL) {
#  674|               search[i] = xmlXPathCastNodeToString(search_set->nodeTab[i]);
#  675|->             if (search[i] == NULL) {
#  676|                   n = i;
#  677|                   goto fail_process_args;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
libxslt-1.1.43/python/libxslt-py.c:1722:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1718:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1720:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1720:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1722:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1722:5: danger: dereference of NULL 'ctxt'
# 1720|       ctxt = (xmlXPathContextPtr) PyxmlXPathContext_Get(pyobj_ctxt);
# 1721|   
# 1722|->     c_retval = ctxt->extra;
# 1723|       py_retval = libxslt_xsltTransformContextPtrWrap((xsltTransformContextPtr) c_retval);
# 1724|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
libxslt-1.1.43/python/libxslt-py.c:1738:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1734:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1736:39: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1736:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1738:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1738:5: danger: dereference of NULL 'ctxt'
# 1736|       ctxt = (xmlXPathParserContextPtr) PyxmlXPathParserContext_Get(pyobj_ctxt);
# 1737|   
# 1738|->     c_retval = ctxt->context;
# 1739|       py_retval = libxml_xmlXPathContextPtrWrap((xmlXPathContextPtr) c_retval);
# 1740|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
libxslt-1.1.43/python/libxslt-py.c:1754:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1750:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1752:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1752:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1754:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1754:5: danger: dereference of NULL 'ctxt'
# 1752|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1753|   
# 1754|->     c_retval = ctxt->style;
# 1755|       py_retval = libxslt_xsltStylesheetPtrWrap((xsltStylesheetPtr) c_retval);
# 1756|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
libxslt-1.1.43/python/libxslt-py.c:1770:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1766:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1768:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1768:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1770:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1770:5: danger: dereference of NULL 'ctxt'
# 1768|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1769|   
# 1770|->     c_retval = ctxt->node;
# 1771|       py_retval = libxml_xmlNodePtrWrap((xmlNodePtr) c_retval);
# 1772|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
libxslt-1.1.43/python/libxslt-py.c:1786:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1782:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1784:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1784:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1786:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1786:5: danger: dereference of NULL 'ctxt'
# 1784|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1785|   
# 1786|->     c_retval = ctxt->output;
# 1787|       py_retval = libxml_xmlDocPtrWrap((xmlDocPtr) c_retval);
# 1788|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
libxslt-1.1.43/python/libxslt-py.c:1802:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1798:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1800:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1800:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1802:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1802:5: danger: dereference of NULL 'ctxt'
# 1800|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1801|   
# 1802|->     c_retval = ctxt->outputFile;
# 1803|       py_retval = libxml_charPtrConstWrap((const char *) c_retval);
# 1804|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
libxslt-1.1.43/python/libxslt-py.c:1818:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1814:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1816:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1816:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1818:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1818:5: danger: dereference of NULL 'ctxt'
# 1816|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1817|   
# 1818|->     c_retval = ctxt->insert;
# 1819|       py_retval = libxml_xmlNodePtrWrap((xmlNodePtr) c_retval);
# 1820|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
libxslt-1.1.43/python/libxslt-py.c:1834:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1830:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1832:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1832:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1834:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1834:5: danger: dereference of NULL 'ctxt'
# 1832|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1833|   
# 1834|->     c_retval = ctxt->inst;
# 1835|       py_retval = libxml_xmlNodePtrWrap((xmlNodePtr) c_retval);
# 1836|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
libxslt-1.1.43/python/libxslt-py.c:1850:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1846:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1848:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1848:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1850:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1850:5: danger: dereference of NULL 'ctxt'
# 1848|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1849|   
# 1850|->     c_retval = ctxt->mode;
# 1851|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 1852|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
libxslt-1.1.43/python/libxslt-py.c:1866:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1862:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1864:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1864:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1866:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1866:5: danger: dereference of NULL 'ctxt'
# 1864|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1865|   
# 1866|->     c_retval = ctxt->modeURI;
# 1867|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 1868|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
libxslt-1.1.43/python/libxslt-py.c:1882:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'ctxt'
libxslt-1.1.43/python/libxslt-py.c:1878:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1880:38: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1880:12: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1882:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1882:5: danger: dereference of NULL 'ctxt'
# 1880|       ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
# 1881|   
# 1882|->     c_retval = ctxt->xpathCtxt;
# 1883|       py_retval = libxml_xmlXPathContextPtrWrap((xmlXPathContextPtr) c_retval);
# 1884|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
libxslt-1.1.43/python/libxslt-py.c:1898:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1894:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1896:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1896:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1898:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1898:5: danger: dereference of NULL 'style'
# 1896|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1897|   
# 1898|->     c_retval = style->parent;
# 1899|       py_retval = libxslt_xsltStylesheetPtrWrap((xsltStylesheetPtr) c_retval);
# 1900|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
libxslt-1.1.43/python/libxslt-py.c:1914:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1910:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1912:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1912:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1914:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1914:5: danger: dereference of NULL 'style'
# 1912|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1913|   
# 1914|->     c_retval = style->next;
# 1915|       py_retval = libxslt_xsltStylesheetPtrWrap((xsltStylesheetPtr) c_retval);
# 1916|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def23]
libxslt-1.1.43/python/libxslt-py.c:1930:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1926:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1928:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1928:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1930:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1930:5: danger: dereference of NULL 'style'
# 1928|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1929|   
# 1930|->     c_retval = style->imports;
# 1931|       py_retval = libxslt_xsltStylesheetPtrWrap((xsltStylesheetPtr) c_retval);
# 1932|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
libxslt-1.1.43/python/libxslt-py.c:1946:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1942:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1944:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1944:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1946:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1946:5: danger: dereference of NULL 'style'
# 1944|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1945|   
# 1946|->     c_retval = style->doc;
# 1947|       py_retval = libxml_xmlDocPtrWrap((xmlDocPtr) c_retval);
# 1948|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def25]
libxslt-1.1.43/python/libxslt-py.c:1962:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1958:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1960:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1960:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1962:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1962:5: danger: dereference of NULL 'style'
# 1960|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1961|   
# 1962|->     c_retval = style->method;
# 1963|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 1964|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
libxslt-1.1.43/python/libxslt-py.c:1978:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1974:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1976:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1976:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1978:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1978:5: danger: dereference of NULL 'style'
# 1976|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1977|   
# 1978|->     c_retval = style->methodURI;
# 1979|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 1980|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def27]
libxslt-1.1.43/python/libxslt-py.c:1994:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:1990:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1992:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1992:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:1994:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:1994:5: danger: dereference of NULL 'style'
# 1992|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 1993|   
# 1994|->     c_retval = style->version;
# 1995|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 1996|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
libxslt-1.1.43/python/libxslt-py.c:2010:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:2006:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:2008:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:2008:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:2010:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:2010:5: danger: dereference of NULL 'style'
# 2008|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 2009|   
# 2010|->     c_retval = style->encoding;
# 2011|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 2012|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
libxslt-1.1.43/python/libxslt-py.c:2026:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:2022:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:2024:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:2024:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:2026:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:2026:5: danger: dereference of NULL 'style'
# 2024|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 2025|   
# 2026|->     c_retval = style->doctypePublic;
# 2027|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 2028|       return(py_retval);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
libxslt-1.1.43/python/libxslt-py.c:2042:5: warning[-Wanalyzer-null-dereference]: dereference of NULL 'style'
libxslt-1.1.43/python/libxslt-py.c:2038:8: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:2040:33: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:2040:13: branch_false: following 'false' branch...
libxslt-1.1.43/python/libxslt-py.c:2042:5: branch_false: ...to here
libxslt-1.1.43/python/libxslt-py.c:2042:5: danger: dereference of NULL 'style'
# 2040|       style = (xsltStylesheetPtr) Pystylesheet_Get(pyobj_style);
# 2041|   
# 2042|->     c_retval = style->doctypeSystem;
# 2043|       py_retval = libxml_xmlCharPtrConstWrap((const xmlChar *) c_retval);
# 2044|       return(py_retval);

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-5.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-namelibxslt-1.1.43-1.fc43
store-results-to/tmp/tmp6o9s4eqg/libxslt-1.1.43-1.fc43.tar.xz
time-created2025-04-25 14:25:51
time-finished2025-04-25 14:27:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp6o9s4eqg/libxslt-1.1.43-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp6o9s4eqg/libxslt-1.1.43-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9