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

driver: espi: npcx: prevent changing data content in host write func. #33166

Merged

Conversation

MulinChao
Copy link
Collaborator

@MulinChao MulinChao commented Mar 9, 2021

This CL prevents changing data content in the write function of host
interface by declaring it as constant pointer. Please refer issue 33024 for more detail.

Fixes #33024

Signed-off-by: Mulin Chao [email protected]

This CL prevents changing data content in the write function of host
interface by declaring it as constant pointer.

Signed-off-by: Mulin Chao <[email protected]>
@nashif nashif merged commit 0012ba5 into zephyrproject-rtos:master Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID :219668] Dereference after null check in drivers/espi/host_subs_npcx.c
5 participants