]> git.ipfire.org Git - thirdparty/tor.git/commit
Avoid undefined behaviour when parsing HS protocol versions
authorRobert Ransom <rransom.8774@gmail.com>
Thu, 13 Sep 2012 11:39:39 +0000 (07:39 -0400)
committerRobert Ransom <rransom.8774@gmail.com>
Thu, 13 Sep 2012 11:48:21 +0000 (07:48 -0400)
commit0a6480cdd00fbed2eba0e5bab6ef82bc809c665b
tree9e4ba0a8f26be20baa70e393132358905f077b2d
parent45439bfced7f41c2e0beecb715880cb83d421618
Avoid undefined behaviour when parsing HS protocol versions

Fixes bug 6827; bugfix on c58675ca728f12b42f65e5b8964ae695c2e0ec2d
(when the v2 HS desc parser was implemented).

Found by asn.
changes/bug6827 [new file with mode: 0644]
src/or/or.h
src/or/routerparse.c