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.5-branch] settings: shell: Fix possible buffer overflow #66584

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Dec 15, 2023

Backport 8977784 from #66451.

Fixes #66586

Checks the size of the given string before copying it to internal
buffer.

Signed-off-by: Flavio Ceolin <[email protected]>
(cherry picked from commit 8977784)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Settings Settings subsystem labels Dec 15, 2023
@fabiobaltieri
Copy link
Member

@ceolin is there an issue for this?

@ceolin
Copy link
Member

ceolin commented Dec 15, 2023

@ceolin is there an issue for this?

Yep, I was creating it #66586

@fabiobaltieri fabiobaltieri requested a review from ceolin December 19, 2023 16:00
@fabiobaltieri fabiobaltieri merged commit 64e2ec4 into v3.5-branch Dec 21, 2023
20 checks passed
@nashif nashif deleted the backport-66451-to-v3.5-branch branch February 13, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Settings Settings subsystem Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants