Skip to content

Commit 6ffbf79

Browse files
committed
Address incorrect meta data C Banned package
- Fix spelling mistake in obligation key. - Add missing punctuations.
1 parent 9db80c7 commit 6ffbf79

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

c/cert/src/rules/ENV33-C/DoNotCallSystem.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @problem.severity error
88
* @tags external/cert/id/env33-c
99
* security
10-
* external/cert/obligtion/rule
10+
* external/cert/obligation/rule
1111
*/
1212

1313
import cpp

c/misra/src/rules/RULE-4-12/StdLibDynamicMemoryAllocationUsed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @name RULE-4-12: Dynamic memory allocation shall not be used
44
* @description Using dynamic memory allocation and deallocation can result to undefined behavior.
55
* This query is for the Standard Library Implementation. Any implementation outside it
6-
* will require a separate query under the same directive
6+
* will require a separate query under the same directive.
77
* @kind problem
88
* @precision very-high
99
* @problem.severity error

rule_packages/c/Banned.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"CERT-C": {
33
"ENV33-C": {
44
"properties": {
5-
"obligtion": "rule"
5+
"obligation": "rule"
66
},
77
"queries": [
88
{
@@ -310,7 +310,7 @@
310310
},
311311
"queries": [
312312
{
313-
"description": "Using dynamic memory allocation and deallocation can result to undefined behavior. This query is for the Standard Library Implementation. Any implementation outside it will require a separate query under the same directive",
313+
"description": "Using dynamic memory allocation and deallocation can result to undefined behavior. This query is for the Standard Library Implementation. Any implementation outside it will require a separate query under the same directive.",
314314
"kind": "problem",
315315
"name": "Dynamic memory allocation shall not be used",
316316
"precision": "very-high",

0 commit comments

Comments
 (0)