Skip to content

Commit

Permalink
Merge pull request #203 from allegro/pyyaml_cve_fix
Browse files Browse the repository at this point in the history
Security fix reported by github
  • Loading branch information
jtaczanowski committed Jan 16, 2019
2 parents ad130da + e591827 commit 32533c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vaas-app/src/vaas/configuration/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ def get_config_tree(self, config_file):
config_full_path = self.determine_config_file(config_file)
if config_full_path:
with open(config_full_path) as file_stream:
return yaml.load(file_stream.read())
return yaml.safe_load(file_stream.read())

return {}

0 comments on commit 32533c2

Please sign in to comment.