Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Coverity CID: 321109] Unchecked return value in subsys/mgmt/mcumgr/smp/src/smp.c #59560

Closed
zephyrbot opened this issue Jun 21, 2023 · 0 comments · Fixed by #59590
Closed

[Coverity CID: 321109] Unchecked return value in subsys/mgmt/mcumgr/smp/src/smp.c #59560

zephyrbot opened this issue Jun 21, 2023 · 0 comments · Fixed by #59590
Assignees
Labels
area: mcumgr bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: medium Medium impact/importance bug

Comments

@zephyrbot
Copy link
Collaborator

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/ce3317d03e46e1a218af3e712383d9216c48a992/subsys/mgmt/mcumgr/smp/src/smp.c

Category: Error handling issues
Function: smp_handle_single_payload
Component: Other
CID: 321109

Details:

zcbor_map_start_encode(cbuf->writer->zs,

Please fix or provide comments in coverity using the link:

https://scan9.scan.coverity.com/reports.htm#v29271/p12996.

For more information about the violation, check the Coverity Reference. (CWE-252)

Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the CODEOWNERS file.

@zephyrbot zephyrbot added area: mcumgr bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: medium Medium impact/importance bug labels Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcumgr bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants