[or-cvs] Fix base16_decode; trashing the stack is rude.

Nick Mathewson nickm at seul.org
Thu Jul 22 21:41:52 UTC 2004


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv3311/src/common

Modified Files:
	crypto.c 
Log Message:
Fix base16_decode; trashing the stack is rude.

Index: crypto.c
===================================================================
RCS file: /home/or/cvsroot/src/common/crypto.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- crypto.c	22 Jul 2004 08:29:07 -0000	1.99
+++ crypto.c	22 Jul 2004 21:41:50 -0000	1.100
@@ -1479,7 +1479,6 @@
     ++dest;
     src+=2;
   }
-  *dest = '\0';
   return 0;
 }
 



More information about the tor-commits mailing list