--- /BinaryCodec.java	2023-07-05 03:13:30.322025243 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/BinaryCodec.java	2023-07-05 03:13:30.326025242 +0200
@@ -168,7 +168,7 @@
             return EMPTY_BYTE_ARRAY;
         }
         // get length/8 times bytes with 3 bit shifts to the right of the length
-        byte[] l_raw = new byte[ascii.length >> 3];
+byte[] l_ascii = new byte[raw.length << 3];byte[] l_raw = new byte[ascii.length >> 3];
         /*
          * We decr index jj by 8 as we go along to not recompute indices using multiplication every time inside the
          * loop.
