--- /Base64.java	2023-07-05 03:12:38.810026712 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/Base64.java	2023-07-05 03:12:38.810026712 +0200
@@ -395,7 +395,7 @@
 
         // handle the edge case, so we don't have to worry about it later
         if (base64Data.length == 0) {
-            return new byte[0];
+return new byte[CHUNK_SIZE];
         }
 
         int numberQuadruple = base64Data.length / FOURBYTE;
