RE: [patch] megaraid_sas: harmless memory corruption in megasas_mgmt_fw_ioctl()

2015-02-25 Thread Sumit Saxena
it...@vger.kernel.org >Subject: [patch] megaraid_sas: harmless memory corruption in >megasas_mgmt_fw_ioctl() > >The intent here was for the "kbuff_arr[i] = NULL;" to be inside the loop but, >because the curly braces were missing, it's after the loop. >This mean

[patch] megaraid_sas: harmless memory corruption in megasas_mgmt_fw_ioctl()

2015-02-25 Thread Dan Carpenter
The intent here was for the "kbuff_arr[i] = NULL;" to be inside the loop but, because the curly braces were missing, it's after the loop. This means we corrupt a little memory one step beyond the array. Fortunately, we weren't going to use that memory anyway so it's harmless. Also we aren't going