rspec/rules/S1573/rule.adoc

8 lines
330 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
If you do not explicitly close a cursor, it will be closed at the end of the task. But if you try to re-open this cursor to process it, you will get an error. That is why a cursor should be explicitly closed after it has been processed.
== See
* https://cwe.mitre.org/data/definitions/459[MITRE, CWE-459] - Incomplete Cleanup
2020-06-30 12:47:33 +02:00