Kaydet (Commit) cda11986 authored tarafından Stephan Bergmann's avatar Stephan Bergmann Kaydeden (comit) Andras Timar

Missing template clone() in configmgr dconf mode

...that could cause infinite recursion, e.g. when an erroneously modified
/org.openoffice.ucb.Hierarchy/Entry template (which recursively has children of
the same template type) is later used to instantiate a new set member.

Change-Id: I7b9e55fa1c92979aed98b9f23f4432600afffed4
Reviewed-on: https://gerrit.libreoffice.org/54024Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
(cherry picked from commit 193d244e)
üst ca112916
...@@ -938,6 +938,7 @@ void readDir( ...@@ -938,6 +938,7 @@ void readDir(
<< templ); << templ);
continue; continue;
} }
member = member->clone(true);
break; break;
default: default:
assert(false); // cannot happen assert(false); // cannot happen
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment