Skip to content

[Coverity CID :190950]Integer handling issues in /arch/arm/core/cortex_m/mpu/nxp_mpu.c #13865

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

Closed
mandarcthorat1 opened this issue Feb 27, 2019 · 0 comments · Fixed by #13909
Closed
Assignees
Labels
area: Architectures area: ARM ARM (32-bit) Architecture area: Memory Protection bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix platform: NXP NXP priority: medium Medium impact/importance bug

Comments

@mandarcthorat1
Copy link
Contributor

Static code scan issues seen in File: /arch/arm/core/cortex_m/mpu/nxp_mpu.c
Category: Integer handling issues
Function: _mpu_sram_partitioning
Component: Architectures
CID: 190950
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: Architectures bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix labels Feb 27, 2019
@galak galak added area: ARM ARM (32-bit) Architecture area: Memory Protection platform: NXP NXP priority: medium Medium impact/importance bug labels Feb 27, 2019
ioannisg added a commit to ioannisg/zephyr that referenced this issue Feb 28, 2019
This commit fixes two Constant Expression Result errors,
in the NXP MPU driver due to incompatible integer types.

Fixes zephyrproject-rtos#13836.
Fixes zephyrproject-rtos#13865.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
galak pushed a commit that referenced this issue Feb 28, 2019
This commit fixes two Constant Expression Result errors,
in the NXP MPU driver due to incompatible integer types.

Fixes #13836.
Fixes #13865.

Signed-off-by: Ioannis Glaropoulos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Architectures area: ARM ARM (32-bit) Architecture area: Memory Protection bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix platform: NXP NXP priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants