This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 51c84dfb6cfd3321aff4bdbec1566d0bd93bbe54 Author: Gary Gregory <[email protected]> AuthorDate: Wed Jun 10 18:42:08 2026 -0400 Fix int overflow in StringUtils.midString() and StrBuilder.midString() length handling --- src/changes/changes.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6c0a3216d..b57977ce2 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -184,6 +184,7 @@ java.lang.NullPointerException: Cannot invoke <action type="fix" dev="ggregory" due-to="Gary Gregory">EventListenerSupport.readObject(ObjectInputStream) should validate constructor invariants (#1695).</action> <action type="fix" dev="ggregory" due-to="mfg92">Correct JavaDoc in Strings.java concerning case-sensitivity (#1696).</action> <action type="fix" dev="ggregory" due-to="alhudz, Gary Gregory">Fix case-insensitive Strings.replace() dropping length-changing matches (#1697).</action> + <action type="fix" dev="ggregory" due-to="alhudz">Fix int overflow in StringUtils.midString() and StrBuilder.midString() length handling (#1699).</action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Gary Gregory">Add JavaVersion.JAVA_27.</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add SystemUtils.IS_JAVA_27.</action>
