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

Aron Budea <ba...@caesar.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|medium                      |high
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Severity|normal                      |critical

--- Comment #10 from Aron Budea <ba...@caesar.elte.hu> ---
(In reply to Markus Mohrhard from comment #7)
> The question is where the ($ repetition in pStr is coming from.

There's this for loop at #2:
http://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx#1086

Inside that, there's this substitution which is responsible for the "$(...)"
chains:
http://opengrok.libreoffice.org/xref/core/framework/source/services/substitutepathvars.cxx#1137

On my Windows system:
-'m_aReSubstUserVarOrder' is empty,
-'m_aReSubstFixedVarOrder' contains twin vectors, one with stuff like $(inst),
$(prog), $(user) etc., and the other contains corresponding directories,
-initial aURL is
"file:///D:/sources/libreoffice/instdir/program/../share/palette%3Bfile:///D:/sources/libreoffice/instdir/user/config/standard.sob",
-substituted aURL (at return statement) is
"$(inst)/share/palette%3B$(user)/config/standard.sob"

I assume there's an infinite recursion during substitution of user variables
(I'm not sure where they're coming from). The content of
'm_aReSubstUserVarOrder' and the initial value of 'aURL' would be interesting.

While normally one could limit recursion to a sensible number, in this case the
substitution might be completely bogus.

Confirming bug report based on bug 102252.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to