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

[Backport v3.6-branch] stream_flash: stream_flash_erase_page does not check whether requested offset is in range of stream flash owned area #80637

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

de-nordic
Copy link
Collaborator

@de-nordic de-nordic commented Oct 30, 2024

Fixes #79800
failed backport: #80461

Added check where stream_flash_erase_page checks if requested
offset is actually within stream flash designated area.

Fixes #79800

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 8714c17)
@zephyrbot zephyrbot added the area: Storage Storage subsystem label Oct 30, 2024
@de-nordic de-nordic self-assigned this Oct 30, 2024
@aescolar aescolar added this to the v3.7.1 milestone Oct 30, 2024
aescolar
aescolar previously approved these changes Oct 30, 2024
@aescolar aescolar assigned nashif and unassigned de-nordic Oct 30, 2024
@de-nordic
Copy link
Collaborator Author

@aescolar If this gets target at 3.7.1, is the #80462 even needed?

@aescolar aescolar modified the milestones: v3.7.1, v3.6.1 Oct 30, 2024
@aescolar
Copy link
Member

@aescolar If this gets target at 3.7.1, is the #80462 even needed?

Sorry :), That was just me being clumsy

@aescolar aescolar changed the title Backport 79830 to v3.6 branch [Backport v3.6-branch] Backport 79830 to v3.6 branch Oct 30, 2024
@henrikbrixandersen henrikbrixandersen added the Backport Backport PR and backport failure issues label Nov 4, 2024
@henrikbrixandersen
Copy link
Member

@de-nordic Please look into the CI failures.

@de-nordic
Copy link
Collaborator Author

@de-nordic Please look into the CI failures.

Sorry I am fighting with build env to run that.

@de-nordic
Copy link
Collaborator Author

@henrikbrixandersen I need advice here: The added test is using feature that is not available in this release, it has been added later, which is possibility for device to not implement erase. What should I do now? Modify the test or drop it from backport?

@henrikbrixandersen
Copy link
Member

@henrikbrixandersen I need advice here: The added test is using feature that is not available in this release, it has been added later, which is possibility for device to not implement erase. What should I do now? Modify the test or drop it from backport?

I would drop the test from the backport.

@de-nordic
Copy link
Collaborator Author

@henrikbrixandersen I need advice here: The added test is using feature that is not available in this release, it has been added later, which is possibility for device to not implement erase. What should I do now? Modify the test or drop it from backport?

I would drop the test from the backport.

Thanks!

@nashif
Copy link
Member

nashif commented Nov 4, 2024

please change the PR title and do not include PR numbers in there

@de-nordic de-nordic changed the title [Backport v3.6-branch] Backport 79830 to v3.6 branch [Backport v3.6-branch] stream_flash: stream_flash_erase_page does not check whether requested offset is in range of stream flash owned area Nov 5, 2024
@de-nordic
Copy link
Collaborator Author

please change the PR title and do not include PR numbers in there

OK, fine, sorry. The PR naming for backports is not described anywhere.

@henrikbrixandersen henrikbrixandersen merged commit 03bc6e0 into v3.6-branch Nov 6, 2024
20 checks passed
@henrikbrixandersen henrikbrixandersen deleted the backport-79830-to-v3.6-branch branch November 6, 2024 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Storage Storage subsystem Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants