--- /DoubleMetaphone.java	2023-07-05 03:07:30.822035688 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/DoubleMetaphone.java	2023-07-05 03:07:30.830035688 +0200
@@ -124,7 +124,7 @@
                 index = charAt(value, index + 1) == 'F' ? index + 2 : index + 1;
                 break;
             case 'G':
-                index = handleG(value, result, index, slavoGermanic);
+index = handleG ( value, result, maxLength, slavoGermanic ) ;
                 break;
             case 'H':
                 index = handleH(value, result, index);
