~canonical-hwe-team/hwe-next/+git/sof:revert-6719-static_analysis_fix3

Last commit made on 2022-12-08
Get this branch:
git clone -b revert-6719-static_analysis_fix3 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
revert-6719-static_analysis_fix3
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

a4c6f9c... by Marcin Szkudlinski <email address hidden>

Revert "ipc4: fix ret value of set_pipeline_state"

This reverts commit b9b5750d1b682b7a248ace1bf250220ea2d95aef.

b9b5750... by Jaroslaw Stelter <email address hidden>

ipc4: fix ret value of set_pipeline_state

The set_pipeline_state() function could potentially end up with
uninitialised ret variable. Set it to 0 to avoid returning
uninitialised.

Signed-off-by: Jaroslaw Stelter <email address hidden>

b376057... by Marcin Szkudlinski <email address hidden>

copier: fix: prevent possible out of array bound access

Index of copier_data::converter and copier_data::out_fmt
are taken from the structure without validation
The data in the structure, however, should be validated before,
so an assert is introduced to force a controlled panic in
unlike event of overflow

Signed-off-by: Marcin Szkudlinski <email address hidden>

87b0acf... by Marcin Szkudlinski <email address hidden>

copier: fix: return value of create_dai may not be initialzied

in case dai_count is zero - which is not a valid situation anyway,
create_dai may return not initialized value

Signed-off-by: Marcin Szkudlinski <email address hidden>

8576058... by Marcin Szkudlinski <email address hidden>

copier: prevent possible overflow in array index.

a writing out of array bounds may occur if alh_blob->alh_cfg.count
is bigger than assumed array size

Signed-off-by: Marcin Szkudlinski <email address hidden>

6351b9a... by Marcin Szkudlinski <email address hidden>

west: update rimage and zephyr commits

move rimge and zephyr commits to newest
commits from mtl-002-drop-stable branches

Signed-off-by: Marcin Szkudlinski <email address hidden>

01f7a13... by Serhiy Katsyuba <email address hidden>

ipc4: copier: remove redundant assignment

Removes variable cd->converter[i] assigning to self. This
fixes error reported by static code analyzer.

Signed-off-by: Serhiy Katsyuba <email address hidden>

caea9ee... by Jaroslaw Stelter <email address hidden>

iadk modules: Add variable initialization

This patch adds initialization of module_size_ variable
in SystemAgent() creator.

Signed-off-by: Jaroslaw Stelter <email address hidden>

f90f5f9... by Jaroslaw Stelter <email address hidden>

library_manager: Fix dma_ext initialization issue

The dma_ext structure must be zeroed before use to avoid
using random values in failure recovery path.

Signed-off-by: Jaroslaw Stelter <email address hidden>

fd08240... by Adrian Bonislawski <email address hidden>

west: update to newer Zephyr baseline with SSP fix

Update Zephyr co commit e2371d489f9a from mtl-002-drop-stable branch

Signed-off-by: Adrian Bonislawski <email address hidden>