[ 
https://issues.apache.org/jira/browse/HDDS-12203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17925284#comment-17925284
 ] 

Attila Doroszlai edited comment on HDDS-12203 at 2/8/25 3:01 PM:
-----------------------------------------------------------------

Thanks [~oneonestar] for the fix.  I don't think it's applicable to 1.4.x, 
because {{initialize()}} was introduced only for 2.0 (HDDS-11220).

[~weichiu]


was (Author: adoroszlai):
Thanks [~oneonestar] for the fix.  I don't think it's applicable to 1.4.x, 
because {{initialize()}} was introduced only for 2.0 (HDDS-11220).

> 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: 2.0.0
>            Reporter: Star Poon
>            Assignee: Star Poon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> [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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to