Skip to content

[Coverity CID: 525132] Unchecked return value in lib/libc/newlib/libc-hooks.c #90904

Closed
@zephyrbot

Description

@zephyrbot

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/d410b2cc6774d203c54a071530dd01e558de3adf/lib/libc/newlib/libc-hooks.c

Category: Error handling issues
Function: __retarget_lock_acquire_recursive
Component: libc
CID: 525132

Details:

k_mutex_lock((struct k_mutex *)lock, K_FOREVER);

Please fix or provide comments in coverity using the link:

https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=525132

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 MAINTAINERS file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoverityA Coverity detected issue or its fixarea: C LibraryC Standard LibrarybugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions