[alsa-devel] [PATCH v7 07/11] ASoC: topology: Add support to configure existing physical DAI links

Mark Brown broonie at kernel.org
Fri Nov 4 18:22:21 CET 2016


On Thu, Nov 03, 2016 at 01:04:27AM +0800, mengdong.lin at linux.intel.com wrote:

> +	name = strlen(cfg->name) ? cfg->name : NULL;
> +	stream_name = strlen(cfg->stream_name) ? cfg->stream_name : NULL;

Please replace these with normal if statements.  Also, are we sure that
we've sufficiently audited the input paths to ensure that the strings
are always terminated?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161104/76651ffb/attachment.sig>


More information about the Alsa-devel mailing list