Call Deflator::IsolatedInitialize during Gzip init (GH #660)

This commit is contained in:
Jeffrey Walton 2018-07-11 17:10:32 -04:00
parent 9b4476ef7b
commit 7eb0535a98
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -14,6 +14,8 @@ static inline bool Is8859Character(char c) {
void Gzip::IsolatedInitialize(const NameValuePairs &parameters)
{
Deflator::IsolatedInitialize(parameters);
ConstByteArrayParameter v;
if (parameters.GetValue(Name::FileName(), v))
m_filename.assign(reinterpret_cast<const char*>(v.begin()), v.size());