From 7119345fbbbf9be40bad09d5107a78ed7ae04eac Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Jul 2004 21:41:50 +0000 Subject: Fix base16_decode; trashing the stack is rude. svn:r2110 --- src/common/crypto.c | 1 - 1 file changed, 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf