[ 
https://issues.apache.org/jira/browse/KUDU-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Serbin updated KUDU-3647:
--------------------------------
    Description: 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 
{{inflate(...)}} had 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}}.  (was: 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}}.)

> 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.14.0, 1.15.0, 1.16.0, 1.17.0, 1.17.1
>            Reporter: Alexey Serbin
>            Priority: Major
>
> 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 
> {{inflate(...)}} had 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