asoc: codecs: Increase size of proc_name

Increase size of proc_name to prevent buffer overflow in snprintf
function.

Change-Id: I183d2762d2d60c4b40969b1ddce9b4d5588e7051
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
Tento commit je obsažen v:
Faiz Nabi Kuchay
2019-07-16 13:26:28 +05:30
rodič 89924096d7
revize bd1e4dfdbe

Zobrazit soubor

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2019, The Linux Foundation. All rights reserved.
*/
#include <linux/module.h>
@@ -52,7 +52,7 @@
mutex_unlock(lock); \
}
#define WCD_CPE_STATE_MAX_LEN 11
#define WCD_CPE_STATE_MAX_LEN 32
#define CPE_OFFLINE_WAIT_TIMEOUT (2 * HZ)
#define CPE_READY_WAIT_TIMEOUT (3 * HZ)
#define WCD_CPE_SYSFS_DIR_MAX_LENGTH 32