You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/06/28 14:57:00 UTC

[jira] [Resolved] (THRIFT-5190) StringUtils haven't take `(offset + length) > bytes.length` into account

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

Jens Geyer resolved THRIFT-5190.
--------------------------------
    Fix Version/s: 0.14.0
         Assignee: dugenkui
       Resolution: Fixed

> StringUtils haven't take `(offset + length) > bytes.length` into account
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-5190
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5190
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.13.0
>            Reporter: dugenkui
>            Assignee: dugenkui
>            Priority: Major
>             Fix For: 0.14.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> # haven't take ‘(offset + length) > bytes.length' into account;
>  # `if ((offset | length | (offset + length) | (size - (offset + length))) < 0)` will faster than `>`
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)