Kaydet (Commit) 193d244e authored tarafından Stephan Bergmann's avatar Stephan Bergmann Kaydeden (comit) Caolán McNamara

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>
üst 14c9ddc7
...@@ -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