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 /src/or/hibernate.h | |
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 'src/or/hibernate.h')
0 files changed, 0 insertions, 0 deletions