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

[PATCH 0/2] pki: fix one segfault and some memory leaks


Here are two fixes for the pki area.  The first resolves a potential
segfault, and the second plugs some memory leaks which could be
encountered in some error paths.

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

Jon Simons (2):
  pki: NULL check pki_signature_from_rsa_blob result
  pki_crypto: plug pki_signature_from_blob leaks

 src/pki_crypto.c     | 11 +++++++++++
 src/pki_mbedcrypto.c |  3 +++
 2 files changed, 14 insertions(+)

-- 
2.19.1.593.gc670b1f


Archive administrator: postmaster@lists.cynapses.org