VOLTTRON / volttron

VOLTTRON Distributed Control System Platform
https://volttron.readthedocs.io/
Other
456 stars 216 forks source link

Updaed yaml.load(file) to yaml.safe_load(file). #3101

Closed davidraker closed 1 year ago

davidraker commented 1 year ago

Description

Replaces yaml.load(file) with yaml.safe_load(file). This is necessary for yaml 6.0 compatability, and also closes a possible code injection possiblity.

Fixes # 3100

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Tests for the modbus_tk driver have been run manually, and work after the change.

Checklist: