Add quality tag + tweak description

This commit is contained in:
Joe Farebrother
2025-03-21 09:24:54 +00:00
parent bdbdcf8bd8
commit a46c157e46

View File

@@ -1,10 +1,11 @@
/**
* @name File is not always closed
* @description Opening a file without ensuring that it is always closed may cause data loss or resource leaks.
* @description Opening a file without ensuring that it is always closed may lead to data loss or resource leaks.
* @kind problem
* @tags efficiency
* correctness
* resources
* quality
* external/cwe/cwe-772
* @problem.severity warning
* @sub-severity high