Index: libs/iostreams/src/gzip.cpp =================================================================== --- libs/iostreams/src/gzip.cpp (revision 74423) +++ libs/iostreams/src/gzip.cpp (working copy) @@ -62,7 +62,7 @@ case s_os: os_ = value; if (flags_ & gzip::flags::extra) { - state_ = s_extra; + state_ = s_xlen; } else if (flags_ & gzip::flags::name) { state_ = s_name; } else if (flags_ & gzip::flags::comment) {