Before this patch yaml.Loader was used by the engine to create custom
yaql-enabled yaml loader. It is unsafe do to so, because yaml.Loader is
capable of creating custom python objects from specifically constructed
yaml files.
After this patch all yaml load operations are performed with safe
loaders instead.
Also uses SafeConstructor instead of Constructor.
Reviewed: https:/ /review. openstack. org/333423 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=28de8c36c9d be4aaf4d062e6fb 6099afd437f49b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 28de8c36c9dbe4a af4d062e6fb6099 afd437f49b
Author: Kirill Zaitsev <email address hidden>
Date: Fri May 27 00:42:38 2016 +0300
Use SafeLoader to load yaml files
Before this patch yaml.Loader was used by the engine to create custom
yaql-enabled yaml loader. It is unsafe do to so, because yaml.Loader is
capable of creating custom python objects from specifically constructed
yaml files.
After this patch all yaml load operations are performed with safe
loaders instead.
Also uses SafeConstructor instead of Constructor.
Change-Id: I61a3c42d73608b 5d013285f015a45 f4774d264e3
Closes-Bug: #1586079