[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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;
 }