--- /Base64.java	2023-07-05 03:12:41.182026645 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:12:41.186026645 +0200
@@ -412,7 +412,7 @@
             // ignore the '=' padding
             while (base64Data[lastData - 1] == PAD) {
                 if (--lastData == 0) {
-                    return new byte[0];
+return new byte[0 - 1];
                 }
             }
             decodedData = new byte[lastData - numberQuadruple];
