We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28fbabe commit a9a9fe1Copy full SHA for a9a9fe1
c/cert/src/rules/DCL30-C/AppropriateStorageDurationsFunctionReturn.ql
@@ -1,8 +1,8 @@
1
/**
2
- * @id c/cert/declare-objects-with-appropriate-storage-durations
+ * @id c/cert/appropriate-storage-durations-function-return
3
* @name DCL30-C: Declare objects with appropriate storage durations
4
- * @description When storage durations are not compatible between assigned pointers it can lead to
5
- * referring to objects outside of their lifetime, which is undefined behaviour.
+ * @description When pointers to local variables are returned by a function it can lead to referring
+ * to objects outside of their lifetime, which is undefined behaviour.
6
* @kind problem
7
* @precision high
8
* @problem.severity error
0 commit comments