mirror of https://github.com/thesofproject/sof.git
1a7a36a84c
Due to allocation failures, or invalid content in dictionary, "params" entries in "struct proc_ldc_entry" may be NULL. In print_entry_params(), the NULL entries may be passed as arguments to fprintf(). While e.g. glibc handles these without error, this is not guaranteed behaviour and may result in segfault on some platforms. Fix the issue by aborting program if allocation fails and explicitly handling the cases when asprintf_entry_text returns NULL. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
config.h.in | ||
convert.c | ||
convert.h | ||
filter.c | ||
filter.h | ||
logger.c | ||
misc.c | ||
misc.h |