diff options
-rw-r--r-- | base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ int from64tobits(char *out, const char *in) } } } while - (*in != '\r' && digit4 != '='); + (*in && *in != '\r' && digit4 != '='); return (len); } |