f sshpkt functions fail, then password is not cleared with freezero.
authordtucker <dtucker@openbsd.org>
Fri, 27 May 2022 04:29:40 +0000 (04:29 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 27 May 2022 04:29:40 +0000 (04:29 +0000)
commit19b6d7c65f2ce5bf7709f16c9eea79f2fee920e1
treea7a5b5180fe0d663bb7730509895a524c8980c65
parentdca1b0d0e7409f6a473a92cd039ccc31b15056ce
f sshpkt functions fail, then password is not cleared with freezero.
Unconditionally call freezero to guarantee that password is removed
from RAM.

From tobias@ and c3h2_ctf via github PR#286, ok djm@
usr.bin/ssh/auth2-passwd.c