From 7564e9e71207edafd85b1edc4dea26d45089b146 Mon Sep 17 00:00:00 2001 From: Lalit Maganti Date: Thu, 31 Oct 2024 13:26:52 +0000 Subject: [PATCH] tp: add handling of the language encoding zip flag We don't need to pay attention to it really: our files are all in ASCII anyway. Fixes: 376640457 Change-Id: I3f1cc6f1d2dceb65dfe7ad224ca4c3daa761df4f --- src/trace_processor/util/zip_reader.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/trace_processor/util/zip_reader.cc b/src/trace_processor/util/zip_reader.cc index 1ec0cf50db..f65f0b7ab4 100644 --- a/src/trace_processor/util/zip_reader.cc +++ b/src/trace_processor/util/zip_reader.cc @@ -60,7 +60,9 @@ enum GeneralPurposeBitFlag : uint32_t { k8kSlidingDictionary = 1u << 1, kShannonFaro = 1u << 2, kDataDescriptor = 1u << 3, - kUnknown = ~((1u << 4) - 1), + kLangageEncoding = 1u << 11, + kUnknown = ~(kEncrypted | k8kSlidingDictionary | kShannonFaro | + kDataDescriptor | kLangageEncoding), }; // Compression flags.