commit | be3e5649770c846e00f9be37e1c29918d4078c72 | [log] [tgz] |
---|---|---|
author | Xiaoke Wang <xkernel.wang@foxmail.com> | Mon Dec 13 15:39:31 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 29 12:14:48 2021 +0100 |
tree | d7e5180b1aae789a6d2bcdba156930cab71ca8dc | |
parent | efe8f55ce9ade497b60ebb71d79e0d9b5a66b45f [diff] |
ALSA: jack: Check the return value of kstrdup() commit c01c1db1dc632edafb0dff32d40daf4f9c1a4e19 upstream. kstrdup() can return NULL, it is better to check the return value of it. Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/tencent_094816F3522E0DC704056C789352EBBF0606@qq.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>