[PATCH] src/common/dpp_crypto.c : fix uninitialised variable
Jan Ceuleers
jan.ceuleers at gmail.com
Thu Mar 10 08:24:56 PST 2022
On 09/03/2022 22:24, 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.
>
> Signed-off-by: Alasdair Mackintosh <alasdair at google.com>
I'm not familiar with the toolchain Jouni uses, but I suspect an actual
email address is needed in the Signed-off-by line rather than a
part-obfuscated-one.
HTH, Jan
More information about the Hostap
mailing list