alsa-utils/topology
Chao Song 3d7a6facd9 topology: fix potential null pointer from strchr
This patch adds check to the return pointer from strchr,
because it may be null and cause segment fault, if component
is not properly constructed.

Fixes: https://github.com/alsa-project/alsa-utils/pull/91
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-06-02 16:55:57 +02:00
..
alsatplg.rst alsatplg: add decode command 2020-02-09 20:52:30 +01:00
Makefile.am topology: pre-process-dai: add support for hwcfg objects 2021-05-25 18:26:51 +02:00
pre-process-class.c topology: some whitespace fixups 2021-05-25 18:36:46 +02:00
pre-process-dai.c topology: some whitespace fixups 2021-05-25 18:36:46 +02:00
pre-process-dapm.c topology: fix potential null pointer from strchr 2021-06-02 16:55:57 +02:00
pre-process-object.c topology: fix potential null pointer from strchr 2021-06-02 16:55:57 +02:00
pre-processor.c topology: pre-process-object: Add support for pre-processing Objects 2021-05-25 18:26:51 +02:00
pre-processor.h topology: some whitespace fixups 2021-05-25 18:36:46 +02:00
topology.c topology: Add support for pre-processing Topology2.0 syntax 2021-05-25 18:26:51 +02:00
topology.h topology: Add support for pre-processing Topology2.0 syntax 2021-05-25 18:26:51 +02:00