Search Linux Wireless

Re: [PATCH] mwifiex: protect against divide by zero in mwifiex_set_ibss_params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yiyuan GUO <yguoaz@xxxxxxxxx> wrote:

> In function mwifiex_set_ibss_params, the variable index may remain
> zero if it is never altered inside the loop, leading to a potential
> divide by zero problem.
> 
> Signed-off-by: Yiyuan GUO <yguoaz@xxxxxxxxxx>

Brian explains in the report why the code is ok:
https://bugzilla.kernel.org/show_bug.cgi?id=212993#c1

Patch set to Rejected.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210521024834.8354-1-yguoaz@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux