- When no keyword is given in extra_specs, it is to be ignored. However, the new code does not ignore and compare the given specs with capability and returns the result.
- For <in> operation, if no required word follows an <in>, it crashes. For example, if "<in> aa <in>" is given as extra_specs, it makes it crash since the code tries to pop a word after the second <in>.
https:/ /review. openstack. org/#/c/ 11460/ refactored extra_spec match code. It introduced a couple of bugs:
- When no keyword is given in extra_specs, it is to be ignored. However, the new code does not ignore and compare the given specs with capability and returns the result.
- For <in> operation, if no required word follows an <in>, it crashes. For example, if "<in> aa <in>" is given as extra_specs, it makes it crash since the code tries to pop a word after the second <in>.