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/333440 /git.openstack. org/cgit/ openstack/ python- muranoclient/ commit/ ?id=cd182ba363a 11078ae7a0595f5 4751c1ebddd2e0
Committed: https:/
Submitter: Jenkins
Branch: master
commit cd182ba363a1107 8ae7a0595f54751 c1ebddd2e0
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