← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1731850] [NEW] Use safer ast.literal_eval instead of eval

 

Public bug reported:

Due to
https://docs.openstack.org/bandit/latest/blacklists/blacklist_calls.html#b307-eval,
we shoud use safer ast.literal_eval instead of eval.

** Affects: nova
     Importance: Undecided
     Assignee: Spencer Yu (yushb)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Spencer Yu (yushb)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1731850

Title:
  Use safer ast.literal_eval instead of eval

Status in OpenStack Compute (nova):
  New

Bug description:
  Due to
  https://docs.openstack.org/bandit/latest/blacklists/blacklist_calls.html#b307-eval,
  we shoud use safer ast.literal_eval instead of eval.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1731850/+subscriptions


Follow ups