diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-06-18 13:47:14 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-06-18 13:47:14 +0000 |
commit | 3d58a7d4e185fdd98cad23b8896cddfab0de594c (patch) | |
tree | d7847028fb0282d187c596698c003cf1a1f124c5 | |
parent | f4536bcba23c34db1d990a27d73156b024b11f5d (diff) | |
download | fetchmail-3d58a7d4e185fdd98cad23b8896cddfab0de594c.tar.gz fetchmail-3d58a7d4e185fdd98cad23b8896cddfab0de594c.tar.bz2 fetchmail-3d58a7d4e185fdd98cad23b8896cddfab0de594c.zip |
The function from64tobits() in fetchmail-5.0.4 recognizes
end of string as '\r' or '='. gen_recv() zeros out the
trailing '\n' or '\r', and from64tobits() didn't parse
a challenge string correctly (for me.)
svn path=/trunk/; revision=2506
-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); } |