mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 22:53:44 +01:00
Merge branch 'maint-0.4.3' into maint-0.4.4
This commit is contained in:
commit
2e3603d96d
4
changes/ticket40126
Normal file
4
changes/ticket40126
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Testing (onion service v2):
|
||||||
|
- Fix another rendezvous cache unit test that was triggering an underflow on the
|
||||||
|
global rend cache allocation. Fixes bug 40126; bugfix on
|
||||||
|
0.2.8.1-alpha.
|
@ -950,6 +950,7 @@ test_rend_cache_free_all(void *data)
|
|||||||
one->parsed = desc_one;
|
one->parsed = desc_one;
|
||||||
desc_one->timestamp = time(NULL) + TIME_IN_THE_PAST;
|
desc_one->timestamp = time(NULL) + TIME_IN_THE_PAST;
|
||||||
desc_one->pk = pk_generate(0);
|
desc_one->pk = pk_generate(0);
|
||||||
|
rend_cache_increment_allocation(rend_cache_entry_allocation(one));
|
||||||
strmap_set_lc(rend_cache, "foo1", one);
|
strmap_set_lc(rend_cache, "foo1", one);
|
||||||
|
|
||||||
rend_cache_free_all();
|
rend_cache_free_all();
|
||||||
|
Loading…
Reference in New Issue
Block a user