Fix triggerable BUG() when decoding hsv3 descriptors.

Also improve the unittest to make sure it catches the right error.
This commit is contained in:
George Kadianakis
2017-08-17 23:13:15 +03:00
parent 45732a1a13
commit 1491c0d024
3 changed files with 10 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (hidden service):
- Fix a BUG alert during HSv3 descriptor decoding that could trigger with a
specially crafted descriptor. Fixes bug #23233; bugfix on 0.3.0.1-alpha.
Bug found by "haxxpop".