commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CODEC-231) StringUtils.equals(CharSequence cs1, CharSequence cs2) can fail with String Index OBE
Date Sun, 26 Mar 2017 21:44:42 GMT

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

Sebb resolved CODEC-231.
------------------------
       Resolution: Fixed
    Fix Version/s: 1.11

URL: http://svn.apache.org/viewvc?rev=1788777&view=rev
Log:
CODEC-231 StringUtils.equals(CharSequence cs1, CharSequence cs2) can fail with String Index
OBE

Modified:
    commons/proper/codec/trunk/src/changes/changes.xml
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java
    commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/StringUtilsTest.java


> StringUtils.equals(CharSequence cs1, CharSequence cs2) can fail with String Index OBE
> -------------------------------------------------------------------------------------
>
>                 Key: CODEC-231
>                 URL: https://issues.apache.org/jira/browse/CODEC-231
>             Project: Commons Codec
>          Issue Type: Bug
>    Affects Versions: 1.10
>            Reporter: Sebb
>             Fix For: 1.11
>
>
> StringUtils.equals(CharSequence cs1, CharSequence cs2) fails with String Index OBE if
the two sequences are different lengths.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message