topology: fix potential null pointer from strchr

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

 



alsa-project/alsa-utils pull request #91 was opened from aiChaoSONG:

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.

Signed-off-by: Chao Song <chao.song@xxxxxxxxxxxxxxx>

Request URL   : https://github.com/alsa-project/alsa-utils/pull/91
Patch URL     : https://github.com/alsa-project/alsa-utils/pull/91.patch
Repository URL: https://github.com/alsa-project/alsa-utils



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

  Powered by Linux