HomePhabricator

dh: Avoid segmentation fault in GEX if fallback to known moduli

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Jun 7 2019, 7:08 PM.

Description

dh: Avoid segmentation fault in GEX if fallback to known moduli

Make ssh_fallback_group() to duplicate the modulus and generator.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnJun 12 2019, 12:37 PM
Parents
rLIBSSH765691195394: bignum: Define bignum_dup(bignum orig, bignum *dest)
Branches
Unknown
Tags
Unknown