mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/tls_schannel: Fix use of uninitialized variable
Fixes: runtime error: passing uninitialized value to FreeContextBuffer causes a crash Signed-off-by: Paweł Wegner <pawel.wegner95@gmail.com> (cherry picked from commit 85c00643b763bc62f3a15c19df44c3f1312bfe81)
This commit is contained in:
parent
fd5ae2ab7a
commit
c10b3db8f6
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user