Description: Fix CVE-2026-8594
Author: Robert Rothenberg <rrwo@cpansec.org>
Origin: https://github.com/hatukanezumi/Unicode-LineBreak/pull/6
Bug: https://github.com/hatukanezumi/Unicode-LineBreak/pull/6
Bug-Debian: https://bugs.debian.org/1138649
Forwarded: https://github.com/hatukanezumi/Unicode-LineBreak/pull/6
Last-Update: 2026-07-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lib/Text/LineFold.pm
+++ b/lib/Text/LineFold.pm
@@ -410,7 +410,7 @@
         if ($s =~ $special_break) {
             $result .= $s;
         } else {
-            $result .= $self->break($str);
+            $result .= $self->break($s);
         }
     }
 
