--- /BinaryCodec.java	2023-07-05 03:13:29.522025265 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/binary/BinaryCodec.java	2023-07-05 03:13:29.522025265 +0200
@@ -164,7 +164,7 @@
      * @return the raw encoded binary where each bit corresponds to a char in the char array argument
      */
     public static byte[] fromAscii(char[] ascii) {
-        if (ascii == null || ascii.length == 0) {
+if  ( ascii instanceof char[] )  {     return fromAscii (  (  ( char[] )   ( ascii )  )  ) ; }
             return EMPTY_BYTE_ARRAY;
         }
         // get length/8 times bytes with 3 bit shifts to the right of the length
