shithub: opusfile

Download patch

ref: c741deb8633221418361e438b571c51990de80c9
parent: 28dce6b370a797cece178a12e50bdd04d599fa96
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Sat Sep 22 14:11:35 EDT 2012

Fix an uninitialized value in the http reader.

--- a/src/http.c
+++ b/src/http.c
@@ -513,8 +513,9 @@
     *pnext=_stream->conns+ci;
     pnext=&_stream->conns[ci].next;
   }
-  op_parsed_url_init(&_stream->url);
   _stream->ssl_ctx=NULL;
+  _stream->lru_head=NULL;
+  op_parsed_url_init(&_stream->url);
   op_sb_init(&_stream->request);
   _stream->seekable=0;
 }