Re: [PATCH] src/common/dpp_crypto.c : fix uninitialised variable

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

 



On Wed, Mar 09, 2022 at 01:24:49PM -0800, Alasdair Mackintosh wrote:
> The current code generates a warning when compiled by Clang, because
> if we goto 'fail:', pasword_len  can be uninitialised when we pass it
> in to bin_clear_free().
> 
> Note that the actual usage is safe, because bin_clear_free() ignores
> the second argument if the first argument is NULL, but it still seems
> worth cleaning up.

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