mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
msm: ipa : Fix KW array index issue on dbg_buff
KW raise the issue of "array 'dbg_buff' of size 4096 may use index value(s) 4096." The fix is to increase the dbg_buff size to avoid it. Change-Id: Ibb02e7fa73d9c0fb8924c90c66052255acc8275f Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
parent
7c6f0d6195
commit
bdbd018656
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ const char *ipa3_hdr_proc_type_name[] = {
|
|||
};
|
||||
|
||||
static struct dentry *dent;
|
||||
static char dbg_buff[IPA_MAX_MSG_LEN];
|
||||
static char dbg_buff[IPA_MAX_MSG_LEN + 1];
|
||||
static char *active_clients_buf;
|
||||
|
||||
static s8 ep_reg_idx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue