From 4714f8eb39f360325048dcfa06da048a0c4b2be9 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Tue, 12 Feb 2019 21:03:42 +0000 Subject: [PATCH] fix uninitialized memory use --- crypto/handshake.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/handshake.c b/crypto/handshake.c index 30eb788..ed81920 100644 --- a/crypto/handshake.c +++ b/crypto/handshake.c @@ -427,7 +427,6 @@ struct TLSPacket *tls_build_client_hello(struct TLSContext *context) { return NULL; } - free(packet->buf); packet->buf = shadow.buffer; packet->len = shadow.len; packet->size = shadow.size; -- 2.40.0