"Use of unsafe yaml load" error on ruamel.yaml

Bug #1768584 reported by Gaetan Semet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bandit
New
Undecided
Unassigned

Bug Description

This code causes a B506 error while a safe loader is used:

```
from ruamel.yaml import YAML
yaml = YAML(typ='safe')
c = yaml.load(content)
```

Expected result: ok

Revision history for this message
Eric Brown (ericwb) wrote :

Please reopen issue at the new home of Bandit on GitHub https://github.com/PyCQA/bandit

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.