You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/05/17 15:31:49 UTC

(commons-lang) 01/03: WordUtils.wrap() zero-width wrapOn regex match causes infinite loop (#1649).

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 33067a68ba98f69e5dc978a7fb263d0b3c6754f2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 17 15:31:01 2026 +0000

    WordUtils.wrap() zero-width wrapOn regex match causes infinite loop
    (#1649).
---
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index af50a961a..86d912aa2 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -149,6 +149,7 @@ java.lang.NullPointerException: Cannot invoke
     <action issue="LANG-1825" type="fix" dev="ggregory" due-to="Daniel Skiles, Gary Gregory">EqualsBuilder.reflectionAppend ttries to set visibility on excluded fields #1647.</action>
     <action                   type="fix" dev="ggregory" due-to="Omkhar Arasaratnam, Gary Gregory">ToStringStyle.appendDetail(StringBuffer,String,Collection) bypass cycle registry. #1648.</action>
     <action                   type="fix" dev="ggregory" due-to="Gary Gregory">ToStringStyle.appendDetail(StringBuffer,String,Map) bypass cycle registry. #1648.</action>
+    <action                   type="fix" dev="ggregory" due-to="Omkhar Arasaratnam, Gary Gregory">WordUtils.wrap() zero-width wrapOn regex match causes infinite loop (#1649).WordUtils.wrap() zero-width wrapOn regex match causes infinite loop (#1649).</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>