Set linesize returned by getline to zero when freeing and NULLing the
authordtucker <dtucker@openbsd.org>
Sun, 31 Jan 2021 10:50:10 +0000 (10:50 +0000)
committerdtucker <dtucker@openbsd.org>
Sun, 31 Jan 2021 10:50:10 +0000 (10:50 +0000)
commita0f6d93f76aea7dc47d1c082382b4f998c75495c
tree251650ae7312d986abaf9bbaaf2791d6e9c3f3f5
parent82783e0e8f073e431b8a206b57543fecd1399489
Set linesize returned by getline to zero when freeing and NULLing the
returned string.  OpenBSD's getline handles this just fine, but some
implementations used by -portable do not.  ok djm@
usr.bin/ssh/sshsig.c