Closed Skptak closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.00%. Comparing base (
345a86d
) to head (f5fae02
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
No data about Duplication
Description
During PR review of the ARM_CRx_MPU port a check for permissions inside of
xPortIsAuthorizedToAccessBuffer()
was modified and introduced a new bug. The check for if the task had write permissions to a variable it was attempting to read from was removed. This PR fixes this by adding this check back in.Test Steps
Run the following code from an unprivileged task.
This will cause a failure in the existing version of xPortIsAuthorizedToAccessBuffer(). Currently there is no check for if the buffer being used is allowed write access.
This PR fixes this issue.
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.