Skip to content

Conversation

JordanYates
Copy link
Contributor

templates: add tag for autogenerated files
treewide: const-ify const char pointers
epacket: keys: validation on provided key_type
net: coap: infuse_coap: remove strlen

Add a unique tag to autogenerated files such that analysis tools can
ignore them if desired (`sonar.issue.ignore.allfile`).

Signed-off-by: Jordan Yates <[email protected]>
Mark compile time constant string pointers as `const char *const`.

Signed-off-by: Jordan Yates <[email protected]>
Validate that the base `key_type` falls within the expected range.

Signed-off-by: Jordan Yates <[email protected]>
Since we're iterating over the string anyway, remove the initial
`strlen` call.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

Copy link

codecov bot commented Aug 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JordanYates JordanYates merged commit 3b5ff80 into main Aug 19, 2025
16 checks passed
@JordanYates JordanYates deleted the feature/strlen_fixes branch August 19, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant