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 :186029] Null pointer dereferences in /subsys/disk/disk_access.c #7740

Closed
mandarcthorat1 opened this issue May 22, 2018 · 0 comments
Assignees
Labels
area: Other bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix

Comments

@mandarcthorat1
Copy link
Contributor

Static code scan issues seen in File: /subsys/disk/disk_access.c
Category: Null pointer dereferences
Function: disk_access_read
Component: Other
CID: 186029
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

@mandarcthorat1 mandarcthorat1 added area: Other bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix labels May 22, 2018
ramakrishnapallala pushed a commit to ramakrishnapallala/zephyr that referenced this issue May 23, 2018
Fix NULL pointerer checks for disk supported operatins.

CID: 186027
CID: 186029
CID: 186045
CID: 186056
CID: 186063

Fixes Issues zephyrproject-rtos#7742 zephyrproject-rtos#7740 zephyrproject-rtos#7726 zephyrproject-rtos#7718 zephyrproject-rtos#7712

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
nashif pushed a commit that referenced this issue May 23, 2018
Fix NULL pointerer checks for disk supported operatins.

CID: 186027
CID: 186029
CID: 186045
CID: 186056
CID: 186063

Fixes Issues #7742 #7740 #7726 #7718 #7712

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Other bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix
Projects
None yet
Development

No branches or pull requests

2 participants