-
Notifications
You must be signed in to change notification settings - Fork 349
Audio: SRC: Add safeguard against missing, wrong size or type init data #8004
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
Conversation
|
@lgirdwood what Intel platforms are still using IPC3? What Intel platform completely switched to Zephyr? Do you support IPC3 + Zephyr? We plan to deprecate XTOS starting with Q4 on i.MX platforms. But we will still be using IPC3 + Zephyr for a while ( I guess) |
70b777b to
621279c
Compare
None on main. Only older platforms using stable-v2.2 branch for fixes only.
All Intel platforms on main. i.e. everything from Tigerlake onwards. All older platforms are on stable v2.2 branch with xtos + IPC3. |
In some error situations the configuration init_data may be NULL, and in such a situations we should fail gracefully and not crash. Also adds check that the IPC message is of correct type and for IPC3 only that it is of correct type. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
621279c to
c78efeb
Compare
|
SOFCI TEST |
|
Looks ready to go, just needs a clean CI run to merge. |
In some error situations the configuration init_data may be NULL, and in such a situations we should fail gracefully and not crash. Also adds check that the IPC message is of correct type and for IPC3 only that it is of correct type.
This is a reincarnation of #7830 that was reverted due to CI problems: #7985
The message type check is now done for IPC3 only.