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

[STABLE-2.8] rimage/smex: code improvements / fixes #8608

Merged

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Dec 11, 2023

No description provided.

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

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit 7501b2e)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Validate section ptr

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit c0092bb)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
this will fix parameter order to: size, count

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit 0f72917)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Check fwrite status for error

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit 17c226b)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Check fwrite status for error

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit c1bd155)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
remove logically dead code

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit e30fedc)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Fixes commit #e5f337ba70a5

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit 63f958e)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Fixes error handling

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
(cherry picked from commit fd61ed6)
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

clean cherry-picks

@kv2019i kv2019i merged commit 505268c into thesofproject:stable-v2.8 Dec 12, 2023
41 of 45 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