Skip to content

Commit

Permalink
Merge pull request #136 from github/mbaluda/ValuesReturnedByLocaleSet…
Browse files Browse the repository at this point in the history
…tingUsedAsPtrToConst

Fix @kind format for RULE-21-19
  • Loading branch information
jsinglet committed Nov 10, 2022
2 parents 9ce9bf4 + d7697c3 commit b1074c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @description The pointers returned by the Standard Library functions localeconv, getenv,
* setlocale or, strerror shall only be used as if they have pointer to const-qualified
* type.
* @kind problem
* @kind path-problem
* @precision very-high
* @problem.severity error
* @tags external/misra/id/rule-21-19
Expand Down
2 changes: 1 addition & 1 deletion rule_packages/c/Contracts2.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"queries": [
{
"description": "The pointers returned by the Standard Library functions localeconv, getenv, setlocale or, strerror shall only be used as if they have pointer to const-qualified type.",
"kind": "problem",
"kind": "path-problem",
"name": "The pointers returned by environment functions should be treated as const",
"precision": "very-high",
"severity": "error",
Expand Down

0 comments on commit b1074c6

Please sign in to comment.