diff options
author | Jon Simons <jon@jonsimons.org> | 2014-10-18 23:23:26 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-12-17 19:45:23 +0100 |
commit | 87ae95eb3c2f35d3e8e00eca43d0711ab2737ef5 (patch) | |
tree | 30deb98d71ab265e0f361fa8d5dfc62105161d40 /include/libssh/libssh.h | |
parent | 055f102601c201463d628d910c2f9dfe0e91d075 (diff) | |
download | libssh-87ae95eb3c2f35d3e8e00eca43d0711ab2737ef5.tar.gz libssh-87ae95eb3c2f35d3e8e00eca43d0711ab2737ef5.tar.xz libssh-87ae95eb3c2f35d3e8e00eca43d0711ab2737ef5.zip |
CVE-2014-8132: Fixup error path in ssh_packet_kexinit()
Before this change, dangling pointers can be unintentionally left in the
respective next_crypto kex methods slots. Ensure to set all slots to
NULL in the error-out path.
Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 2ced24ddd67a261dc364ad4d8958c068c1671ae7)
Diffstat (limited to 'include/libssh/libssh.h')
0 files changed, 0 insertions, 0 deletions