Skip to content

Commit

Permalink
Merge pull request #3 from vboykox/fix_eeprom_vulnerability
Browse files Browse the repository at this point in the history
Fix vulnerability in SONiC eeprom.py
  • Loading branch information
vboykox authored Sep 7, 2020
2 parents fdfa756 + cfcddcd commit b87aac6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Eeprom(eeprom_tlvinfo.TlvInfoDecoder):
def __init__(self):

with open(os.path.dirname(__file__) + "/logging.conf", 'r') as f:
config_dict = yaml.load(f)
config_dict = yaml.load(f, yaml.SafeLoader)
logging.config.dictConfig(config_dict)

if not os.path.exists(os.path.dirname(EEPROM_SYMLINK)):
Expand Down

0 comments on commit b87aac6

Please sign in to comment.