trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: The Brotli buffer pointer is was not being set to a default value
Date Wed, 03 May 2017 02:31:52 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  de9a958   The Brotli buffer pointer is was not being set to a default value
de9a958 is described below

commit de9a9586cbb3648b7a6c8c5d080f7f041a21d446
Author: Bryan Call <bcall@apache.org>
AuthorDate: Tue May 2 17:22:17 2017 -0700

    The Brotli buffer pointer is was not being set to a default value
---
 plugins/gzip/gzip.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/gzip/gzip.cc b/plugins/gzip/gzip.cc
index da12ddc..51718f8 100644
--- a/plugins/gzip/gzip.cc
+++ b/plugins/gzip/gzip.cc
@@ -109,6 +109,7 @@ data_alloc(int compression_type, int compression_algorithms)
     }
   }
 #if HAVE_BROTLI_ENCODE_H
+  data->bstrm.br = nullptr;
   if (compression_type & COMPRESSION_TYPE_BROTLI) {
     debug("gzip-transform: brotli compression. Create Brotli Encoder Instance.");
     data->bstrm.br = BrotliEncoderCreateInstance(0, 0, 0);

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message