Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipc: Tolerate uninitialized source/sink list nodes
These list heads in the comp_dev struct are not uniformly initialized (grepping the source, the list_init() calls for these fields seem to be spread around the source tree in individual components). Fuzzing is seeing nulls here, presumably because it's possible to reach ipc_comp_free() in "unintended lifecycle" circumstances where they weren't initialized. Check the fields before crashing. Signed-off-by: Andy Ross <andyross@google.com>
- Loading branch information