ffmpeg | branch: release/3.2 | Paweł Wegner <pawel.wegne...@gmail.com> | Thu Aug 2 21:08:12 2018 +0200| [27fec5be47603c191f9446180024e292ef12824d] | committer: Jan Ekström
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.wegne...@gmail.com> (cherry picked from commit 85c00643b763bc62f3a15c19df44c3f1312bfe81) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=27fec5be47603c191f9446180024e292ef12824d --- libavformat/tls_schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c index c11b7d42cf..a8907eb3bb 100644 --- a/libavformat/tls_schannel.c +++ b/libavformat/tls_schannel.c @@ -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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".