[or-cvs] Fix bug in state parsing
Nick Mathewson
nickm at seul.org
Thu Jul 28 19:08:53 UTC 2005
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv22656/src/or
Modified Files:
circuitbuild.c
Log Message:
Fix bug in state parsing
Index: circuitbuild.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -d -r1.129 -r1.130
--- circuitbuild.c 28 Jul 2005 19:01:48 -0000 1.129
+++ circuitbuild.c 28 Jul 2005 19:08:51 -0000 1.130
@@ -1853,7 +1853,7 @@
}
strlcpy(node->nickname, smartlist_get(args,0), MAX_NICKNAME_LEN+1);
if (base16_decode(node->identity, DIGEST_LEN, smartlist_get(args,1),
- strlen(smartlist_get(args,11)))<0) {
+ strlen(smartlist_get(args,1)))<0) {
*err = "Bad hex digest for HelperNode";
break;
}
More information about the tor-commits
mailing list