mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Merge branch 'maint-0.2.9' into maint-0.3.0
This commit is contained in:
commit
ae374e0a56
2 changed files with 5 additions and 1 deletions
4
changes/bug22034
Normal file
4
changes/bug22034
Normal file
|
@ -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.
|
|
@ -2058,7 +2058,7 @@ getinfo_helper_dir(control_connection_t *control_conn,
|
|||
char d[DIGEST_LEN];
|
||||
signed_descriptor_t *sd = NULL;
|
||||
if (base16_decode(d, sizeof(d), question, strlen(question))
|
||||
!= sizeof(d)) {
|
||||
== sizeof(d)) {
|
||||
/* XXXX this test should move into extrainfo_get_by_descriptor_digest,
|
||||
* but I don't want to risk affecting other parts of the code,
|
||||
* especially since the rules for using our own extrainfo (including
|
||||
|
|
Loading…
Add table
Reference in a new issue