https://bugs.documentfoundation.org/show_bug.cgi?id=67478

Matt K <matt...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED

--- Comment #23 from Matt K <matt...@gmail.com> ---
The code catches itself doing infinite recursion at line 2343 of
workdir\UnpackedTarball\libxslt\libxslt\transform.c in function
xsltApplySequenceConstructor:

"/*
* Check for infinite recursion: stop if the maximum of nested templates
* is excceeded. Adjust xsltMaxDepth if you need more.
*/
if (ctxt->depth >= ctxt->maxTemplateDepth) {
"

The callstack just has the following frames repeated:

        libxslt.dll!xsltApplySequenceConstructor(_xsltTransformContext * ctxt,
_xmlNode * contextNode, _xmlNode * list, _xsltTemplate * templ) Line 2351      
 C
        libxslt.dll!xsltApplyXSLTTemplate(_xsltTransformContext * ctxt,
_xmlNode * contextNode, _xmlNode * list, _xsltTemplate * templ, _xsltStackElem
* withParams) Line 3211  C
        libxslt.dll!xsltCallTemplate(_xsltTransformContext * ctxt, _xmlNode *
node, _xmlNode * inst, _xsltElemPreComp * castedComp) Line 4788   C
        libxslt.dll!xsltApplySequenceConstructor(_xsltTransformContext * ctxt,
_xmlNode * contextNode, _xmlNode * list, _xsltTemplate * templ) Line 2752      
 C
        libxslt.dll!xsltChoose(_xsltTransformContext * ctxt, _xmlNode *
contextNode, _xmlNode * inst, _xsltElemPreComp * comp) Line 5269        C
        libxslt.dll!xsltApplySequenceConstructor(_xsltTransformContext * ctxt,
_xmlNode * contextNode, _xmlNode * list, _xsltTemplate * templ) Line 2752      
 C
        libxslt.dll!xsltIf(_xsltTransformContext * ctxt, _xmlNode *
contextNode, _xmlNode * inst, _xsltElemPreComp * castedComp) Line 5375      C

So, it looks like this is a bug in the library.  Maybe a bug should be opened
at https://gitlab.gnome.org/GNOME/libxslt/-/issues ?

Marking as NOTOURBUG

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to