Re: [PATCH] dragonfly: Fix legendre symbol calculation failure handling

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

 



On Mon, Nov 06, 2023 at 10:49:15PM +0530, Chaitanya Tata wrote:
> In case of low-memory conditions, the computation for legendre symbol
> can fail and return -2 as per documentation, but the check for that
> was missed here. And this can can cause an infinite loop searching for
> qr and qnr.
> 
> Break the loop if calculation fails, we can leave retry to the callers
> or user.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux