HomePhabricator

dh: harden error handling in 'ssh_dh_init_common'

Authored by simonsj on Wed, Jan 30, 2:25 AM.

Description

dh: harden error handling in 'ssh_dh_init_common'

Harden the error path in 'ssh_dh_init_common' such that
all potential allocations are free'd upon exit.

Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnWed, Jan 30, 1:22 PM
Parents
rLIBSSH3334443089c5: dh: plug pubkey_blob leak in ssh_server_dh_process_init
Branches
Unknown
Tags
Unknown