mirror of
https://github.com/github/codeql.git
synced 2025-12-23 04:06:37 +01:00
C++: Promote 'cpp/use-after-free' and 'cpp/double-free' to Code Scanning.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @name Potential double free
|
* @name Potential double free
|
||||||
* @description Freeing a resource more than once can lead to undefined behavior and cause memory corruption.
|
* @description Freeing a resource more than once can lead to undefined behavior and cause memory corruption.
|
||||||
* @kind path-problem
|
* @kind path-problem
|
||||||
* @precision medium
|
* @precision high
|
||||||
* @id cpp/double-free
|
* @id cpp/double-free
|
||||||
* @problem.severity warning
|
* @problem.severity warning
|
||||||
* @security-severity 9.3
|
* @security-severity 9.3
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @name Potential use after free
|
* @name Potential use after free
|
||||||
* @description An allocated memory block is used after it has been freed. Behavior in such cases is undefined and can cause memory corruption.
|
* @description An allocated memory block is used after it has been freed. Behavior in such cases is undefined and can cause memory corruption.
|
||||||
* @kind path-problem
|
* @kind path-problem
|
||||||
* @precision medium
|
* @precision high
|
||||||
* @id cpp/use-after-free
|
* @id cpp/use-after-free
|
||||||
* @problem.severity warning
|
* @problem.severity warning
|
||||||
* @security-severity 9.3
|
* @security-severity 9.3
|
||||||
|
|||||||
Reference in New Issue
Block a user