aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-04-14 09:34:46 -0400
committerDavid Goulet <dgoulet@torproject.org>2022-04-14 09:34:46 -0400
commit9ac479ce1c20fd2e58528900b54d5b81bedb641d (patch)
treee4a125fa8b5a8c660c9b83aba4e286e84d096e9d /src
parentb882b8d5d4b6c76e41fdf316b58fc26330ec7198 (diff)
parent86819229afde13ae8466ee782f4c4bd9ba6f37cd (diff)
downloadtor-9ac479ce1c20fd2e58528900b54d5b81bedb641d.tar.gz
tor-9ac479ce1c20fd2e58528900b54d5b81bedb641d.zip
Merge branch 'tor-gitlab/mr/497' into maint-0.4.5
Diffstat (limited to 'src')
-rw-r--r--src/feature/dircommon/consdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dircommon/consdiff.c b/src/feature/dircommon/consdiff.c
index 988d7f71ab..9511177e2b 100644
--- a/src/feature/dircommon/consdiff.c
+++ b/src/feature/dircommon/consdiff.c
@@ -1128,7 +1128,7 @@ consdiff_get_digests(const smartlist_t *diff,
{
const cdline_t *line2 = smartlist_get(diff, 1);
char *h = tor_memdup_nulterm(line2->s, line2->len);
- smartlist_split_string(hash_words, h, " ", 0, 0);
+ smartlist_split_string(hash_words, h, " ", 0, 4);
tor_free(h);
}