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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 03, 2016 at 01:04:27AM +0800, mengdong.lin@xxxxxxxxxxxxxxx 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?

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux