Commit 85c00643 authored by Paweł Wegner's avatar Paweł Wegner Committed by Thilo Borgmann

avformat/tls_schannel: Fix use of uninitialized variable

Fixes: runtime error: passing uninitialized value to FreeContextBuffer
causes a crash
Signed-off-by: 's avatarPaweł Wegner <pawel.wegner95@gmail.com>
parent 49efd41c
......@@ -148,7 +148,7 @@ static int tls_client_handshake_loop(URLContext *h, int initial)
TLSContext *c = h->priv_data;
TLSShared *s = &c->tls_shared;
SECURITY_STATUS sspi_ret;
SecBuffer outbuf[3];
SecBuffer outbuf[3] = { 0 };
SecBufferDesc outbuf_desc;
SecBuffer inbuf[2];
SecBufferDesc inbuf_desc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment