Alexey Serbin created KUDU-3647:
-----------------------------------

             Summary: zlib::Uncompress() implementation isn't robust enough to 
detect truncated input data
                 Key: KUDU-3647
                 URL: https://issues.apache.org/jira/browse/KUDU-3647
             Project: Kudu
          Issue Type: Bug
          Components: hms, master, server, util
    Affects Versions: 1.17.1, 1.17.0, 1.16.0, 1.15.0, 1.14.0
            Reporter: Alexey Serbin


Along with modifications introduced with 
[KUDU-3201|https://issues.apache.org/jira/browse/KUDU-3201], there was an 
update on {{zlib::Uncompress(...)}} where the condition on continuing calling 
{{inflate(...)}} changed.  That leads to inability to detect truncated gzip 
data in some scenarios, e.g. something that {{DecodeBase64()}} produced prior 
fixing [KUDU-3646|https://issues.apache.org/jira/browse/KUDU-3646].  The litmus 
test for that is {{HmsNotificationLogListenerTest.TestGzipEventDecoding}} in 
{{hms_notification_log_listener-test.cc}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to