Commit 8ed9be4
committed
audio: copier: add NULL converter validation to prevent DSP crashes
Multi-sink copier configurations can have uninitialized converter
function pointers. This causes EXCCAUSE 20 (NULL function pointer
dereference) crashes during audio processing.
This patch adds validation checks in do_conversion_copy() and
copier_module_copy() to detect NULL converter functions and return
proper error codes instead of crashing the DSP.
Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>1 parent 24dea7f commit 8ed9be4
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
548 | 554 | | |
549 | 555 | | |
550 | 556 | | |
| |||
625 | 631 | | |
626 | 632 | | |
627 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
628 | 641 | | |
629 | 642 | | |
630 | 643 | | |
| |||
0 commit comments