Yes, you are right. I will send a new patch.
Young
On 2018/11/28 14:51, Dan Carpenter wrote:
> The original code is OK.
>
> On Wed, Nov 28, 2018 at 02:22:31AM +, Yang Xiao wrote:
>> From: Young Xiao
>>
>> In routine rtw_report_sec_ie(), the code could set the length
>> of the buffer to 256;
The original code is OK.
On Wed, Nov 28, 2018 at 02:22:31AM +, Yang Xiao wrote:
> From: Young Xiao
>
> In routine rtw_report_sec_ie(), the code could set the length
> of the buffer to 256; however, that value is one larger than the
> corresponding memory allocation.
>
> See commit 8b7a13c3f