diff options
author | David Goulet <dgoulet@torproject.org> | 2017-05-30 10:27:42 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-05-30 10:27:42 -0400 |
commit | 5b33d95a3dfe943625d78983bb53be2901a51150 (patch) | |
tree | 9c28a3511f44a2f03eb9ec302ee5db3e527efcd1 /changes | |
parent | 83439e78cc08f5a05d314de4409e69aa6d1601d7 (diff) | |
download | tor-5b33d95a3dfe943625d78983bb53be2901a51150.tar.gz tor-5b33d95a3dfe943625d78983bb53be2901a51150.zip |
hs: Correctly validate v3 descriptor encrypted length
The encrypted_data_length_is_valid() function wasn't validating correctly the
length of the encrypted data of a v3 descriptor. The side effect of this is
that an HSDir was rejecting the descriptor and ultimately not storing it.
Fixes #22447
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug22447 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes/bug22447 b/changes/bug22447 new file mode 100644 index 0000000000..f5649d633c --- /dev/null +++ b/changes/bug22447 @@ -0,0 +1,3 @@ + o Major bugfixes (hidden service v3): + - HSDir failed to validate the encrypted size of a v3 descriptor and thus + rejecting it. Fixes bug 22447; bugfix on tor-0.3.0.1-alpha. |