Before this patch yaml.Loader was used by the client to create custom
yaql-enabled yaml loader. It is unsfae do to so, because yaml.Loader is
capable of creating custom python objects from specifically constructed
yaml files.
UI parsing functions also fell back to yaml.Loader if
the custom loader was not supplied.
After this patch all yaml load operations are performed with safe
loaders instead.
Reviewed: https:/ /review. openstack. org/333444 /git.openstack. org/cgit/ openstack/ python- muranoclient/ commit/ ?id=b1e8a1753cc c3faf06840f6754 03645311ac9d79
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit b1e8a1753ccc3fa f06840f67540364 5311ac9d79
Author: Kirill Zaitsev <email address hidden>
Date: Fri May 27 01:04:31 2016 +0300
Use yaml.SafeLoader instead of yaml.Loader
Before this patch yaml.Loader was used by the client to create custom
yaql-enabled yaml loader. It is unsfae do to so, because yaml.Loader is
capable of creating custom python objects from specifically constructed
yaml files.
UI parsing functions also fell back to yaml.Loader if
the custom loader was not supplied.
After this patch all yaml load operations are performed with safe
loaders instead.
Change-Id: Id9bb6eabda3552 2271ec394f8758a 974878cbb4b
Closes-Bug: #1586078