Skip to content

Commit a9a9fe1

Browse files
committed
Declarations8: fix metadata DCL30-C
1 parent 28fbabe commit a9a9fe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

c/cert/src/rules/DCL30-C/AppropriateStorageDurationsFunctionReturn.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* @id c/cert/declare-objects-with-appropriate-storage-durations
2+
* @id c/cert/appropriate-storage-durations-function-return
33
* @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.
4+
* @description When pointers to local variables are returned by a function it can lead to referring
5+
* to objects outside of their lifetime, which is undefined behaviour.
66
* @kind problem
77
* @precision high
88
* @problem.severity error

0 commit comments

Comments
 (0)