mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Hopefully fix #429 for good by actually using, not just figuring out, the correct mmap
svn:r10233
This commit is contained in:
+1
-1
@@ -1567,7 +1567,7 @@ signed_descriptor_get_body(signed_descriptor_t *desc)
|
||||
mmap = routerlist->mmap_descriptors;
|
||||
if (mmap) {
|
||||
tor_assert(desc->saved_offset + len <= mmap->size);
|
||||
r = routerlist->mmap_descriptors->data + desc->saved_offset;
|
||||
r = mmap->data + desc->saved_offset;
|
||||
}
|
||||
}
|
||||
if (!r) /* no mmap, or not in cache. */
|
||||
|
||||
Reference in New Issue
Block a user