diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-07-22 21:41:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-07-22 21:41:50 +0000 |
commit | 7119345fbbbf9be40bad09d5107a78ed7ae04eac (patch) | |
tree | 9b47502969691d3de0ac5bc7c865093ac917eed1 | |
parent | 1391eafe67f49ff9a7e8d98dae34d90c5cb73b8e (diff) | |
download | tor-7119345fbbbf9be40bad09d5107a78ed7ae04eac.tar.gz tor-7119345fbbbf9be40bad09d5107a78ed7ae04eac.zip |
Fix base16_decode; trashing the stack is rude.
svn:r2110
-rw-r--r-- | src/common/crypto.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 7f0bd899e3..6a9dc348e5 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1479,7 +1479,6 @@ int base16_decode(char *dest, int destlen, const char *src, int srclen) ++dest; src+=2; } - *dest = '\0'; return 0; } |