Enforce multiplicity rules when parsing annotations.
commit2a50dd9359ec9bd113c64aa91cb5c2dd875de7dd
authorNick Mathewson <nickm@torproject.org>
Tue, 2 Nov 2010 15:49:58 +0000 (2 11:49 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 10 Nov 2010 21:02:02 +0000 (10 16:02 -0500)
treec62e04937fd5c71f54ecb5396192c72e729afc5e
parent089137f0112b0ad7c8ada8f2d5c7a967cfb87387
Enforce multiplicity rules when parsing annotations.

We would never actually enforce multiplicity rules when parsing
annotations, since the counts array never got entries added to it for
annotations in the token list that got added by earlier calls to
tokenize_string.

Found by piebeer.
changes/annotations_fix
src/or/routerparse.c