diff options
author | David Goulet <dgoulet@torproject.org> | 2017-04-21 11:49:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-24 09:20:13 -0400 |
commit | 4a9f6894300781b998b0753dd0f5a388bb61cc91 (patch) | |
tree | 192b0d8fa6baae2496a182ae80ea6d54b531bde3 /changes/bug22034 | |
parent | 7d7770f7359763871667e0150aebc50856f9d5fd (diff) | |
download | tor-4a9f6894300781b998b0753dd0f5a388bb61cc91.tar.gz tor-4a9f6894300781b998b0753dd0f5a388bb61cc91.zip |
control: Wrong check on base16_decode return value
The GETINFO extra-info/digest/<digest> broke in commit 568dc27a19 that
refactored the base16_decode() API to return the decoded length.
Unfortunately, that if() condition should have checked for the correct length
instead of an error which broke the command in tor-0.2.9.1-alpha.
Fixes #22034
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/bug22034')
-rw-r--r-- | changes/bug22034 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/bug22034 b/changes/bug22034 new file mode 100644 index 0000000000..6d9e188740 --- /dev/null +++ b/changes/bug22034 @@ -0,0 +1,4 @@ + o Minor bugfixes (control port, regression): + - The GETINFO extra-info/digest/<digest> command was broken because of a + wrong base16 decode return value check. In was introduced in a refactor + of that API. Fixex bug #22034; bugfix on tor-0.2.9.1-alpha. |