using eval() in dellemc in xmlparser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
eval() function raises an error with bandit.
To improve security, replace https:/
func = getattr(self, self._get_
if func in vars(XMLAPIParser):
if action == 'start':
func(elem, result)
elif action == 'end':
func()
powermax and vnx tests fail with this change due to:
File "/home/
func = getattr(self, self._get_
AttributeError: 'XMLAPIParser' object has no attribute 'start_
There is likely an issue with the mocks here: https:/
The tests attempt to follow the request logic here: https:/
tags: | added: dell-emc |
Changed in manila: | |
status: | New → Triaged |
See additional triage information at https:/ /meetings. opendev. org/meetings/ manila/ 2024/manila. 2024-05- 16-15.01. log.html