← Back to team overview

yahoo-eng-team team mailing list archive

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

 

The patch was just on test code, which bandit shouldn't be scanning.

** Changed in: nova
       Status: In Progress => Invalid

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

-- 
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):
  Invalid

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


References