[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] dh-gex + dh: fix a couple of leaks


Included here are some patches to the dh-gex and dh areas to fix
a few leaks and harden some error handling.

Also available here:
 * https://github.com/simonsj/libssh/tree/simonsj/patch/1-29-2019/dh-fixes
 * https://gitlab.com/simonsj1/libssh-mirror/tree/simonsj/patch/1-29-2019/dh-fixes

Jon Simons (4):
  dh-gex: fix moduli file stream leak
  dh-gex: fix double-ssh_dh_init_common memory leak
  dh: plug pubkey_blob leak in ssh_server_dh_process_init
  dh: harden error handling in 'ssh_dh_init_common'

 src/dh-gex.c | 7 +------
 src/dh.c     | 8 +++++++-
 2 files changed, 8 insertions(+), 7 deletions(-)

-- 
2.19.1.593.gc670b1f


Follow-Ups:
[PATCH 1/4] dh-gex: fix moduli file stream leakJon Simons <jon@xxxxxxxxxxxxx>
[PATCH 2/4] dh-gex: fix double-ssh_dh_init_common memory leakJon Simons <jon@xxxxxxxxxxxxx>
[PATCH 3/4] dh: plug pubkey_blob leak in ssh_server_dh_process_initJon Simons <jon@xxxxxxxxxxxxx>
[PATCH 4/4] dh: harden error handling in 'ssh_dh_init_common'Jon Simons <jon@xxxxxxxxxxxxx>
unsubscribezhengfish <zhengfish@xxxxxxxxx>
Re: [PATCH 0/4] dh-gex + dh: fix a couple of leaksAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org