zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.73k stars 6.55k forks source link

[Coverity CID: 240232] Uninitialized scalar variable in tests/lib/cmsis_dsp/matrix/src/unary_q31.c #39858

Closed zephyrbot closed 8 months ago

zephyrbot commented 2 years ago

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/c0fcd35531611bbe35376c62a9e50744d6904940/tests/lib/cmsis_dsp/matrix/src/unary_q31.c

Category: Uninitialized variables Function: test_op1c Component: Tests CID: 240232

Details:

https://github.com/zephyrproject-rtos/zephyr/blob/c0fcd35531611bbe35376c62a9e50744d6904940/tests/lib/cmsis_dsp/matrix/src/unary_q31.c

Please fix or provide comments in coverity using the link:

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

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

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.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

ceolin commented 8 months ago

Still reported by Coverity.

stephanosio commented 8 months ago

False positive: default: zassert_unreachable does not return, and status will always be set otherwise.