Commit 4849a71
Audio: SRC: Add safeguard against missing, wrong size or type init data
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 size and of correct type.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 619477a commit 4849a71
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
924 | 930 | | |
925 | 931 | | |
926 | 932 | | |
| |||
0 commit comments