]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
handshake: add missing initialization of local variable
authorDaiki Ueno <dueno@redhat.com>
Mon, 25 Mar 2019 15:06:39 +0000 (16:06 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 27 Mar 2019 06:20:12 +0000 (07:20 +0100)
Resolves: #704

Signed-off-by: Daiki Ueno <dueno@redhat.com>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/handshake-tls13.c

index 33ed3afa3b1473a14ca00043240a92c14ca9ef43..60f8030eb3b1dc7f704d21d1a0e1d0b7df4da667 100644 (file)
@@ -605,6 +605,8 @@ _gnutls13_recv_async_handshake(gnutls_session_t session)
                return gnutls_assert_val(GNUTLS_E_UNEXPECTED_PACKET);
 
        do {
+               _gnutls_handshake_buffer_init(&hsk);
+
                /* the received handshake message has already been pushed into
                 * handshake buffers. As we do not need to use the handshake hash
                 * buffers we call the lower level receive functions */