You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Star Poon (Jira)" <ji...@apache.org> on 2025/02/04 13:40:00 UTC

[jira] [Created] (HDDS-12203) skip() in MultipartInputStream doesn't call initialize()

Star Poon created HDDS-12203:
--------------------------------

             Summary: skip() in MultipartInputStream doesn't call initialize()
                 Key: HDDS-12203
                 URL: https://issues.apache.org/jira/browse/HDDS-12203
             Project: Apache Ozone
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Star Poon
            Assignee: Star Poon


[https://github.com/apache/ozone/blob/cfe56dee0e85ed7cd1efa7edba72228668c2e292/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/MultipartInputStream.java#L222-L230]

skip() in MultipartInputStream doesn't call initialize(), which means `length` isn't valid before use.

Also see: https://github.com/apache/ozone/pull/7801#issuecomment-2633223461



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org