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

rimage/smex: code improvements / fixes #8604

Merged
merged 8 commits into from
Dec 11, 2023

Conversation

abonislawski
Copy link
Member

Cherry-pick from MTL-007 branch

Mainly fixes for scan errors

read module function should only read module,
additional free operation could result in double free scenario

Signed-off-by: Adrian Bonislawski <[email protected]>
Validate section ptr

Signed-off-by: Adrian Bonislawski <[email protected]>
this will fix parameter order to: size, count

Signed-off-by: Adrian Bonislawski <[email protected]>
Check fwrite status for error

Signed-off-by: Adrian Bonislawski <[email protected]>
Check fwrite status for error

Signed-off-by: Adrian Bonislawski <[email protected]>
remove logically dead code

Signed-off-by: Adrian Bonislawski <[email protected]>
Fixes commit #e5f337ba70a5

Signed-off-by: Adrian Bonislawski <[email protected]>
Fixes error handling

Signed-off-by: Adrian Bonislawski <[email protected]>
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few commits have bit of very-short-on-what-was-the-problem syndrome, but code changes seem good. I assume we should cherry-pick these to stable-v2.8 as well.

@kv2019i kv2019i merged commit fd61ed6 into thesofproject:main Dec 11, 2023
43 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants