Skip to content

Commit ca62995

Browse files
committed
Fix @kind from problem to path-problem
1 parent a62e2e1 commit ca62995

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/misra/src/rules/RULE-8-7-1/PointerArithmeticFormsAnInvalidPointer.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @name RULE-8-7-1: Pointer arithmetic shall not form an invalid pointer.
44
* @description Pointers obtained as result of performing arithmetic should point to an initialized
55
* object, or an element right next to the last element of an array.
6-
* @kind problem
6+
* @kind path-problem
77
* @precision high
88
* @problem.severity error
99
* @tags external/misra/id/rule-8-7-1

rule_packages/cpp/Memory1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"queries": [
99
{
1010
"description": "Pointers obtained as result of performing arithmetic should point to an initialized object, or an element right next to the last element of an array.",
11-
"kind": "problem",
11+
"kind": "path-problem",
1212
"name": "Pointer arithmetic shall not form an invalid pointer.",
1313
"precision": "high",
1414
"severity": "error",

0 commit comments

Comments
 (0)